@skbkontur/react-ui 1.6.4 → 1.6.8-fixed-modal-stack
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/README.md +135 -135
- package/components/Autocomplete/Autocomplete.adapter.d.ts +2 -2
- package/components/Autocomplete/Autocomplete.adapter.js.flow +4 -4
- package/components/Autocomplete/Autocomplete.d.ts +108 -108
- package/components/Autocomplete/Autocomplete.js +23 -23
- package/components/Autocomplete/Autocomplete.js.flow +37 -37
- package/components/Autocomplete/README.md +7 -7
- package/components/Autocomplete/index.d.ts +1 -1
- package/components/Autocomplete/index.js.flow +2 -2
- package/components/Button/Button.adapter.d.ts +3 -3
- package/components/Button/Button.adapter.js.flow +4 -4
- package/components/Button/Button.d.ts +98 -98
- package/components/Button/Button.js +4 -4
- package/components/Button/Button.js.flow +58 -58
- package/components/Button/Button.mixins.d.ts +4 -4
- package/components/Button/Button.styles.d.ts +22 -22
- package/components/Button/Corners.d.ts +7 -7
- package/components/Button/Corners.js.flow +12 -12
- package/components/Button/README.md +85 -85
- package/components/Button/index.d.ts +1 -1
- package/components/Button/index.js.flow +2 -2
- package/components/Calendar/Animation.d.ts +6 -6
- package/components/Calendar/Animation.js.flow +7 -7
- package/components/Calendar/Calendar.d.ts +61 -61
- package/components/Calendar/Calendar.js +3 -3
- package/components/Calendar/Calendar.js.flow +33 -33
- package/components/Calendar/Calendar.styles.d.ts +5 -5
- package/components/Calendar/CalendarDateShape.d.ts +14 -14
- package/components/Calendar/CalendarDateShape.js.flow +26 -26
- package/components/Calendar/CalendarScrollEvents.d.ts +9 -9
- package/components/Calendar/CalendarScrollEvents.js.flow +15 -15
- package/components/Calendar/CalendarUtils.d.ts +18 -18
- package/components/Calendar/CalendarUtils.js.flow +35 -35
- package/components/Calendar/DayCellView.d.ts +19 -19
- package/components/Calendar/DayCellView.js.flow +16 -16
- package/components/Calendar/DayCellView.styles.d.ts +8 -8
- package/components/Calendar/DayCellViewModel.d.ts +8 -8
- package/components/Calendar/DayCellViewModel.js.flow +9 -9
- package/components/Calendar/Month.d.ts +31 -31
- package/components/Calendar/Month.js.flow +23 -23
- package/components/Calendar/MonthView.d.ts +25 -25
- package/components/Calendar/MonthView.js.flow +24 -24
- package/components/Calendar/MonthView.styles.d.ts +6 -6
- package/components/Calendar/MonthViewModel.d.ts +13 -13
- package/components/Calendar/MonthViewModel.js.flow +16 -16
- package/components/Calendar/config.d.ts +25 -25
- package/components/Calendar/config.js +11 -11
- package/components/Calendar/config.js.flow +11 -11
- package/components/Calendar/index.d.ts +1 -1
- package/components/Calendar/index.js.flow +2 -2
- package/components/Calendar/presets.d.ts +19 -19
- package/components/Calendar/presets.js.flow +21 -21
- package/components/Calendar/stepper.d.ts +1 -1
- package/components/Calendar/stepper.js.flow +2 -2
- package/components/Calendar/utils.d.ts +1 -1
- package/components/Calendar/utils.js.flow +2 -2
- package/components/Center/Center.d.ts +26 -26
- package/components/Center/Center.js +3 -3
- package/components/Center/Center.js.flow +15 -15
- package/components/Center/README.md +5 -5
- package/components/Center/index.d.ts +1 -1
- package/components/Center/index.js.flow +2 -2
- package/components/Checkbox/Checkbox.adapter.d.ts +2 -2
- package/components/Checkbox/Checkbox.adapter.js.flow +4 -4
- package/components/Checkbox/Checkbox.d.ts +76 -76
- package/components/Checkbox/Checkbox.js +12 -12
- package/components/Checkbox/Checkbox.js.flow +27 -27
- package/components/Checkbox/Checkbox.styles.d.ts +21 -21
- package/components/Checkbox/README.md +61 -61
- package/components/Checkbox/index.d.ts +1 -1
- package/components/Checkbox/index.js.flow +2 -2
- package/components/ComboBox/ComboBox.d.ts +177 -177
- package/components/ComboBox/ComboBox.js +20 -20
- package/components/ComboBox/ComboBox.js.flow +58 -58
- package/components/ComboBox/README.md +423 -423
- package/components/ComboBox/__mocks__/getCities.js.map +1 -1
- package/components/ComboBox/__mocks__/kladr.json +20002 -20002
- package/components/ComboBox/index.d.ts +1 -1
- package/components/ComboBox/index.js.flow +2 -2
- package/components/ComboBoxOld/ComboBoxOld.adapter.js +1 -1
- package/components/ComboBoxOld/ComboBoxOld.adapter.js.map +1 -1
- package/components/ComboBoxOld/ComboBoxOld.d.ts +120 -120
- package/components/ComboBoxOld/ComboBoxOld.js +47 -47
- package/components/ComboBoxOld/ComboBoxOld.js.map +1 -1
- package/components/ComboBoxOld/ComboBoxRenderer.js +1 -1
- package/components/ComboBoxOld/ComboBoxRenderer.js.map +1 -1
- package/components/ComboBoxOld/README.md +83 -83
- package/components/ComboBoxOld/index.d.ts +1 -1
- package/components/ComboBoxOld/index.js.map +1 -1
- package/components/CurrencyInput/CurrencyHelper.d.ts +38 -38
- package/components/CurrencyInput/CurrencyHelper.js.flow +44 -44
- package/components/CurrencyInput/CurrencyInput.d.ts +98 -98
- package/components/CurrencyInput/CurrencyInput.js +11 -11
- package/components/CurrencyInput/CurrencyInput.js.flow +30 -30
- package/components/CurrencyInput/CurrencyInputHelper.d.ts +20 -20
- package/components/CurrencyInput/CurrencyInputHelper.js.flow +38 -38
- package/components/CurrencyInput/CurrencyInputKeyboardActions.d.ts +18 -18
- package/components/CurrencyInput/CurrencyInputKeyboardActions.js.flow +19 -19
- package/components/CurrencyInput/CursorHelper.d.ts +10 -10
- package/components/CurrencyInput/CursorHelper.js.flow +15 -15
- package/components/CurrencyInput/README.md +19 -19
- package/components/CurrencyInput/SelectionHelper.d.ts +11 -11
- package/components/CurrencyInput/SelectionHelper.js.flow +16 -16
- package/components/CurrencyInput/constants.d.ts +2 -2
- package/components/CurrencyInput/index.d.ts +1 -1
- package/components/CurrencyInput/index.js.flow +2 -2
- package/components/CurrencyLabel/CurrencyLabel.d.ts +23 -23
- package/components/CurrencyLabel/CurrencyLabel.js.flow +10 -10
- package/components/CurrencyLabel/README.md +23 -23
- package/components/CurrencyLabel/index.d.ts +1 -1
- package/components/CurrencyLabel/index.js.flow +2 -2
- package/components/CustomComboBox/ComboBoxMenu.d.ts +31 -31
- package/components/CustomComboBox/ComboBoxMenu.js.flow +22 -22
- package/components/CustomComboBox/ComboBoxView.d.ts +76 -76
- package/components/CustomComboBox/ComboBoxView.js.flow +52 -52
- package/components/CustomComboBox/CustomComboBox.d.ts +129 -129
- package/components/CustomComboBox/CustomComboBox.js +16 -16
- package/components/CustomComboBox/CustomComboBox.js.flow +130 -130
- package/components/CustomComboBox/CustomComboBoxReducer.d.ts +73 -73
- package/components/CustomComboBox/CustomComboBoxTypes.d.ts +6 -6
- package/components/CustomComboBox/index.d.ts +1 -1
- package/components/CustomComboBox/index.js.flow +2 -2
- package/components/CustomComboBox/locale/index.d.ts +4 -4
- package/components/CustomComboBox/locale/locales/en.d.ts +3 -3
- package/components/CustomComboBox/locale/locales/ru.d.ts +3 -3
- package/components/CustomComboBox/locale/types.d.ts +5 -5
- package/components/DateInput/DateFragmentsView.d.ts +17 -17
- package/components/DateInput/DateFragmentsView.styles.d.ts +7 -7
- package/components/DateInput/DateInput.d.ts +107 -107
- package/components/DateInput/DateInput.js.flow +60 -60
- package/components/DateInput/DateInput.styles.d.ts +9 -9
- package/components/DateInput/README.md +104 -104
- package/components/DateInput/ViewDateInputValidateChecks.d.ts +10 -10
- package/components/DateInput/helpers/DateInputKeyboardActions.d.ts +21 -21
- package/components/DateInput/helpers/DateInputKeyboardActions.js.flow +17 -17
- package/components/DateInput/helpers/SelectionHelpers.d.ts +2 -2
- package/components/DateInput/helpers/SelectionHelpers.js.flow +3 -3
- package/components/DateInput/helpers/inputNumber.d.ts +2 -2
- package/components/DateInput/helpers/inputNumber.js.flow +4 -4
- package/components/DateInput/index.d.ts +1 -1
- package/components/DateInput/index.js.flow +2 -2
- package/components/DatePicker/DatePicker.d.ts +116 -116
- package/components/DatePicker/DatePicker.js +15 -15
- package/components/DatePicker/DatePicker.js.flow +45 -45
- package/components/DatePicker/DatePickerHelpers.d.ts +2 -2
- package/components/DatePicker/DatePickerHelpers.js.flow +7 -7
- package/components/DatePicker/DateShape.js.flow +11 -11
- package/components/DatePicker/Picker.d.ts +32 -32
- package/components/DatePicker/Picker.js.flow +23 -23
- package/components/DatePicker/Picker.styles.d.ts +6 -6
- package/components/DatePicker/README.md +307 -307
- package/components/DatePicker/index.d.ts +1 -1
- package/components/DatePicker/index.js.flow +2 -2
- package/components/DatePicker/locale/index.d.ts +5 -5
- package/components/DatePicker/locale/locales/en.d.ts +3 -3
- package/components/DatePicker/locale/locales/ru.d.ts +3 -3
- package/components/DatePicker/locale/types.d.ts +5 -5
- package/components/DatePickerOld/Calendar.js +1 -1
- package/components/DatePickerOld/Calendar.js.map +1 -1
- package/components/DatePickerOld/Calendar.module.css +0 -0
- package/components/DatePickerOld/CalendarCell.js +0 -0
- package/components/DatePickerOld/CalendarCell.js.map +1 -1
- package/components/DatePickerOld/DateInput.js +3 -3
- package/components/DatePickerOld/DateInput.js.map +1 -1
- package/components/DatePickerOld/DatePicker.adapter.js +0 -0
- package/components/DatePickerOld/DatePicker.adapter.js.map +1 -1
- package/components/DatePickerOld/DatePickerOld.d.ts +35 -35
- package/components/DatePickerOld/DatePickerOld.js +17 -17
- package/components/DatePickerOld/DatePickerOld.js.map +1 -1
- package/components/DatePickerOld/Picker.js +1 -1
- package/components/DatePickerOld/Picker.js.map +1 -1
- package/components/DatePickerOld/Picker.module.css +0 -0
- package/components/DatePickerOld/README.md +7 -7
- package/components/DatePickerOld/dateParser.js +0 -0
- package/components/DatePickerOld/dateParser.js.map +1 -1
- package/components/DatePickerOld/index.d.ts +1 -1
- package/components/DatePickerOld/index.js +0 -0
- package/components/DatePickerOld/index.js.map +1 -1
- package/components/DateSelect/DateSelect.d.ts +89 -89
- package/components/DateSelect/DateSelect.js +4 -4
- package/components/DateSelect/DateSelect.js.flow +30 -30
- package/components/DateSelect/DateSelect.styles.d.ts +13 -13
- package/components/DateSelect/index.d.ts +1 -1
- package/components/DateSelect/index.js.flow +2 -2
- package/components/Dropdown/Dropdown.d.ts +119 -119
- package/components/Dropdown/Dropdown.js +24 -24
- package/components/Dropdown/Dropdown.js.flow +41 -41
- package/components/Dropdown/README.md +14 -14
- package/components/Dropdown/index.d.ts +1 -1
- package/components/Dropdown/index.js.flow +2 -2
- package/components/DropdownContainer/DropdownContainer.d.ts +45 -45
- package/components/DropdownContainer/DropdownContainer.js.flow +29 -29
- package/components/DropdownMenu/DropdownMenu.d.ts +45 -45
- package/components/DropdownMenu/DropdownMenu.js +2 -2
- package/components/DropdownMenu/DropdownMenu.js.flow +20 -20
- package/components/DropdownMenu/README.md +66 -66
- package/components/DropdownMenu/index.d.ts +1 -1
- package/components/DropdownMenu/index.js.flow +2 -2
- package/components/Fias/Fias.d.ts +133 -133
- package/components/Fias/Fias.js.flow +37 -37
- package/components/Fias/Fias.styles.d.ts +6 -6
- package/components/Fias/FiasModal.d.ts +14 -14
- package/components/Fias/FiasModal.js.flow +12 -12
- package/components/Fias/FiasSearch/FiasSearch.d.ts +53 -53
- package/components/Fias/FiasSearch/FiasSearch.js.flow +32 -32
- package/components/Fias/FiasSearch/README.md +78 -78
- package/components/Fias/Form/FiasComboBox.d.ts +39 -39
- package/components/Fias/Form/FiasComboBox.js.flow +25 -25
- package/components/Fias/Form/FiasCountrySelector.d.ts +20 -20
- package/components/Fias/Form/FiasForm.d.ts +94 -94
- package/components/Fias/Form/FiasForm.js.flow +21 -21
- package/components/Fias/README.md +436 -436
- package/components/Fias/api/APIResultFactory.d.ts +5 -5
- package/components/Fias/api/APIResultFactory.js.flow +7 -7
- package/components/Fias/api/FiasAPI.d.ts +27 -27
- package/components/Fias/api/FiasAPI.js.flow +13 -13
- package/components/Fias/api/MockAPI.d.ts +9 -9
- package/components/Fias/api/MockAPI.js.flow +13 -13
- package/components/Fias/api/data.json +285 -285
- package/components/Fias/constants/abbreviations.d.ts +4 -4
- package/components/Fias/constants/abbreviations.js.flow +7 -7
- package/components/Fias/index.d.ts +4 -4
- package/components/Fias/index.js.flow +5 -5
- package/components/Fias/locale/index.d.ts +4 -4
- package/components/Fias/locale/locales/ru.d.ts +3 -3
- package/components/Fias/locale/types.d.ts +56 -56
- package/components/Fias/locale/types.js.flow +71 -71
- package/components/Fias/logger/Logger.d.ts +9 -9
- package/components/Fias/logger/Logger.js.flow +13 -13
- package/components/Fias/models/Address.d.ts +97 -97
- package/components/Fias/models/Address.js.flow +57 -57
- package/components/Fias/models/AddressElement.d.ts +18 -18
- package/components/Fias/models/AddressElement.js.flow +15 -15
- package/components/Fias/models/FiasData.d.ts +20 -20
- package/components/Fias/models/FiasData.js.flow +10 -10
- package/components/Fias/types.d.ts +142 -142
- package/components/Fias/types.js.flow +133 -133
- package/components/FxInput/FxInput.adapter.d.ts +2 -2
- package/components/FxInput/FxInput.adapter.js.flow +4 -4
- package/components/FxInput/FxInput.d.ts +44 -44
- package/components/FxInput/FxInput.js +4 -4
- package/components/FxInput/FxInput.js.flow +24 -24
- package/components/FxInput/README.md +13 -13
- package/components/FxInput/index.d.ts +1 -1
- package/components/FxInput/index.js.flow +2 -2
- package/components/Gapped/Gapped.d.ts +35 -35
- package/components/Gapped/Gapped.js +8 -8
- package/components/Gapped/Gapped.js.flow +13 -13
- package/components/Gapped/README.md +6 -6
- package/components/Gapped/index.d.ts +1 -1
- package/components/Gapped/index.js.flow +2 -2
- package/components/Group/Group.d.ts +23 -23
- package/components/Group/Group.js +3 -3
- package/components/Group/Group.js.flow +14 -14
- package/components/Group/README.md +27 -27
- package/components/Group/index.d.ts +1 -1
- package/components/Group/index.js.flow +2 -2
- package/components/HideBodyVerticalScroll/HideBodyVerticalScroll.d.ts +15 -15
- package/components/HideBodyVerticalScroll/HideBodyVerticalScroll.js.flow +7 -7
- package/components/HideBodyVerticalScroll/index.d.ts +1 -1
- package/components/HideBodyVerticalScroll/index.js.flow +2 -2
- package/components/Hint/Hint.d.ts +38 -38
- package/components/Hint/Hint.js.flow +37 -37
- package/components/Hint/README.md +3 -3
- package/components/Hint/index.d.ts +1 -1
- package/components/Hint/index.js.flow +2 -2
- package/components/Icon/20px/Icon.d.ts +32 -32
- package/components/Icon/20px/Icon.js +2 -2
- package/components/Icon/20px/Icon.js.flow +27 -27
- package/components/Icon/20px/index.d.ts +1 -1
- package/components/Icon/20px/index.js.flow +2 -2
- package/components/Icon/README.md +64 -64
- package/components/IgnoreLayerClick/IgnoreLayerClick.d.ts +8 -8
- package/components/IgnoreLayerClick/IgnoreLayerClick.js.flow +12 -12
- package/components/IgnoreLayerClick/index.d.ts +1 -1
- package/components/IgnoreLayerClick/index.js.flow +2 -2
- package/components/Input/Input.adapter.d.ts +7 -7
- package/components/Input/Input.adapter.js.flow +9 -9
- package/components/Input/Input.d.ts +146 -146
- package/components/Input/Input.js +13 -13
- package/components/Input/Input.js.flow +55 -55
- package/components/Input/Input.styles.d.ts +18 -18
- package/components/Input/README.md +13 -13
- package/components/Input/index.d.ts +1 -1
- package/components/Input/index.js.flow +2 -2
- package/components/Kebab/Kebab.d.ts +60 -60
- package/components/Kebab/Kebab.js +6 -6
- package/components/Kebab/Kebab.js.flow +23 -23
- package/components/Kebab/Kebab.styles.d.ts +6 -6
- package/components/Kebab/README.md +44 -44
- package/components/Kebab/index.d.ts +1 -1
- package/components/Kebab/index.js.flow +2 -2
- package/components/Kladr/AddressModal.d.ts +39 -39
- package/components/Kladr/AddressModal.js +1 -1
- package/components/Kladr/AddressModal.js.flow +20 -20
- package/components/Kladr/AddressModal.js.map +1 -1
- package/components/Kladr/Kladr.d.ts +39 -39
- package/components/Kladr/Kladr.js +4 -4
- package/components/Kladr/Kladr.js.flow +27 -27
- package/components/Kladr/Kladr.js.map +1 -1
- package/components/Kladr/KladrAPI.d.ts +8 -8
- package/components/Kladr/KladrAPI.js.flow +8 -8
- package/components/Kladr/KladrAPI.js.map +1 -1
- package/components/Kladr/README.md +3 -3
- package/components/Kladr/Types.d.ts +40 -40
- package/components/Kladr/Types.js.flow +39 -39
- package/components/Kladr/index.d.ts +1 -1
- package/components/Kladr/index.js.flow +2 -2
- package/components/Kladr/index.js.map +1 -1
- package/components/Kladr/util.js.map +1 -1
- package/components/Kladr/utils.d.ts +4 -4
- package/components/Kladr/utils.js.flow +4 -4
- package/components/Link/Link.adapter.d.ts +2 -2
- package/components/Link/Link.adapter.js.flow +4 -4
- package/components/Link/Link.d.ts +51 -51
- package/components/Link/Link.js +5 -5
- package/components/Link/Link.js.flow +25 -25
- package/components/Link/Link.styles.d.ts +8 -8
- package/components/Link/README.md +11 -11
- package/components/Link/index.d.ts +1 -1
- package/components/Link/index.js.flow +2 -2
- package/components/Loader/Loader.d.ts +65 -65
- package/components/Loader/Loader.js +22 -23
- package/components/Loader/Loader.js.flow +20 -20
- package/components/Loader/Loader.js.map +1 -1
- package/components/Loader/Loader.module.css +1 -6
- package/components/Loader/Loader.styles.d.ts +5 -5
- package/components/Loader/Loader.styles.js +1 -2
- package/components/Loader/Loader.styles.js.map +1 -1
- package/components/Loader/README.md +25 -25
- package/components/Loader/index.d.ts +1 -1
- package/components/Loader/index.js.flow +2 -2
- package/components/LocaleProvider/LocaleHelper.d.ts +9 -9
- package/components/LocaleProvider/LocaleProvider.d.ts +16 -16
- package/components/LocaleProvider/constants.d.ts +2 -2
- package/components/LocaleProvider/decorators.d.ts +24 -24
- package/components/LocaleProvider/index.d.ts +3 -3
- package/components/LocaleProvider/types.d.ts +24 -24
- package/components/Logotype/Logotype.d.ts +76 -76
- package/components/Logotype/Logotype.js.flow +21 -21
- package/components/Logotype/Logotype.styles.d.ts +6 -6
- package/components/Logotype/ProductWidget.d.ts +4 -4
- package/components/Logotype/ProductWidget.js.flow +7 -7
- package/components/Logotype/README.md +32 -32
- package/components/Logotype/index.d.ts +1 -1
- package/components/Logotype/index.js.flow +2 -2
- package/components/Logotype/locale/index.d.ts +4 -4
- package/components/Logotype/locale/locales/en.d.ts +3 -3
- package/components/Logotype/locale/locales/ru.d.ts +3 -3
- package/components/Logotype/locale/types.d.ts +4 -4
- package/components/Menu/Menu.d.ts +62 -62
- package/components/Menu/Menu.js +10 -10
- package/components/Menu/Menu.js.flow +24 -24
- package/components/Menu/Menu.styles.d.ts +6 -6
- package/components/Menu/isActiveElement.d.ts +3 -3
- package/components/Menu/isActiveElement.js.flow +7 -7
- package/components/MenuHeader/MenuHeader.d.ts +20 -20
- package/components/MenuHeader/MenuHeader.js +2 -2
- package/components/MenuHeader/MenuHeader.js.flow +11 -11
- package/components/MenuHeader/MenuHeader.styles.d.ts +5 -5
- package/components/MenuHeader/index.d.ts +1 -1
- package/components/MenuHeader/index.js.flow +2 -2
- package/components/MenuItem/MenuItem.d.ts +51 -51
- package/components/MenuItem/MenuItem.js +2 -2
- package/components/MenuItem/MenuItem.js.flow +33 -33
- package/components/MenuItem/MenuItem.styles.d.ts +10 -10
- package/components/MenuItem/README.md +5 -5
- package/components/MenuItem/index.d.ts +1 -1
- package/components/MenuItem/index.js.flow +2 -2
- package/components/MenuSeparator/MenuSeparator.d.ts +9 -9
- package/components/MenuSeparator/MenuSeparator.js +2 -2
- package/components/MenuSeparator/MenuSeparator.js.flow +7 -7
- package/components/MenuSeparator/MenuSeparator.styles.d.ts +5 -5
- package/components/MenuSeparator/index.d.ts +1 -1
- package/components/MenuSeparator/index.js.flow +2 -2
- package/components/Modal/Modal.adapter.d.ts +2 -2
- package/components/Modal/Modal.adapter.js.flow +4 -4
- package/components/Modal/Modal.d.ts +71 -71
- package/components/Modal/Modal.js +13 -13
- package/components/Modal/Modal.js.flow +30 -30
- package/components/Modal/Modal.js.map +1 -1
- package/components/Modal/Modal.module.css +2 -0
- package/components/Modal/Modal.styles.d.ts +11 -11
- package/components/Modal/ModalBody.d.ts +4 -4
- package/components/Modal/ModalBody.js.flow +7 -7
- package/components/Modal/ModalClose.d.ts +7 -7
- package/components/Modal/ModalClose.js.flow +6 -6
- package/components/Modal/ModalContext.d.ts +11 -11
- package/components/Modal/ModalContext.js.flow +15 -15
- package/components/Modal/ModalFooter.d.ts +23 -23
- package/components/Modal/ModalFooter.js +2 -2
- package/components/Modal/ModalFooter.js.flow +11 -11
- package/components/Modal/ModalHeader.d.ts +16 -16
- package/components/Modal/ModalHeader.js.flow +11 -11
- package/components/Modal/README.md +38 -38
- package/components/Modal/index.d.ts +1 -1
- package/components/Modal/index.js.flow +2 -2
- package/components/ModalStack/ModalStack.d.ts +9 -7
- package/components/ModalStack/ModalStack.js +13 -2
- package/components/ModalStack/ModalStack.js.flow +10 -10
- package/components/ModalStack/ModalStack.js.map +1 -1
- package/components/ModalStack/index.d.ts +1 -1
- package/components/ModalStack/index.js.flow +2 -2
- package/components/Paging/NavigationHelper.d.ts +10 -10
- package/components/Paging/NavigationHelper.js.flow +13 -13
- package/components/Paging/Paging.d.ts +93 -93
- package/components/Paging/Paging.js +10 -10
- package/components/Paging/Paging.js.flow +38 -38
- package/components/Paging/Paging.styles.d.ts +11 -11
- package/components/Paging/PagingHelper.d.ts +6 -6
- package/components/Paging/PagingHelper.js.flow +10 -10
- package/components/Paging/README.md +43 -43
- package/components/Paging/index.d.ts +1 -1
- package/components/Paging/index.js.flow +2 -2
- package/components/Paging/locale/index.d.ts +4 -4
- package/components/Paging/locale/locales/en.d.ts +3 -3
- package/components/Paging/locale/locales/ru.d.ts +3 -3
- package/components/Paging/locale/types.d.ts +3 -3
- package/components/PasswordInput/PasswordInput.d.ts +44 -44
- package/components/PasswordInput/PasswordInput.js +8 -8
- package/components/PasswordInput/PasswordInput.js.flow +26 -26
- package/components/PasswordInput/PasswordInputFallback.d.ts +18 -18
- package/components/PasswordInput/PasswordInputFallback.js.flow +13 -13
- package/components/PasswordInput/getCharHelper.js.flow +4 -4
- package/components/PasswordInput/index.d.ts +1 -1
- package/components/PasswordInput/index.js.flow +2 -2
- package/components/PerformanceMetrics/PerformanceMetrics.d.ts +7 -7
- package/components/PhoneInput/PhoneInput.js +4 -4
- package/components/PhoneInput/PhoneInput.js.map +1 -1
- package/components/PhoneInput/index.js.map +1 -1
- package/components/Popup/Popup.d.ts +144 -144
- package/components/Popup/Popup.js +38 -37
- package/components/Popup/Popup.js.flow +60 -60
- package/components/Popup/Popup.js.map +1 -1
- package/components/Popup/Popup.styles.d.ts +8 -8
- package/components/Popup/PopupHelper.d.ts +26 -26
- package/components/Popup/PopupHelper.js.flow +29 -29
- package/components/Popup/PopupPin.d.ts +55 -55
- package/components/Popup/PopupPin.js +16 -16
- package/components/Popup/PopupPin.js.flow +15 -15
- package/components/Popup/index.d.ts +1 -1
- package/components/Popup/index.js.flow +2 -2
- package/components/Radio/README.md +14 -14
- package/components/Radio/Radio.d.ts +89 -89
- package/components/Radio/Radio.js +22 -22
- package/components/Radio/Radio.js.flow +33 -33
- package/components/Radio/Radio.styles.d.ts +11 -11
- package/components/Radio/index.d.ts +1 -1
- package/components/Radio/index.js.flow +2 -2
- package/components/RadioGroup/Prevent.d.ts +9 -9
- package/components/RadioGroup/Prevent.js.flow +9 -9
- package/components/RadioGroup/README.md +44 -44
- package/components/RadioGroup/RadioGroup.adapter.d.ts +2 -2
- package/components/RadioGroup/RadioGroup.adapter.js.flow +4 -4
- package/components/RadioGroup/RadioGroup.d.ts +139 -139
- package/components/RadioGroup/RadioGroup.js +46 -46
- package/components/RadioGroup/RadioGroup.js.flow +42 -42
- package/components/RadioGroup/index.d.ts +1 -1
- package/components/RadioGroup/index.js.flow +2 -2
- package/components/RenderContainer/RenderContainer.d.ts +16 -16
- package/components/RenderContainer/RenderContainer.js.flow +11 -11
- package/components/RenderContainer/RenderContainerFallback.d.ts +25 -25
- package/components/RenderContainer/RenderContainerNative.d.ts +12 -12
- package/components/RenderContainer/RenderContainerTypes.d.ts +8 -8
- package/components/RenderContainer/index.d.ts +1 -1
- package/components/RenderContainer/index.js.flow +2 -2
- package/components/RenderLayer/RenderLayer.d.ts +26 -26
- package/components/RenderLayer/RenderLayer.js.flow +12 -12
- package/components/RenderLayer/index.d.ts +1 -1
- package/components/RenderLayer/index.js.flow +2 -2
- package/components/ScrollContainer/README.md +60 -60
- package/components/ScrollContainer/ScrollContainer.d.ts +65 -65
- package/components/ScrollContainer/ScrollContainer.js +6 -6
- package/components/ScrollContainer/ScrollContainer.js.flow +24 -24
- package/components/ScrollContainer/index.d.ts +1 -1
- package/components/ScrollContainer/index.js.flow +2 -2
- package/components/Select/Item.d.ts +7 -7
- package/components/Select/Item.js.flow +7 -7
- package/components/Select/README.md +23 -23
- package/components/Select/Select.adapter.d.ts +2 -2
- package/components/Select/Select.adapter.js.flow +4 -4
- package/components/Select/Select.d.ts +178 -178
- package/components/Select/Select.js +42 -42
- package/components/Select/Select.js.flow +81 -81
- package/components/Select/Select.styles.d.ts +6 -6
- package/components/Select/index.d.ts +1 -1
- package/components/Select/index.js.flow +2 -2
- package/components/Select/locale/index.d.ts +4 -4
- package/components/Select/locale/locales/en.d.ts +3 -3
- package/components/Select/locale/locales/ru.d.ts +3 -3
- package/components/Select/locale/types.d.ts +4 -4
- package/components/SidePage/README.md +46 -46
- package/components/SidePage/SidePage.d.ts +85 -85
- package/components/SidePage/SidePage.js +11 -11
- package/components/SidePage/SidePage.js.flow +34 -34
- package/components/SidePage/SidePage.js.map +1 -1
- package/components/SidePage/SidePage.styles.d.ts +9 -9
- package/components/SidePage/SidePageBody.d.ts +12 -12
- package/components/SidePage/SidePageBody.js.flow +13 -13
- package/components/SidePage/SidePageContainer.d.ts +4 -4
- package/components/SidePage/SidePageContainer.js.flow +9 -9
- package/components/SidePage/SidePageContext.d.ts +8 -8
- package/components/SidePage/SidePageContext.js.flow +15 -15
- package/components/SidePage/SidePageFooter.d.ts +33 -33
- package/components/SidePage/SidePageFooter.js +2 -2
- package/components/SidePage/SidePageFooter.js.flow +16 -16
- package/components/SidePage/SidePageHeader.d.ts +26 -25
- package/components/SidePage/SidePageHeader.js +10 -9
- package/components/SidePage/SidePageHeader.js.flow +11 -11
- package/components/SidePage/SidePageHeader.js.map +1 -1
- package/components/SidePage/index.d.ts +1 -1
- package/components/SidePage/index.js.flow +2 -2
- package/components/Spinner/README.md +33 -33
- package/components/Spinner/Spinner.d.ts +47 -47
- package/components/Spinner/Spinner.js +12 -12
- package/components/Spinner/Spinner.js.flow +20 -20
- package/components/Spinner/Spinner.styles.d.ts +11 -11
- package/components/Spinner/SpinnerFallback.d.ts +24 -24
- package/components/Spinner/SpinnerFallback.js.flow +15 -15
- package/components/Spinner/index.d.ts +1 -1
- package/components/Spinner/index.js.flow +2 -2
- package/components/Spinner/locale/index.d.ts +4 -4
- package/components/Spinner/locale/locales/en.d.ts +3 -3
- package/components/Spinner/locale/locales/ru.d.ts +3 -3
- package/components/Spinner/locale/types.d.ts +4 -4
- package/components/Spinner/settings.d.ts +38 -38
- package/components/Spinner/settings.js.flow +48 -48
- package/components/Sticky/README.md +27 -27
- package/components/Sticky/Sticky.d.ts +57 -57
- package/components/Sticky/Sticky.js +8 -7
- package/components/Sticky/Sticky.js.flow +22 -22
- package/components/Sticky/Sticky.js.map +1 -1
- package/components/Sticky/Sticky.module.css +0 -1
- package/components/Sticky/index.d.ts +1 -1
- package/components/Sticky/index.js.flow +2 -2
- package/components/Switcher/README.md +10 -10
- package/components/Switcher/Switcher.d.ts +54 -54
- package/components/Switcher/Switcher.js.flow +26 -26
- package/components/Switcher/Switcher.styles.d.ts +5 -5
- package/components/Switcher/index.d.ts +1 -1
- package/components/Switcher/index.js.flow +2 -2
- package/components/Tabs/Indicator.d.ts +29 -29
- package/components/Tabs/Indicator.js.flow +21 -21
- package/components/Tabs/Indicator.styles.d.ts +9 -9
- package/components/Tabs/README.md +28 -28
- package/components/Tabs/Tab.d.ts +134 -134
- package/components/Tabs/Tab.js +14 -14
- package/components/Tabs/Tab.js.flow +48 -48
- package/components/Tabs/Tab.styles.d.ts +12 -12
- package/components/Tabs/Tabs.d.ts +65 -65
- package/components/Tabs/Tabs.js +4 -4
- package/components/Tabs/Tabs.js.flow +28 -28
- package/components/Tabs/TabsContext.d.ts +12 -12
- package/components/Tabs/index.d.ts +1 -1
- package/components/Tabs/index.js.flow +2 -2
- package/components/Textarea/README.md +9 -9
- package/components/Textarea/Textarea.adapter.d.ts +7 -7
- package/components/Textarea/Textarea.adapter.js.flow +11 -11
- package/components/Textarea/Textarea.d.ts +139 -139
- package/components/Textarea/Textarea.js +14 -14
- package/components/Textarea/Textarea.js.flow +33 -33
- package/components/Textarea/Textarea.styles.d.ts +8 -8
- package/components/Textarea/TextareaHelpers.d.ts +4 -4
- package/components/Textarea/TextareaHelpers.js.flow +6 -6
- package/components/Textarea/index.d.ts +1 -1
- package/components/Textarea/index.js.flow +2 -2
- package/components/ThemeConsumer/ThemeConsumer.d.ts +1 -1
- package/components/ThemeConsumer/index.d.ts +1 -1
- package/components/ThemeProvider/Playground/AnotherInputsPlayground.d.ts +13 -13
- package/components/ThemeProvider/Playground/CheckboxPlayground.d.ts +4 -4
- package/components/ThemeProvider/Playground/ComponentsGroup.d.ts +10 -10
- package/components/ThemeProvider/Playground/CurrencyInputPlayground.d.ts +11 -11
- package/components/ThemeProvider/Playground/FxInputPlayground.d.ts +10 -10
- package/components/ThemeProvider/Playground/HintPlayground.d.ts +6 -6
- package/components/ThemeProvider/Playground/PagingPlayground.d.ts +10 -10
- package/components/ThemeProvider/Playground/Playground.d.ts +33 -33
- package/components/ThemeProvider/Playground/README.md +7 -7
- package/components/ThemeProvider/Playground/RadioPlayground.d.ts +4 -4
- package/components/ThemeProvider/Playground/SelectPlayground.d.ts +12 -12
- package/components/ThemeProvider/Playground/ShowcaseGroup.d.ts +6 -6
- package/components/ThemeProvider/Playground/SwitcherPlayground.d.ts +15 -15
- package/components/ThemeProvider/Playground/ThemeEditor.d.ts +30 -30
- package/components/ThemeProvider/Playground/ThemeProviderPlayground.d.ts +50 -50
- package/components/ThemeProvider/Playground/TogglePlayground.d.ts +9 -9
- package/components/ThemeProvider/Playground/TokenInputPlayground.d.ts +7 -7
- package/components/ThemeProvider/Playground/VariableValue.d.ts +42 -42
- package/components/ThemeProvider/Playground/constants.d.ts +14 -14
- package/components/ThemeProvider/Playground/darkTheme.d.ts +252 -252
- package/components/ThemeProvider/Playground/helpers.d.ts +2 -2
- package/components/ThemeProvider/Playground/jsStyles.d.ts +8 -8
- package/components/ThemeProvider/README.md +172 -172
- package/components/ThemeProvider/ThemeProvider.d.ts +14 -14
- package/components/ThemeProvider/index.d.ts +1 -1
- package/components/ThemeShowcase/README.md +13 -13
- package/components/ThemeShowcase/ThemeShowcase.d.ts +22 -22
- package/components/ThemeShowcase/ThemeShowcaseHelpers/FormatSourceCode.d.ts +2 -2
- package/components/ThemeShowcase/ThemeShowcaseHelpers/FormatSourceCode.js +0 -1
- package/components/ThemeShowcase/ThemeShowcaseHelpers/FormatSourceCode.js.map +1 -1
- package/components/ThemeShowcase/ThemeShowcaseHelpers/VariablesCollector.d.ts +24 -24
- package/components/ThemeShowcase/ThemeShowcaseHelpers/VariablesCollector.js +37 -35
- package/components/ThemeShowcase/ThemeShowcaseHelpers/VariablesCollector.js.map +1 -1
- package/components/Toast/README.md +39 -39
- package/components/Toast/Toast.d.ts +53 -53
- package/components/Toast/Toast.js +17 -17
- package/components/Toast/Toast.js.flow +29 -29
- package/components/Toast/ToastStatic.d.ts +9 -9
- package/components/Toast/ToastStatic.js.flow +10 -10
- package/components/Toast/ToastView.d.ts +33 -33
- package/components/Toast/ToastView.js +4 -4
- package/components/Toast/ToastView.js.flow +16 -16
- package/components/Toast/ToastView.styles.d.ts +7 -7
- package/components/Toast/index.d.ts +1 -1
- package/components/Toast/index.js.flow +2 -2
- package/components/Toggle/README.md +9 -9
- package/components/Toggle/Toggle.d.ts +50 -50
- package/components/Toggle/Toggle.js +2 -2
- package/components/Toggle/Toggle.js.flow +28 -28
- package/components/Toggle/Toggle.styles.d.ts +12 -12
- package/components/Toggle/index.d.ts +1 -1
- package/components/Toggle/index.js.flow +2 -2
- package/components/Token/README.md +109 -109
- package/components/Token/Token.d.ts +28 -28
- package/components/Token/Token.js.flow +25 -25
- package/components/Token/Token.styles.d.ts +22 -22
- package/components/Token/TokenRemoveIcon.d.ts +7 -7
- package/components/Token/TokenRemoveIcon.js.flow +11 -11
- package/components/Token/index.d.ts +1 -1
- package/components/Token/index.js.flow +2 -2
- package/components/TokenInput/README.md +82 -82
- package/components/TokenInput/TextWidthHelper.d.ts +10 -10
- package/components/TokenInput/TextWidthHelper.js +2 -2
- package/components/TokenInput/TextWidthHelper.js.flow +10 -10
- package/components/TokenInput/TextWidthHelper.js.map +1 -1
- package/components/TokenInput/TokenInput.d.ts +108 -108
- package/components/TokenInput/TokenInput.js +2 -2
- package/components/TokenInput/TokenInput.js.flow +39 -39
- package/components/TokenInput/TokenInput.styles.d.ts +11 -11
- package/components/TokenInput/TokenInputMenu.d.ts +16 -16
- package/components/TokenInput/TokenInputMenu.js.flow +17 -17
- package/components/TokenInput/TokenInputReducer.d.ts +91 -91
- package/components/TokenInput/TokenInputReducer.js.flow +63 -63
- package/components/TokenInput/index.d.ts +1 -1
- package/components/TokenInput/index.js.flow +2 -2
- package/components/TokenInput/locale/index.d.ts +4 -4
- package/components/TokenInput/locale/locales/en.d.ts +3 -3
- package/components/TokenInput/locale/locales/ru.d.ts +3 -3
- package/components/TokenInput/locale/types.d.ts +4 -4
- package/components/Tooltip/README.md +207 -207
- package/components/Tooltip/Tooltip.d.ts +143 -143
- package/components/Tooltip/Tooltip.js.flow +33 -33
- package/components/Tooltip/Tooltip.styles.d.ts +5 -5
- package/components/Tooltip/index.d.ts +1 -1
- package/components/Tooltip/index.js.flow +2 -2
- package/components/TooltipMenu/README.md +106 -106
- package/components/TooltipMenu/TooltipMenu.d.ts +43 -43
- package/components/TooltipMenu/TooltipMenu.js +7 -7
- package/components/TooltipMenu/TooltipMenu.js.flow +19 -19
- package/components/TooltipMenu/index.d.ts +1 -1
- package/components/TooltipMenu/index.js.flow +2 -2
- package/components/TopBar/ButtonItem.d.ts +21 -21
- package/components/TopBar/ButtonItem.js.flow +22 -22
- package/components/TopBar/Divider.d.ts +7 -7
- package/components/TopBar/Divider.js.flow +5 -5
- package/components/TopBar/Item.d.ts +27 -27
- package/components/TopBar/Item.js.flow +19 -19
- package/components/TopBar/Organizations.d.ts +25 -25
- package/components/TopBar/Organizations.js.flow +16 -16
- package/components/TopBar/README.md +112 -112
- package/components/TopBar/TopBar.d.ts +110 -110
- package/components/TopBar/TopBar.js +36 -36
- package/components/TopBar/TopBar.js.flow +53 -53
- package/components/TopBar/TopBar.styles.d.ts +7 -7
- package/components/TopBar/TopBarDropdown.d.ts +30 -30
- package/components/TopBar/TopBarDropdown.js.flow +23 -23
- package/components/TopBar/TopBarEnd.d.ts +3 -3
- package/components/TopBar/TopBarEnd.js.flow +4 -4
- package/components/TopBar/TopBarLogout.d.ts +10 -10
- package/components/TopBar/TopBarLogout.js.flow +6 -6
- package/components/TopBar/TopBarStart.d.ts +3 -3
- package/components/TopBar/TopBarStart.js.flow +4 -4
- package/components/TopBar/User.d.ts +21 -21
- package/components/TopBar/User.js +2 -2
- package/components/TopBar/User.js.flow +9 -9
- package/components/TopBar/index.d.ts +1 -1
- package/components/TopBar/index.js.flow +2 -2
- package/components/TopBar/locale/index.d.ts +4 -4
- package/components/TopBar/locale/locales/en.d.ts +3 -3
- package/components/TopBar/locale/locales/ru.d.ts +3 -3
- package/components/TopBar/locale/types.d.ts +7 -7
- package/components/ZIndex/ZIndex.d.ts +33 -33
- package/components/ZIndex/ZIndex.js +9 -9
- package/components/ZIndex/ZIndex.js.flow +11 -11
- package/components/ZIndex/ZIndex.js.map +1 -1
- package/components/ZIndex/ZIndexStorage.d.ts +17 -16
- package/components/ZIndex/ZIndexStorage.js +1 -0
- package/components/ZIndex/ZIndexStorage.js.map +1 -1
- package/components/ZIndex/index.d.ts +1 -1
- package/components/ZIndex/index.js.flow +2 -2
- package/components/__mocks__/react-addons-css-transition-group.js.map +1 -1
- package/components/all.d.ts +36 -36
- package/components/all.js.flow +36 -36
- package/components/ensureOldIEClassName.d.ts +4 -4
- package/components/ensureOldIEClassName.js.flow +6 -6
- package/components/eventHandlers.js.flow +9 -9
- package/components/filterProps.d.ts +15 -15
- package/components/index.d.ts +4 -4
- package/components/index.js +2 -2
- package/components/index.js.flow +2 -2
- package/components/internal/ComponentCombinator.d.ts +25 -25
- package/components/internal/ComponentTable.d.ts +21 -21
- package/components/internal/FocusTrap/FocusTrap.d.ts +14 -14
- package/components/internal/FocusTrap/__test__/FocusTrap.test.d.ts +1 -1
- package/components/internal/FocusTrap/index.d.ts +1 -1
- package/components/internal/InputLikeText/InputLikeText.d.ts +49 -49
- package/components/internal/InputLikeText/InputLikeText.js +6 -6
- package/components/internal/InputLikeText/InputLikeText.js.flow +24 -24
- package/components/internal/InputLikeText/index.d.ts +1 -1
- package/components/internal/InputLikeText/index.js.flow +2 -2
- package/components/internal/InternalMenu/InternalMenu.d.ts +63 -63
- package/components/internal/InternalMenu/InternalMenu.js.flow +23 -23
- package/components/internal/InternalMenu/InternalMenu.styles.d.ts +5 -5
- package/components/internal/InternalMenu/isActiveElement.d.ts +3 -3
- package/components/internal/InternalMenu/isActiveElement.js.flow +7 -7
- package/components/internal/LifeCycleProxy.d.ts +13 -13
- package/components/internal/MaskedInput/MaskedInput.d.ts +37 -37
- package/components/internal/MaskedInput/MaskedInput.js.flow +24 -24
- package/components/internal/MaskedInput/MaskedInput.styles.d.ts +5 -5
- package/components/internal/MaskedInput/index.d.ts +1 -1
- package/components/internal/MaskedInput/index.js.flow +2 -2
- package/components/internal/MockDate.d.ts +9 -9
- package/components/internal/MockDate.js.flow +9 -9
- package/components/internal/PopupMenu/PopupMenu.d.ts +81 -81
- package/components/internal/PopupMenu/PopupMenu.js.flow +40 -40
- package/components/internal/PopupMenu/PopupMenuPositions.d.ts +3 -3
- package/components/internal/PopupMenu/PopupMenuPositions.js.flow +4 -4
- package/components/internal/PopupMenu/index.d.ts +1 -1
- package/components/internal/PopupMenu/index.js.flow +2 -2
- package/components/internal/PopupMenu/validatePositions.d.ts +3 -3
- package/components/internal/PopupMenu/validatePositions.js.flow +4 -4
- package/components/internal/ResizeDetector/ResizeDetector.d.ts +11 -11
- package/components/internal/ResizeDetector/ResizeDetector.js.flow +8 -8
- package/components/internal/ResizeDetector/index.d.ts +1 -1
- package/components/internal/ResizeDetector/index.js.flow +2 -2
- package/components/internal/Supports.d.ts +1 -1
- package/components/internal/createPropsGetter.d.ts +2 -2
- package/components/internal/createPropsGetter.js.flow +8 -8
- package/components/internal/cross.d.ts +4 -4
- package/components/internal/cross.js.flow +4 -4
- package/components/internal/currentEnvironment.d.ts +3 -3
- package/components/internal/currentEnvironment.js.flow +4 -4
- package/components/internal/extractKeyboardAction.d.ts +13 -13
- package/components/internal/extractKeyboardAction.js.flow +12 -12
- package/components/polyfillPlaceholder.d.ts +2 -2
- package/components/polyfillPlaceholder.js.flow +4 -4
- package/components/variables.css +1 -1
- package/components/variables.module.css +1 -1
- package/lib/BGRuler.d.ts +30 -30
- package/lib/BGRuler.js +5 -5
- package/lib/Colors.d.ts +6 -6
- package/lib/LayoutEvents.d.ts +9 -9
- package/lib/SSRSafePropTypes.d.ts +2 -2
- package/lib/Upgrades.d.ts +11 -11
- package/lib/date/InternalDate.d.ts +55 -55
- package/lib/date/InternalDate.js +3 -3
- package/lib/date/InternalDateCalculator.d.ts +6 -6
- package/lib/date/InternalDateGetter.d.ts +15 -15
- package/lib/date/InternalDateSetter.d.ts +6 -6
- package/lib/date/InternalDateTransformer.d.ts +12 -12
- package/lib/date/InternalDateValidator.d.ts +9 -9
- package/lib/date/constants.d.ts +27 -27
- package/lib/date/localeSets.d.ts +5 -5
- package/lib/date/types.d.ts +88 -88
- package/lib/dom/getComputedStyle.d.ts +2 -2
- package/lib/dom/getFocusableElements.d.ts +42 -42
- package/lib/dom/getFocusableElements.js +33 -33
- package/lib/dom/getScrollWidth.d.ts +1 -1
- package/lib/events/MouseDrag.d.ts +15 -15
- package/lib/events/fixClickFocusIE.d.ts +1 -1
- package/lib/events/keyboard/KeyboardEventCodes.d.ts +31 -31
- package/lib/events/keyboard/KeyboardMapKeys.d.ts +6 -6
- package/lib/events/keyboard/extractCode.d.ts +3 -3
- package/lib/events/keyboard/identifiers.d.ts +47 -47
- package/lib/events/stopPropagation.d.ts +1 -1
- package/lib/events/tabListener.d.ts +6 -6
- package/lib/listenFocusOutside.d.ts +5 -5
- package/lib/listenFocusOutside.js +9 -9
- package/lib/net/fetch-cors.d.ts +13 -13
- package/lib/pluralize.d.ts +1 -1
- package/lib/reactGetTextContent/reactGetTextContent.d.ts +2 -2
- package/lib/styles/ColorFactory.d.ts +11 -11
- package/lib/styles/ColorFunctions.d.ts +12 -12
- package/lib/styles/ColorHelpers.d.ts +20 -20
- package/lib/styles/ColorKeywords.d.ts +150 -150
- package/lib/styles/ColorObject.d.ts +51 -51
- package/lib/styles/DimensionFunctions.d.ts +4 -4
- package/lib/styles/Mixins.d.ts +2 -2
- package/lib/theming/AnimationKeyframes.d.ts +9 -9
- package/lib/theming/Emotion.d.ts +13 -13
- package/lib/theming/Theme.d.ts +9 -9
- package/lib/theming/ThemeContext.d.ts +6 -6
- package/lib/theming/ThemeFactory.d.ts +10 -10
- package/lib/theming/ThemeHelpers.d.ts +1 -1
- package/lib/theming/themes/DefaultTheme.d.ts +4 -4
- package/lib/theming/themes/FlatTheme.d.ts +4 -4
- package/lib/utils.d.ts +28 -28
- package/package.json +4 -1
- package/typings/console.d.ts +3 -3
- package/typings/event-types.d.ts +4 -4
- package/typings/fbjs.d.ts +4 -4
- package/typings/global.d.ts +6 -6
- package/typings/images.d.ts +1 -1
- package/typings/less.d.ts +4 -4
- package/typings/mockdate.d.ts +1 -1
- package/typings/normalize-wheel.d.ts +1 -1
- package/typings/raf.d.ts +1 -1
- package/typings/react-addons-css-transition-group.d.ts +1 -1
- package/typings/react-testing/index.d.ts +4 -4
- package/typings/react-testing/window.d.ts +5 -5
- package/typings/react.d.ts +8 -8
- package/typings/stylis-plugin-extra-scope.d.ts +3 -3
- package/typings/utility-types.d.ts +17 -17
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as PropTypes from 'prop-types';
|
|
3
|
-
import Input, { InputProps } from '../Input';
|
|
4
|
-
import CurrencyInput, { CurrencyInputProps } from '../CurrencyInput';
|
|
5
|
-
import { Override } from '../../typings/utility-types';
|
|
6
|
-
export declare type FxInputProps = Override<CurrencyInputProps, {
|
|
7
|
-
/** Авто-режим */
|
|
8
|
-
auto?: boolean;
|
|
9
|
-
/** Тип инпута */
|
|
10
|
-
type?: 'currency' | InputProps['type'];
|
|
11
|
-
/** onRestore */
|
|
12
|
-
onRestore?: () => void;
|
|
13
|
-
/** onChange */
|
|
14
|
-
onChange: CurrencyInputProps['onChange'] | InputProps['onChange'];
|
|
15
|
-
/** Значение */
|
|
16
|
-
value?: React.ReactText;
|
|
17
|
-
/** ref Input'а */
|
|
18
|
-
refInput?: (element: CurrencyInput | Input | null) => void;
|
|
19
|
-
}>;
|
|
20
|
-
export interface FxInputDefaultProps {
|
|
21
|
-
width: FxInputProps['width'];
|
|
22
|
-
type: FxInputProps['type'];
|
|
23
|
-
}
|
|
24
|
-
/** Принимает все свойства `Input`'a */
|
|
25
|
-
declare class FxInput extends React.Component<FxInputProps> {
|
|
26
|
-
static propTypes: {
|
|
27
|
-
auto: PropTypes.Requireable<boolean>;
|
|
28
|
-
type: PropTypes.Requireable<string>;
|
|
29
|
-
};
|
|
30
|
-
static defaultProps: FxInputDefaultProps;
|
|
31
|
-
private input;
|
|
32
|
-
private getProps;
|
|
33
|
-
render(): JSX.Element;
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
focus: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
blur: () => void;
|
|
42
|
-
private refInput;
|
|
43
|
-
}
|
|
44
|
-
export default FxInput;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
|
+
import Input, { InputProps } from '../Input';
|
|
4
|
+
import CurrencyInput, { CurrencyInputProps } from '../CurrencyInput';
|
|
5
|
+
import { Override } from '../../typings/utility-types';
|
|
6
|
+
export declare type FxInputProps = Override<CurrencyInputProps, {
|
|
7
|
+
/** Авто-режим */
|
|
8
|
+
auto?: boolean;
|
|
9
|
+
/** Тип инпута */
|
|
10
|
+
type?: 'currency' | InputProps['type'];
|
|
11
|
+
/** onRestore */
|
|
12
|
+
onRestore?: () => void;
|
|
13
|
+
/** onChange */
|
|
14
|
+
onChange: CurrencyInputProps['onChange'] | InputProps['onChange'];
|
|
15
|
+
/** Значение */
|
|
16
|
+
value?: React.ReactText;
|
|
17
|
+
/** ref Input'а */
|
|
18
|
+
refInput?: (element: CurrencyInput | Input | null) => void;
|
|
19
|
+
}>;
|
|
20
|
+
export interface FxInputDefaultProps {
|
|
21
|
+
width: FxInputProps['width'];
|
|
22
|
+
type: FxInputProps['type'];
|
|
23
|
+
}
|
|
24
|
+
/** Принимает все свойства `Input`'a */
|
|
25
|
+
declare class FxInput extends React.Component<FxInputProps> {
|
|
26
|
+
static propTypes: {
|
|
27
|
+
auto: PropTypes.Requireable<boolean>;
|
|
28
|
+
type: PropTypes.Requireable<string>;
|
|
29
|
+
};
|
|
30
|
+
static defaultProps: FxInputDefaultProps;
|
|
31
|
+
private input;
|
|
32
|
+
private getProps;
|
|
33
|
+
render(): JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
focus: () => void;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
blur: () => void;
|
|
42
|
+
private refInput;
|
|
43
|
+
}
|
|
44
|
+
export default FxInput;
|
|
@@ -17,16 +17,16 @@ var FxInput = /** @class */function (_super) {
|
|
|
17
17
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
18
18
|
_this.input = null;
|
|
19
19
|
_this.getProps = createPropsGetter_1.createPropsGetter(FxInput.defaultProps);
|
|
20
|
-
/**
|
|
21
|
-
* @public
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
22
|
*/
|
|
23
23
|
_this.focus = function () {
|
|
24
24
|
if (_this.input) {
|
|
25
25
|
_this.input.focus();
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
30
|
*/
|
|
31
31
|
_this.blur = function () {
|
|
32
32
|
if (_this.input) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
import Input, { type InputProps } from '../Input';
|
|
3
|
-
import CurrencyInput, { type CurrencyInputProps } from '../CurrencyInput';
|
|
4
|
-
|
|
5
|
-
export type FxInputProps = {
|
|
6
|
-
auto?: boolean,
|
|
7
|
-
type?: 'currency' | $PropertyType<InputProps, 'type'>,
|
|
8
|
-
onRestore?: () => void,
|
|
9
|
-
onChange: $PropertyType<CurrencyInputProps, 'onChange'> | $PropertyType<InputProps, 'onChange'>,
|
|
10
|
-
value?: string | number,
|
|
11
|
-
refInput?: (element: CurrencyInput | Input | null) => void,
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export type FxInputDefaultProps = {|
|
|
15
|
-
width: $PropertyType<FxInputProps, 'width'>,
|
|
16
|
-
type: $PropertyType<FxInputProps, 'type'>,
|
|
17
|
-
|};
|
|
18
|
-
|
|
19
|
-
declare class FxInput extends React$Component<FxInputProps> {
|
|
20
|
-
focus: () => void;
|
|
21
|
-
blur: () => void;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default FxInput;
|
|
1
|
+
/* @flow */
|
|
2
|
+
import Input, { type InputProps } from '../Input';
|
|
3
|
+
import CurrencyInput, { type CurrencyInputProps } from '../CurrencyInput';
|
|
4
|
+
|
|
5
|
+
export type FxInputProps = {
|
|
6
|
+
auto?: boolean,
|
|
7
|
+
type?: 'currency' | $PropertyType<InputProps, 'type'>,
|
|
8
|
+
onRestore?: () => void,
|
|
9
|
+
onChange: $PropertyType<CurrencyInputProps, 'onChange'> | $PropertyType<InputProps, 'onChange'>,
|
|
10
|
+
value?: string | number,
|
|
11
|
+
refInput?: (element: CurrencyInput | Input | null) => void,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type FxInputDefaultProps = {|
|
|
15
|
+
width: $PropertyType<FxInputProps, 'width'>,
|
|
16
|
+
type: $PropertyType<FxInputProps, 'type'>,
|
|
17
|
+
|};
|
|
18
|
+
|
|
19
|
+
declare class FxInput extends React$Component<FxInputProps> {
|
|
20
|
+
focus: () => void;
|
|
21
|
+
blur: () => void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default FxInput;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
```js
|
|
2
|
-
let initialState = { auto: false };
|
|
3
|
-
|
|
4
|
-
function handleChange(event) {
|
|
5
|
-
setState({ auto: false, value: event.target.value });
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
function handleRestore() {
|
|
9
|
-
setState({ auto: true, value: 'auto' });
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
<FxInput auto={state.auto} value={state.value} onChange={handleChange} onRestore={handleRestore} />;
|
|
13
|
-
```
|
|
1
|
+
```js
|
|
2
|
+
let initialState = { auto: false };
|
|
3
|
+
|
|
4
|
+
function handleChange(event) {
|
|
5
|
+
setState({ auto: false, value: event.target.value });
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function handleRestore() {
|
|
9
|
+
setState({ auto: true, value: 'auto' });
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
<FxInput auto={state.auto} value={state.value} onChange={handleChange} onRestore={handleRestore} />;
|
|
13
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, FxInputProps } from './FxInput';
|
|
1
|
+
export { default, FxInputProps } from './FxInput';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default, FxInputProps } from './FxInput';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default, FxInputProps } from './FxInput';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as PropTypes from 'prop-types';
|
|
3
|
-
export interface GappedProps {
|
|
4
|
-
gap?: number;
|
|
5
|
-
verticalAlign?: 'top' | 'middle' | 'baseline' | 'bottom';
|
|
6
|
-
vertical?: boolean;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Контейнер, расстояние между элементами в котором равно `gap`.
|
|
11
|
-
*/
|
|
12
|
-
declare class Gapped extends React.Component<GappedProps> {
|
|
13
|
-
static propTypes: {
|
|
14
|
-
/**
|
|
15
|
-
* Расстояние между элементами.
|
|
16
|
-
*/
|
|
17
|
-
gap: PropTypes.Requireable<number>;
|
|
18
|
-
/**
|
|
19
|
-
* Располагать элементы вертикально.
|
|
20
|
-
*/
|
|
21
|
-
vertical: PropTypes.Requireable<boolean>;
|
|
22
|
-
/**
|
|
23
|
-
* Вертикальное выравнивание элементов.
|
|
24
|
-
*/
|
|
25
|
-
verticalAlign: PropTypes.Requireable<string>;
|
|
26
|
-
};
|
|
27
|
-
static defaultProps: {
|
|
28
|
-
gap: number;
|
|
29
|
-
verticalAlign: string;
|
|
30
|
-
};
|
|
31
|
-
render(): JSX.Element;
|
|
32
|
-
private _renderVertical;
|
|
33
|
-
private _renderHorizontal;
|
|
34
|
-
}
|
|
35
|
-
export default Gapped;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
|
+
export interface GappedProps {
|
|
4
|
+
gap?: number;
|
|
5
|
+
verticalAlign?: 'top' | 'middle' | 'baseline' | 'bottom';
|
|
6
|
+
vertical?: boolean;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Контейнер, расстояние между элементами в котором равно `gap`.
|
|
11
|
+
*/
|
|
12
|
+
declare class Gapped extends React.Component<GappedProps> {
|
|
13
|
+
static propTypes: {
|
|
14
|
+
/**
|
|
15
|
+
* Расстояние между элементами.
|
|
16
|
+
*/
|
|
17
|
+
gap: PropTypes.Requireable<number>;
|
|
18
|
+
/**
|
|
19
|
+
* Располагать элементы вертикально.
|
|
20
|
+
*/
|
|
21
|
+
vertical: PropTypes.Requireable<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* Вертикальное выравнивание элементов.
|
|
24
|
+
*/
|
|
25
|
+
verticalAlign: PropTypes.Requireable<string>;
|
|
26
|
+
};
|
|
27
|
+
static defaultProps: {
|
|
28
|
+
gap: number;
|
|
29
|
+
verticalAlign: string;
|
|
30
|
+
};
|
|
31
|
+
render(): JSX.Element;
|
|
32
|
+
private _renderVertical;
|
|
33
|
+
private _renderHorizontal;
|
|
34
|
+
}
|
|
35
|
+
export default Gapped;
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
4
|
var React = tslib_1.__importStar(require("react"));
|
|
5
5
|
var PropTypes = tslib_1.__importStar(require("prop-types"));
|
|
6
|
-
/**
|
|
7
|
-
* Контейнер, расстояние между элементами в котором равно `gap`.
|
|
6
|
+
/**
|
|
7
|
+
* Контейнер, расстояние между элементами в котором равно `gap`.
|
|
8
8
|
*/
|
|
9
9
|
var Gapped = /** @class */function (_super) {
|
|
10
10
|
tslib_1.__extends(Gapped, _super);
|
|
@@ -56,16 +56,16 @@ var Gapped = /** @class */function (_super) {
|
|
|
56
56
|
React.createElement("div", { style: contStyle }, children));
|
|
57
57
|
};
|
|
58
58
|
Gapped.propTypes = {
|
|
59
|
-
/**
|
|
60
|
-
* Расстояние между элементами.
|
|
59
|
+
/**
|
|
60
|
+
* Расстояние между элементами.
|
|
61
61
|
*/
|
|
62
62
|
gap: PropTypes.number,
|
|
63
|
-
/**
|
|
64
|
-
* Располагать элементы вертикально.
|
|
63
|
+
/**
|
|
64
|
+
* Располагать элементы вертикально.
|
|
65
65
|
*/
|
|
66
66
|
vertical: PropTypes.bool,
|
|
67
|
-
/**
|
|
68
|
-
* Вертикальное выравнивание элементов.
|
|
67
|
+
/**
|
|
68
|
+
* Вертикальное выравнивание элементов.
|
|
69
69
|
*/
|
|
70
70
|
verticalAlign: PropTypes.oneOf(['top', 'middle', 'baseline', 'bottom']) };
|
|
71
71
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
import * as CSS from 'csstype';
|
|
3
|
-
|
|
4
|
-
export type GappedProps = {|
|
|
5
|
-
gap?: number,
|
|
6
|
-
verticalAlign?: CSS.VerticalAlignProperty<string | number>,
|
|
7
|
-
vertical?: boolean,
|
|
8
|
-
children: React$Node,
|
|
9
|
-
|};
|
|
10
|
-
|
|
11
|
-
declare class Gapped extends React$Component<GappedProps> {}
|
|
12
|
-
|
|
13
|
-
export default Gapped;
|
|
1
|
+
/* @flow */
|
|
2
|
+
import * as CSS from 'csstype';
|
|
3
|
+
|
|
4
|
+
export type GappedProps = {|
|
|
5
|
+
gap?: number,
|
|
6
|
+
verticalAlign?: CSS.VerticalAlignProperty<string | number>,
|
|
7
|
+
vertical?: boolean,
|
|
8
|
+
children: React$Node,
|
|
9
|
+
|};
|
|
10
|
+
|
|
11
|
+
declare class Gapped extends React$Component<GappedProps> {}
|
|
12
|
+
|
|
13
|
+
export default Gapped;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
```js
|
|
2
|
-
<Gapped gap={20}>
|
|
3
|
-
<span>10</span>
|
|
4
|
-
<span>20</span>
|
|
5
|
-
</Gapped>
|
|
6
|
-
```
|
|
1
|
+
```js
|
|
2
|
+
<Gapped gap={20}>
|
|
3
|
+
<span>10</span>
|
|
4
|
+
<span>20</span>
|
|
5
|
+
</Gapped>
|
|
6
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, GappedProps } from './Gapped';
|
|
1
|
+
export { default, GappedProps } from './Gapped';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default, GappedProps } from './Gapped';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default, GappedProps } from './Gapped';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as PropTypes from 'prop-types';
|
|
3
|
-
import '../ensureOldIEClassName';
|
|
4
|
-
export interface GroupProps {
|
|
5
|
-
width?: React.CSSProperties['width'];
|
|
6
|
-
}
|
|
7
|
-
export interface GroupChildProps {
|
|
8
|
-
/** @deprecated */
|
|
9
|
-
mainInGroup?: boolean;
|
|
10
|
-
width?: React.CSSProperties['width'];
|
|
11
|
-
corners?: number;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Главному *Input*, который должен занимать всю доступную ширину, нужно
|
|
15
|
-
* передать свойство `mainInGroup`;
|
|
16
|
-
*/
|
|
17
|
-
declare class Group extends React.Component<GroupProps> {
|
|
18
|
-
static propTypes: {
|
|
19
|
-
width: PropTypes.Requireable<string | number>;
|
|
20
|
-
};
|
|
21
|
-
render(): JSX.Element;
|
|
22
|
-
}
|
|
23
|
-
export default Group;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
3
|
+
import '../ensureOldIEClassName';
|
|
4
|
+
export interface GroupProps {
|
|
5
|
+
width?: React.CSSProperties['width'];
|
|
6
|
+
}
|
|
7
|
+
export interface GroupChildProps {
|
|
8
|
+
/** @deprecated */
|
|
9
|
+
mainInGroup?: boolean;
|
|
10
|
+
width?: React.CSSProperties['width'];
|
|
11
|
+
corners?: number;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Главному *Input*, который должен занимать всю доступную ширину, нужно
|
|
15
|
+
* передать свойство `mainInGroup`;
|
|
16
|
+
*/
|
|
17
|
+
declare class Group extends React.Component<GroupProps> {
|
|
18
|
+
static propTypes: {
|
|
19
|
+
width: PropTypes.Requireable<string | number>;
|
|
20
|
+
};
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
export default Group;
|
|
@@ -8,9 +8,9 @@ require("../ensureOldIEClassName");
|
|
|
8
8
|
var Group_module_less_1 = tslib_1.__importDefault(require("./Group.module.css"));
|
|
9
9
|
var Button_1 = require("../Button");
|
|
10
10
|
var Emotion_1 = require("../../lib/theming/Emotion");
|
|
11
|
-
/**
|
|
12
|
-
* Главному *Input*, который должен занимать всю доступную ширину, нужно
|
|
13
|
-
* передать свойство `mainInGroup`;
|
|
11
|
+
/**
|
|
12
|
+
* Главному *Input*, который должен занимать всю доступную ширину, нужно
|
|
13
|
+
* передать свойство `mainInGroup`;
|
|
14
14
|
*/
|
|
15
15
|
var Group = /** @class */function (_super) {
|
|
16
16
|
tslib_1.__extends(Group, _super);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export type GroupProps = {|
|
|
3
|
-
width?: string | number,
|
|
4
|
-
|};
|
|
5
|
-
|
|
6
|
-
export type GroupChildProps = {|
|
|
7
|
-
mainInGroup?: boolean,
|
|
8
|
-
width?: string | number,
|
|
9
|
-
corners?: number,
|
|
10
|
-
|};
|
|
11
|
-
|
|
12
|
-
declare class Group extends React$Component<GroupProps> {}
|
|
13
|
-
|
|
14
|
-
export default Group;
|
|
1
|
+
/* @flow */
|
|
2
|
+
export type GroupProps = {|
|
|
3
|
+
width?: string | number,
|
|
4
|
+
|};
|
|
5
|
+
|
|
6
|
+
export type GroupChildProps = {|
|
|
7
|
+
mainInGroup?: boolean,
|
|
8
|
+
width?: string | number,
|
|
9
|
+
corners?: number,
|
|
10
|
+
|};
|
|
11
|
+
|
|
12
|
+
declare class Group extends React$Component<GroupProps> {}
|
|
13
|
+
|
|
14
|
+
export default Group;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
```jsx
|
|
2
|
-
const { default: UndoIcon } = require('@skbkontur/react-icons/Undo');
|
|
3
|
-
const { default: FunctionIcon } = require('@skbkontur/react-icons/Function');
|
|
4
|
-
const { default: Button } = require('../Button');
|
|
5
|
-
const { default: Input } = require('../Input');
|
|
6
|
-
|
|
7
|
-
let initialState = { auto: false };
|
|
8
|
-
|
|
9
|
-
let auto = null;
|
|
10
|
-
let icon = null;
|
|
11
|
-
if (!state.auto) {
|
|
12
|
-
auto = (
|
|
13
|
-
<Button onClick={e => setState({ auto: true })}>
|
|
14
|
-
<UndoIcon />
|
|
15
|
-
</Button>
|
|
16
|
-
);
|
|
17
|
-
} else {
|
|
18
|
-
icon = <FunctionIcon />;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
<Group width={300}>
|
|
22
|
-
{auto}
|
|
23
|
-
<Input mainInGroup leftIcon={icon} onChange={e => setState({ auto: false })} />
|
|
24
|
-
<Button>Hey</Button>
|
|
25
|
-
<Button>Ma</Button>
|
|
26
|
-
</Group>;
|
|
27
|
-
```
|
|
1
|
+
```jsx
|
|
2
|
+
const { default: UndoIcon } = require('@skbkontur/react-icons/Undo');
|
|
3
|
+
const { default: FunctionIcon } = require('@skbkontur/react-icons/Function');
|
|
4
|
+
const { default: Button } = require('../Button');
|
|
5
|
+
const { default: Input } = require('../Input');
|
|
6
|
+
|
|
7
|
+
let initialState = { auto: false };
|
|
8
|
+
|
|
9
|
+
let auto = null;
|
|
10
|
+
let icon = null;
|
|
11
|
+
if (!state.auto) {
|
|
12
|
+
auto = (
|
|
13
|
+
<Button onClick={e => setState({ auto: true })}>
|
|
14
|
+
<UndoIcon />
|
|
15
|
+
</Button>
|
|
16
|
+
);
|
|
17
|
+
} else {
|
|
18
|
+
icon = <FunctionIcon />;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
<Group width={300}>
|
|
22
|
+
{auto}
|
|
23
|
+
<Input mainInGroup leftIcon={icon} onChange={e => setState({ auto: false })} />
|
|
24
|
+
<Button>Hey</Button>
|
|
25
|
+
<Button>Ma</Button>
|
|
26
|
+
</Group>;
|
|
27
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, GroupProps, GroupChildProps } from './Group';
|
|
1
|
+
export { default, GroupProps, GroupChildProps } from './Group';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default, GroupProps, GroupChildProps } from './Group';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default, GroupProps, GroupChildProps } from './Group';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export default class HideBodyVerticalScroll extends React.Component {
|
|
3
|
-
static hash: string;
|
|
4
|
-
private disposeDocumentStyle;
|
|
5
|
-
private initialScroll;
|
|
6
|
-
private master;
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
componentDidUpdate(): void;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
render(): null;
|
|
11
|
-
private updateScrollVisibility;
|
|
12
|
-
private makeSomeMagicWithScroll;
|
|
13
|
-
private attachStyle;
|
|
14
|
-
private restoreStyles;
|
|
15
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export default class HideBodyVerticalScroll extends React.Component {
|
|
3
|
+
static hash: string;
|
|
4
|
+
private disposeDocumentStyle;
|
|
5
|
+
private initialScroll;
|
|
6
|
+
private master;
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
componentDidUpdate(): void;
|
|
9
|
+
componentWillUnmount(): void;
|
|
10
|
+
render(): null;
|
|
11
|
+
private updateScrollVisibility;
|
|
12
|
+
private makeSomeMagicWithScroll;
|
|
13
|
+
private attachStyle;
|
|
14
|
+
private restoreStyles;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
|
|
3
|
-
declare class HideBodyVerticalScroll extends React$Component<{||}> {
|
|
4
|
-
static hash: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export default HideBodyVerticalScroll;
|
|
1
|
+
/* @flow */
|
|
2
|
+
|
|
3
|
+
declare class HideBodyVerticalScroll extends React$Component<{||}> {
|
|
4
|
+
static hash: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export default HideBodyVerticalScroll;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './HideBodyVerticalScroll';
|
|
1
|
+
export { default } from './HideBodyVerticalScroll';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default } from './HideBodyVerticalScroll';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default } from './HideBodyVerticalScroll';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MouseEventType } from '../../typings/event-types';
|
|
3
|
-
export interface HintProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
manual?: boolean;
|
|
6
|
-
maxWidth?: React.CSSProperties['maxWidth'];
|
|
7
|
-
onMouseEnter?: (event: MouseEventType) => void;
|
|
8
|
-
onMouseLeave?: (event: MouseEventType) => void;
|
|
9
|
-
opened?: boolean;
|
|
10
|
-
pos: 'top' | 'right' | 'bottom' | 'left' | 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right' | 'left top' | 'left middle' | 'left bottom' | 'right top' | 'right middle' | 'right bottom';
|
|
11
|
-
text: React.ReactNode;
|
|
12
|
-
disableAnimations: boolean;
|
|
13
|
-
useWrapper: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface HintState {
|
|
16
|
-
opened: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare class Hint extends React.Component<HintProps, HintState> {
|
|
19
|
-
static defaultProps: {
|
|
20
|
-
pos: string;
|
|
21
|
-
manual: boolean;
|
|
22
|
-
opened: boolean;
|
|
23
|
-
maxWidth: number;
|
|
24
|
-
disableAnimations: boolean;
|
|
25
|
-
useWrapper: boolean;
|
|
26
|
-
};
|
|
27
|
-
state: HintState;
|
|
28
|
-
private timer;
|
|
29
|
-
componentWillReceiveProps(nextProps: HintProps): void;
|
|
30
|
-
componentWillUnmount(): void;
|
|
31
|
-
render(): JSX.Element;
|
|
32
|
-
private renderContent;
|
|
33
|
-
private getPositions;
|
|
34
|
-
private handleMouseEnter;
|
|
35
|
-
private handleMouseLeave;
|
|
36
|
-
private open;
|
|
37
|
-
}
|
|
38
|
-
export default Hint;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MouseEventType } from '../../typings/event-types';
|
|
3
|
+
export interface HintProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
manual?: boolean;
|
|
6
|
+
maxWidth?: React.CSSProperties['maxWidth'];
|
|
7
|
+
onMouseEnter?: (event: MouseEventType) => void;
|
|
8
|
+
onMouseLeave?: (event: MouseEventType) => void;
|
|
9
|
+
opened?: boolean;
|
|
10
|
+
pos: 'top' | 'right' | 'bottom' | 'left' | 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right' | 'left top' | 'left middle' | 'left bottom' | 'right top' | 'right middle' | 'right bottom';
|
|
11
|
+
text: React.ReactNode;
|
|
12
|
+
disableAnimations: boolean;
|
|
13
|
+
useWrapper: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface HintState {
|
|
16
|
+
opened: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare class Hint extends React.Component<HintProps, HintState> {
|
|
19
|
+
static defaultProps: {
|
|
20
|
+
pos: string;
|
|
21
|
+
manual: boolean;
|
|
22
|
+
opened: boolean;
|
|
23
|
+
maxWidth: number;
|
|
24
|
+
disableAnimations: boolean;
|
|
25
|
+
useWrapper: boolean;
|
|
26
|
+
};
|
|
27
|
+
state: HintState;
|
|
28
|
+
private timer;
|
|
29
|
+
componentWillReceiveProps(nextProps: HintProps): void;
|
|
30
|
+
componentWillUnmount(): void;
|
|
31
|
+
render(): JSX.Element;
|
|
32
|
+
private renderContent;
|
|
33
|
+
private getPositions;
|
|
34
|
+
private handleMouseEnter;
|
|
35
|
+
private handleMouseLeave;
|
|
36
|
+
private open;
|
|
37
|
+
}
|
|
38
|
+
export default Hint;
|