@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
package/components/all.js.flow
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default as Autocomplete } from './Autocomplete/Autocomplete';
|
|
3
|
-
export { default as Button } from './Button/Button';
|
|
4
|
-
export { default as Center } from './Center/Center';
|
|
5
|
-
export { default as Checkbox } from './Checkbox/Checkbox';
|
|
6
|
-
export { default as ComboBox } from './ComboBox/ComboBox';
|
|
7
|
-
export { default as DatePicker } from './DatePicker/DatePicker';
|
|
8
|
-
export { default as Dropdown } from './Dropdown/Dropdown';
|
|
9
|
-
export { default as FxInput } from './FxInput/FxInput';
|
|
10
|
-
export { default as Gapped } from './Gapped/Gapped';
|
|
11
|
-
export { default as Group } from './Group/Group';
|
|
12
|
-
export { default as Hint } from './Hint/Hint';
|
|
13
|
-
export { default as Icon20 } from './Icon/20px/Icon';
|
|
14
|
-
export { default as Input } from './Input/Input';
|
|
15
|
-
export { default as Kebab } from './Kebab/Kebab';
|
|
16
|
-
export { default as Link } from './Link/Link';
|
|
17
|
-
export { default as Loader } from './Loader/Loader';
|
|
18
|
-
export { default as Logotype } from './Logotype/Logotype';
|
|
19
|
-
export { default as Menu } from './Menu/Menu';
|
|
20
|
-
export { default as MenuItem } from './MenuItem/MenuItem';
|
|
21
|
-
export { default as MenuSeparator } from './MenuSeparator/MenuSeparator';
|
|
22
|
-
export { default as Modal } from './Modal/Modal';
|
|
23
|
-
export { default as Paging } from './Paging/Paging';
|
|
24
|
-
export { default as PasswordInput } from './PasswordInput/PasswordInput';
|
|
25
|
-
export { default as Radio } from './Radio/Radio';
|
|
26
|
-
export { default as RadioGroup } from './RadioGroup/RadioGroup';
|
|
27
|
-
export { default as RenderContainer } from './RenderContainer/RenderContainer';
|
|
28
|
-
export { default as ScrollContainer } from './ScrollContainer/ScrollContainer';
|
|
29
|
-
export { default as Select } from './Select/Select';
|
|
30
|
-
export { default as Spinner } from './Spinner/Spinner';
|
|
31
|
-
export { default as Sticky } from './Sticky/Sticky';
|
|
32
|
-
export { default as Switcher } from './Switcher/Switcher';
|
|
33
|
-
export { default as Tabs } from './Tabs/Tabs';
|
|
34
|
-
export { default as Textarea } from './Textarea/Textarea';
|
|
35
|
-
export { default as Tooltip } from './Tooltip/Tooltip';
|
|
36
|
-
export { default as TopBar } from './TopBar/TopBar';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default as Autocomplete } from './Autocomplete/Autocomplete';
|
|
3
|
+
export { default as Button } from './Button/Button';
|
|
4
|
+
export { default as Center } from './Center/Center';
|
|
5
|
+
export { default as Checkbox } from './Checkbox/Checkbox';
|
|
6
|
+
export { default as ComboBox } from './ComboBox/ComboBox';
|
|
7
|
+
export { default as DatePicker } from './DatePicker/DatePicker';
|
|
8
|
+
export { default as Dropdown } from './Dropdown/Dropdown';
|
|
9
|
+
export { default as FxInput } from './FxInput/FxInput';
|
|
10
|
+
export { default as Gapped } from './Gapped/Gapped';
|
|
11
|
+
export { default as Group } from './Group/Group';
|
|
12
|
+
export { default as Hint } from './Hint/Hint';
|
|
13
|
+
export { default as Icon20 } from './Icon/20px/Icon';
|
|
14
|
+
export { default as Input } from './Input/Input';
|
|
15
|
+
export { default as Kebab } from './Kebab/Kebab';
|
|
16
|
+
export { default as Link } from './Link/Link';
|
|
17
|
+
export { default as Loader } from './Loader/Loader';
|
|
18
|
+
export { default as Logotype } from './Logotype/Logotype';
|
|
19
|
+
export { default as Menu } from './Menu/Menu';
|
|
20
|
+
export { default as MenuItem } from './MenuItem/MenuItem';
|
|
21
|
+
export { default as MenuSeparator } from './MenuSeparator/MenuSeparator';
|
|
22
|
+
export { default as Modal } from './Modal/Modal';
|
|
23
|
+
export { default as Paging } from './Paging/Paging';
|
|
24
|
+
export { default as PasswordInput } from './PasswordInput/PasswordInput';
|
|
25
|
+
export { default as Radio } from './Radio/Radio';
|
|
26
|
+
export { default as RadioGroup } from './RadioGroup/RadioGroup';
|
|
27
|
+
export { default as RenderContainer } from './RenderContainer/RenderContainer';
|
|
28
|
+
export { default as ScrollContainer } from './ScrollContainer/ScrollContainer';
|
|
29
|
+
export { default as Select } from './Select/Select';
|
|
30
|
+
export { default as Spinner } from './Spinner/Spinner';
|
|
31
|
+
export { default as Sticky } from './Sticky/Sticky';
|
|
32
|
+
export { default as Switcher } from './Switcher/Switcher';
|
|
33
|
+
export { default as Tabs } from './Tabs/Tabs';
|
|
34
|
+
export { default as Textarea } from './Textarea/Textarea';
|
|
35
|
+
export { default as Tooltip } from './Tooltip/Tooltip';
|
|
36
|
+
export { default as TopBar } from './TopBar/TopBar';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare let ieVerison: number | undefined;
|
|
2
|
-
declare let isIE: boolean | undefined;
|
|
3
|
-
declare let isEdge: boolean | undefined;
|
|
4
|
-
export { ieVerison, isIE, isEdge };
|
|
1
|
+
declare let ieVerison: number | undefined;
|
|
2
|
+
declare let isIE: boolean | undefined;
|
|
3
|
+
declare let isEdge: boolean | undefined;
|
|
4
|
+
export { ieVerison, isIE, isEdge };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
declare var ieVerison: number | void;
|
|
3
|
-
declare var isIE: boolean | void;
|
|
4
|
-
declare var isEdge: boolean | void;
|
|
5
|
-
|
|
6
|
-
export { ieVerison, isIE, isEdge };
|
|
1
|
+
/* @flow */
|
|
2
|
+
declare var ieVerison: number | void;
|
|
3
|
+
declare var isIE: boolean | void;
|
|
4
|
+
declare var isEdge: boolean | void;
|
|
5
|
+
|
|
6
|
+
export { ieVerison, isIE, isEdge };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
|
|
3
|
-
export type InputEventHandler<E: Element> = (event: SyntheticInputEvent<E>) => void;
|
|
4
|
-
|
|
5
|
-
export type FocusEventHandler<E: Element> = (event: SyntheticFocusEvent<E>) => void;
|
|
6
|
-
|
|
7
|
-
export type MouseEventHandler<E: Element> = (event: SyntheticMouseEvent<E>) => void;
|
|
8
|
-
|
|
9
|
-
export type KeyboardEventHandler<E: Element> = (event: SyntheticKeyboardEvent<E>) => void;
|
|
1
|
+
/* @flow */
|
|
2
|
+
|
|
3
|
+
export type InputEventHandler<E: Element> = (event: SyntheticInputEvent<E>) => void;
|
|
4
|
+
|
|
5
|
+
export type FocusEventHandler<E: Element> = (event: SyntheticFocusEvent<E>) => void;
|
|
6
|
+
|
|
7
|
+
export type MouseEventHandler<E: Element> = (event: SyntheticMouseEvent<E>) => void;
|
|
8
|
+
|
|
9
|
+
export type KeyboardEventHandler<E: Element> = (event: SyntheticKeyboardEvent<E>) => void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare type Filter<T, U> = T extends U ? T : never;
|
|
2
|
-
export declare type True<T> = {
|
|
3
|
-
[K in keyof T]: T[K] extends true ? K : never;
|
|
4
|
-
}[keyof T];
|
|
5
|
-
export declare type AmbiguousBool<T> = {
|
|
6
|
-
[K in keyof T]: T[K] extends false ? never : T[K] extends true ? never : K;
|
|
7
|
-
}[keyof T];
|
|
8
|
-
export default function filterProps<Props extends Record<string, any>, Allowed extends Record<string, boolean>, Specific extends Filter<keyof Props, True<Allowed>>, Optional extends Filter<keyof Props, AmbiguousBool<Allowed>>, Result extends {
|
|
9
|
-
[P in Specific]: Props[P];
|
|
10
|
-
} & {
|
|
11
|
-
[Q in Optional]?: Props[Q];
|
|
12
|
-
}>(props: Props, allowed: Allowed): Result;
|
|
13
|
-
export declare function unwidenBool<T extends Record<string, boolean>>(obj: T): {
|
|
14
|
-
[P in keyof T]: T[P];
|
|
15
|
-
};
|
|
1
|
+
export declare type Filter<T, U> = T extends U ? T : never;
|
|
2
|
+
export declare type True<T> = {
|
|
3
|
+
[K in keyof T]: T[K] extends true ? K : never;
|
|
4
|
+
}[keyof T];
|
|
5
|
+
export declare type AmbiguousBool<T> = {
|
|
6
|
+
[K in keyof T]: T[K] extends false ? never : T[K] extends true ? never : K;
|
|
7
|
+
}[keyof T];
|
|
8
|
+
export default function filterProps<Props extends Record<string, any>, Allowed extends Record<string, boolean>, Specific extends Filter<keyof Props, True<Allowed>>, Optional extends Filter<keyof Props, AmbiguousBool<Allowed>>, Result extends {
|
|
9
|
+
[P in Specific]: Props[P];
|
|
10
|
+
} & {
|
|
11
|
+
[Q in Optional]?: Props[Q];
|
|
12
|
+
}>(props: Props, allowed: Allowed): Result;
|
|
13
|
+
export declare function unwidenBool<T extends Record<string, boolean>>(obj: T): {
|
|
14
|
+
[P in keyof T]: T[P];
|
|
15
|
+
};
|
package/components/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is for IDE and Flow. NOT FOR PRODUCTION USAGE.
|
|
3
|
-
*/
|
|
4
|
-
export * from './all.js';
|
|
1
|
+
/**
|
|
2
|
+
* This file is for IDE and Flow. NOT FOR PRODUCTION USAGE.
|
|
3
|
+
*/
|
|
4
|
+
export * from './all.js';
|
package/components/index.js
CHANGED
package/components/index.js.flow
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export * from './all.js';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export * from './all.js';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StatePropsCombinations, StateType } from './ComponentTable';
|
|
3
|
-
import { DefaultizeProps } from '../../lib/utils';
|
|
4
|
-
export interface ComponentCombinatorProps<C, P, S> {
|
|
5
|
-
combinations: Array<StatePropsCombinations<P, S>>;
|
|
6
|
-
Component: C;
|
|
7
|
-
presetProps: DefaultizeProps<C, P>;
|
|
8
|
-
presetState: Partial<S>;
|
|
9
|
-
}
|
|
10
|
-
export declare class ComponentCombinator<T extends React.Component<any, any, any>, C extends React.ComponentType<any>, P extends React.ComponentProps<C>> extends React.Component<ComponentCombinatorProps<C extends React.ComponentClass<P, any> ? React.ClassType<P, T, C> : C, P, StateType<C>>, {
|
|
11
|
-
page: number;
|
|
12
|
-
}> {
|
|
13
|
-
static defaultProps: {
|
|
14
|
-
props: never[];
|
|
15
|
-
states: never[];
|
|
16
|
-
presetProps: {};
|
|
17
|
-
presetState: {};
|
|
18
|
-
};
|
|
19
|
-
state: {
|
|
20
|
-
page: number;
|
|
21
|
-
};
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
private prevPage;
|
|
24
|
-
private nextPage;
|
|
25
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StatePropsCombinations, StateType } from './ComponentTable';
|
|
3
|
+
import { DefaultizeProps } from '../../lib/utils';
|
|
4
|
+
export interface ComponentCombinatorProps<C, P, S> {
|
|
5
|
+
combinations: Array<StatePropsCombinations<P, S>>;
|
|
6
|
+
Component: C;
|
|
7
|
+
presetProps: DefaultizeProps<C, P>;
|
|
8
|
+
presetState: Partial<S>;
|
|
9
|
+
}
|
|
10
|
+
export declare class ComponentCombinator<T extends React.Component<any, any, any>, C extends React.ComponentType<any>, P extends React.ComponentProps<C>> extends React.Component<ComponentCombinatorProps<C extends React.ComponentClass<P, any> ? React.ClassType<P, T, C> : C, P, StateType<C>>, {
|
|
11
|
+
page: number;
|
|
12
|
+
}> {
|
|
13
|
+
static defaultProps: {
|
|
14
|
+
props: never[];
|
|
15
|
+
states: never[];
|
|
16
|
+
presetProps: {};
|
|
17
|
+
presetState: {};
|
|
18
|
+
};
|
|
19
|
+
state: {
|
|
20
|
+
page: number;
|
|
21
|
+
};
|
|
22
|
+
render(): JSX.Element;
|
|
23
|
+
private prevPage;
|
|
24
|
+
private nextPage;
|
|
25
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DefaultizeProps } from '../../lib/utils';
|
|
3
|
-
export declare type StatePropsCombinations<P, S> = Array<{
|
|
4
|
-
props?: Partial<P>;
|
|
5
|
-
state?: Partial<S>;
|
|
6
|
-
}>;
|
|
7
|
-
export declare type StateType<C> = C extends React.Component<any, infer S> | React.ComponentClass<any, infer S> ? S : never;
|
|
8
|
-
export interface ComponentTableProps<C, P, S> {
|
|
9
|
-
rows?: StatePropsCombinations<P, S>;
|
|
10
|
-
cols?: StatePropsCombinations<P, S>;
|
|
11
|
-
presetProps: DefaultizeProps<C, P>;
|
|
12
|
-
presetState: Partial<S>;
|
|
13
|
-
Component: C;
|
|
14
|
-
}
|
|
15
|
-
export declare class ComponentTable<T extends React.Component<any, any, any>, C extends React.ComponentType<any>, P extends React.ComponentProps<C>> extends React.Component<ComponentTableProps<C extends React.ComponentClass<P, any> ? React.ClassType<P, T, C> : C, P, StateType<C>>> {
|
|
16
|
-
static defaultProps: {
|
|
17
|
-
presetProps: {};
|
|
18
|
-
presetState: {};
|
|
19
|
-
};
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DefaultizeProps } from '../../lib/utils';
|
|
3
|
+
export declare type StatePropsCombinations<P, S> = Array<{
|
|
4
|
+
props?: Partial<P>;
|
|
5
|
+
state?: Partial<S>;
|
|
6
|
+
}>;
|
|
7
|
+
export declare type StateType<C> = C extends React.Component<any, infer S> | React.ComponentClass<any, infer S> ? S : never;
|
|
8
|
+
export interface ComponentTableProps<C, P, S> {
|
|
9
|
+
rows?: StatePropsCombinations<P, S>;
|
|
10
|
+
cols?: StatePropsCombinations<P, S>;
|
|
11
|
+
presetProps: DefaultizeProps<C, P>;
|
|
12
|
+
presetState: Partial<S>;
|
|
13
|
+
Component: C;
|
|
14
|
+
}
|
|
15
|
+
export declare class ComponentTable<T extends React.Component<any, any, any>, C extends React.ComponentType<any>, P extends React.ComponentProps<C>> extends React.Component<ComponentTableProps<C extends React.ComponentClass<P, any> ? React.ClassType<P, T, C> : C, P, StateType<C>>> {
|
|
16
|
+
static defaultProps: {
|
|
17
|
+
presetProps: {};
|
|
18
|
+
presetState: {};
|
|
19
|
+
};
|
|
20
|
+
render(): JSX.Element;
|
|
21
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface FocusTrapProps {
|
|
3
|
-
children: React.ReactElement<any>;
|
|
4
|
-
onBlur?: (event: FocusEvent) => void;
|
|
5
|
-
}
|
|
6
|
-
export default class FocusTrap extends React.PureComponent<FocusTrapProps> {
|
|
7
|
-
private focusOutsideListenerToken;
|
|
8
|
-
componentWillUnmount(): void;
|
|
9
|
-
render(): React.ReactElement<any>;
|
|
10
|
-
private onClickOutside;
|
|
11
|
-
private attachListeners;
|
|
12
|
-
private detachListeners;
|
|
13
|
-
private handleNativeDocClick;
|
|
14
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FocusTrapProps {
|
|
3
|
+
children: React.ReactElement<any>;
|
|
4
|
+
onBlur?: (event: FocusEvent) => void;
|
|
5
|
+
}
|
|
6
|
+
export default class FocusTrap extends React.PureComponent<FocusTrapProps> {
|
|
7
|
+
private focusOutsideListenerToken;
|
|
8
|
+
componentWillUnmount(): void;
|
|
9
|
+
render(): React.ReactElement<any>;
|
|
10
|
+
private onClickOutside;
|
|
11
|
+
private attachListeners;
|
|
12
|
+
private detachListeners;
|
|
13
|
+
private handleNativeDocClick;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, FocusTrapProps } from './FocusTrap';
|
|
1
|
+
export { default, FocusTrapProps } from './FocusTrap';
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import '../../ensureOldIEClassName';
|
|
3
|
-
import { InputVisibilityState } from '../../Input/Input';
|
|
4
|
-
import { InputProps } from '../../Input';
|
|
5
|
-
export interface InputLikeTextProps extends InputProps {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
innerRef?: (el: HTMLElement | null) => void;
|
|
8
|
-
onFocus?: React.FocusEventHandler<HTMLElement>;
|
|
9
|
-
onBlur?: React.FocusEventHandler<HTMLElement>;
|
|
10
|
-
}
|
|
11
|
-
interface InputLikeTextState extends InputVisibilityState {
|
|
12
|
-
}
|
|
13
|
-
export default class InputLikeText extends React.Component<InputLikeTextProps, InputLikeTextState> {
|
|
14
|
-
static defaultProps: {
|
|
15
|
-
size: string;
|
|
16
|
-
};
|
|
17
|
-
state: {
|
|
18
|
-
blinking: boolean;
|
|
19
|
-
focused: boolean;
|
|
20
|
-
};
|
|
21
|
-
private theme;
|
|
22
|
-
private node;
|
|
23
|
-
private blinkTimeout;
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
focus(): void;
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
blur(): void;
|
|
32
|
-
/**
|
|
33
|
-
* @public
|
|
34
|
-
*/
|
|
35
|
-
blink(): void;
|
|
36
|
-
getNode(): HTMLElement | null;
|
|
37
|
-
componentWillUnmount(): void;
|
|
38
|
-
render(): JSX.Element;
|
|
39
|
-
private renderMain;
|
|
40
|
-
private ref;
|
|
41
|
-
private renderPlaceholder;
|
|
42
|
-
private getSizeClassName;
|
|
43
|
-
private handleFocus;
|
|
44
|
-
private handleBlur;
|
|
45
|
-
private renderLeftIcon;
|
|
46
|
-
private renderRightIcon;
|
|
47
|
-
private renderIcon;
|
|
48
|
-
}
|
|
49
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '../../ensureOldIEClassName';
|
|
3
|
+
import { InputVisibilityState } from '../../Input/Input';
|
|
4
|
+
import { InputProps } from '../../Input';
|
|
5
|
+
export interface InputLikeTextProps extends InputProps {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
innerRef?: (el: HTMLElement | null) => void;
|
|
8
|
+
onFocus?: React.FocusEventHandler<HTMLElement>;
|
|
9
|
+
onBlur?: React.FocusEventHandler<HTMLElement>;
|
|
10
|
+
}
|
|
11
|
+
interface InputLikeTextState extends InputVisibilityState {
|
|
12
|
+
}
|
|
13
|
+
export default class InputLikeText extends React.Component<InputLikeTextProps, InputLikeTextState> {
|
|
14
|
+
static defaultProps: {
|
|
15
|
+
size: string;
|
|
16
|
+
};
|
|
17
|
+
state: {
|
|
18
|
+
blinking: boolean;
|
|
19
|
+
focused: boolean;
|
|
20
|
+
};
|
|
21
|
+
private theme;
|
|
22
|
+
private node;
|
|
23
|
+
private blinkTimeout;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
focus(): void;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
blur(): void;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
blink(): void;
|
|
36
|
+
getNode(): HTMLElement | null;
|
|
37
|
+
componentWillUnmount(): void;
|
|
38
|
+
render(): JSX.Element;
|
|
39
|
+
private renderMain;
|
|
40
|
+
private ref;
|
|
41
|
+
private renderPlaceholder;
|
|
42
|
+
private getSizeClassName;
|
|
43
|
+
private handleFocus;
|
|
44
|
+
private handleBlur;
|
|
45
|
+
private renderLeftIcon;
|
|
46
|
+
private renderRightIcon;
|
|
47
|
+
private renderIcon;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -40,24 +40,24 @@ var InputLikeText = /** @class */function (_super) {
|
|
|
40
40
|
};
|
|
41
41
|
return _this;
|
|
42
42
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
45
|
*/
|
|
46
46
|
InputLikeText.prototype.focus = function () {
|
|
47
47
|
if (this.node) {
|
|
48
48
|
this.node.focus();
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
-
/**
|
|
52
|
-
* @public
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
53
|
*/
|
|
54
54
|
InputLikeText.prototype.blur = function () {
|
|
55
55
|
if (this.node) {
|
|
56
56
|
this.node.blur();
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
/**
|
|
60
|
-
* @public
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
61
|
*/
|
|
62
62
|
InputLikeText.prototype.blink = function () {
|
|
63
63
|
var _this = this;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
import type { InputProps } from '../../Input';
|
|
3
|
-
import type { InputVisibilityState } from '../../Input/Input';
|
|
4
|
-
import type { FocusEventHandler } from '../../eventHandlers';
|
|
5
|
-
|
|
6
|
-
export type InputLikeTextProps = {|
|
|
7
|
-
...$Exact<InputProps>,
|
|
8
|
-
children?: React$Node,
|
|
9
|
-
innerRef?: (el: HTMLElement | null) => void,
|
|
10
|
-
onFocus?: FocusEventHandler<HTMLElement>,
|
|
11
|
-
onBlur?: FocusEventHandler<HTMLElement>,
|
|
12
|
-
|};
|
|
13
|
-
|
|
14
|
-
type InputLikeTextState = {|
|
|
15
|
-
...$Exact<InputVisibilityState>,
|
|
16
|
-
|};
|
|
17
|
-
|
|
18
|
-
declare class InputLikeText extends React$Component<InputLikeTextProps, InputLikeTextState> {
|
|
19
|
-
focus(): void;
|
|
20
|
-
blur(): void;
|
|
21
|
-
blink(): void;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default InputLikeText;
|
|
1
|
+
/* @flow */
|
|
2
|
+
import type { InputProps } from '../../Input';
|
|
3
|
+
import type { InputVisibilityState } from '../../Input/Input';
|
|
4
|
+
import type { FocusEventHandler } from '../../eventHandlers';
|
|
5
|
+
|
|
6
|
+
export type InputLikeTextProps = {|
|
|
7
|
+
...$Exact<InputProps>,
|
|
8
|
+
children?: React$Node,
|
|
9
|
+
innerRef?: (el: HTMLElement | null) => void,
|
|
10
|
+
onFocus?: FocusEventHandler<HTMLElement>,
|
|
11
|
+
onBlur?: FocusEventHandler<HTMLElement>,
|
|
12
|
+
|};
|
|
13
|
+
|
|
14
|
+
type InputLikeTextState = {|
|
|
15
|
+
...$Exact<InputVisibilityState>,
|
|
16
|
+
|};
|
|
17
|
+
|
|
18
|
+
declare class InputLikeText extends React$Component<InputLikeTextProps, InputLikeTextState> {
|
|
19
|
+
focus(): void;
|
|
20
|
+
blur(): void;
|
|
21
|
+
blink(): void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export default InputLikeText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, InputLikeTextProps } from './InputLikeText';
|
|
1
|
+
export { default, InputLikeTextProps } from './InputLikeText';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* @flow */
|
|
2
|
-
export { default, InputLikeTextProps } from './InputLikeText';
|
|
1
|
+
/* @flow */
|
|
2
|
+
export { default, InputLikeTextProps } from './InputLikeText';
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ScrollContainerScrollState } from '../../ScrollContainer/ScrollContainer';
|
|
3
|
-
interface MenuProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
hasShadow?: boolean;
|
|
6
|
-
maxHeight?: number | string;
|
|
7
|
-
onItemClick?: (event: React.SyntheticEvent<HTMLElement>) => void;
|
|
8
|
-
width?: number | string;
|
|
9
|
-
preventWindowScroll?: boolean;
|
|
10
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
11
|
-
header?: React.ReactNode;
|
|
12
|
-
footer?: React.ReactNode;
|
|
13
|
-
cyclicSelection?: boolean;
|
|
14
|
-
initialSelectedItemIndex?: number;
|
|
15
|
-
}
|
|
16
|
-
interface MenuState {
|
|
17
|
-
highlightedIndex: number;
|
|
18
|
-
maxHeight: number | string;
|
|
19
|
-
scrollState: ScrollContainerScrollState;
|
|
20
|
-
}
|
|
21
|
-
export default class InternalMenu extends React.Component<MenuProps, MenuState> {
|
|
22
|
-
static defaultProps: {
|
|
23
|
-
width: string;
|
|
24
|
-
maxHeight: number;
|
|
25
|
-
hasShadow: boolean;
|
|
26
|
-
preventWindowScroll: boolean;
|
|
27
|
-
cyclicSelection: boolean;
|
|
28
|
-
initialSelectedItemIndex: number;
|
|
29
|
-
};
|
|
30
|
-
state: MenuState;
|
|
31
|
-
private theme;
|
|
32
|
-
private scrollContainer;
|
|
33
|
-
private highlighted;
|
|
34
|
-
private rootElement;
|
|
35
|
-
private header;
|
|
36
|
-
private footer;
|
|
37
|
-
private getProps;
|
|
38
|
-
componentDidMount(): void;
|
|
39
|
-
componentDidUpdate(prevProps: MenuProps, prevState: MenuState): void;
|
|
40
|
-
componentWillReceiveProps(nextProps: MenuProps): void;
|
|
41
|
-
focus(): void;
|
|
42
|
-
render(): JSX.Element;
|
|
43
|
-
private renderMain;
|
|
44
|
-
private renderHeader;
|
|
45
|
-
private renderFooter;
|
|
46
|
-
private focusOnRootElement;
|
|
47
|
-
private shouldRecalculateMaxHeight;
|
|
48
|
-
private calculateMaxHeight;
|
|
49
|
-
private setInitialSelection;
|
|
50
|
-
private refScrollContainer;
|
|
51
|
-
private refHighlighted;
|
|
52
|
-
private scrollToSelected;
|
|
53
|
-
private select;
|
|
54
|
-
private highlightItem;
|
|
55
|
-
private unhighlight;
|
|
56
|
-
private move;
|
|
57
|
-
private moveUp;
|
|
58
|
-
private moveDown;
|
|
59
|
-
private isEmpty;
|
|
60
|
-
private handleKeyDown;
|
|
61
|
-
private handleScrollStateChange;
|
|
62
|
-
}
|
|
63
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ScrollContainerScrollState } from '../../ScrollContainer/ScrollContainer';
|
|
3
|
+
interface MenuProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
hasShadow?: boolean;
|
|
6
|
+
maxHeight?: number | string;
|
|
7
|
+
onItemClick?: (event: React.SyntheticEvent<HTMLElement>) => void;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
preventWindowScroll?: boolean;
|
|
10
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
11
|
+
header?: React.ReactNode;
|
|
12
|
+
footer?: React.ReactNode;
|
|
13
|
+
cyclicSelection?: boolean;
|
|
14
|
+
initialSelectedItemIndex?: number;
|
|
15
|
+
}
|
|
16
|
+
interface MenuState {
|
|
17
|
+
highlightedIndex: number;
|
|
18
|
+
maxHeight: number | string;
|
|
19
|
+
scrollState: ScrollContainerScrollState;
|
|
20
|
+
}
|
|
21
|
+
export default class InternalMenu extends React.Component<MenuProps, MenuState> {
|
|
22
|
+
static defaultProps: {
|
|
23
|
+
width: string;
|
|
24
|
+
maxHeight: number;
|
|
25
|
+
hasShadow: boolean;
|
|
26
|
+
preventWindowScroll: boolean;
|
|
27
|
+
cyclicSelection: boolean;
|
|
28
|
+
initialSelectedItemIndex: number;
|
|
29
|
+
};
|
|
30
|
+
state: MenuState;
|
|
31
|
+
private theme;
|
|
32
|
+
private scrollContainer;
|
|
33
|
+
private highlighted;
|
|
34
|
+
private rootElement;
|
|
35
|
+
private header;
|
|
36
|
+
private footer;
|
|
37
|
+
private getProps;
|
|
38
|
+
componentDidMount(): void;
|
|
39
|
+
componentDidUpdate(prevProps: MenuProps, prevState: MenuState): void;
|
|
40
|
+
componentWillReceiveProps(nextProps: MenuProps): void;
|
|
41
|
+
focus(): void;
|
|
42
|
+
render(): JSX.Element;
|
|
43
|
+
private renderMain;
|
|
44
|
+
private renderHeader;
|
|
45
|
+
private renderFooter;
|
|
46
|
+
private focusOnRootElement;
|
|
47
|
+
private shouldRecalculateMaxHeight;
|
|
48
|
+
private calculateMaxHeight;
|
|
49
|
+
private setInitialSelection;
|
|
50
|
+
private refScrollContainer;
|
|
51
|
+
private refHighlighted;
|
|
52
|
+
private scrollToSelected;
|
|
53
|
+
private select;
|
|
54
|
+
private highlightItem;
|
|
55
|
+
private unhighlight;
|
|
56
|
+
private move;
|
|
57
|
+
private moveUp;
|
|
58
|
+
private moveDown;
|
|
59
|
+
private isEmpty;
|
|
60
|
+
private handleKeyDown;
|
|
61
|
+
private handleScrollStateChange;
|
|
62
|
+
}
|
|
63
|
+
export {};
|