@true-engineering/true-react-common-ui-kit 4.0.0-alpha5 → 4.0.0-alpha51
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 +11 -607
- package/dist/components/AccountInfo/AccountInfo.styles.d.ts +1 -1
- package/dist/components/AddButton/AddButton.styles.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.styles.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/components/Checkbox/Checkbox.styles.d.ts +3 -2
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Checkbox/types.d.ts +3 -0
- package/dist/components/CloseButton/CloseButton.styles.d.ts +1 -1
- package/dist/components/ControlWrapper/ControlWrapper.d.ts +7 -3
- package/dist/components/ControlWrapper/ControlWrapper.styles.d.ts +3 -2
- package/dist/components/ControlWrapper/constants.d.ts +1 -0
- package/dist/components/ControlWrapper/helpers.d.ts +4 -0
- package/dist/components/ControlWrapper/index.d.ts +3 -0
- package/dist/components/ControlWrapper/types.d.ts +14 -0
- package/dist/components/CssBaseline/CssBaseline.styles.d.ts +1 -1
- package/dist/components/DateInput/DateInput.d.ts +1 -3
- package/dist/components/DateInput/DateInput.styles.d.ts +1 -1
- package/dist/components/DateInput/constants.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +4 -4
- package/dist/components/DatePicker/DatePicker.styles.d.ts +1 -1
- package/dist/components/DatePicker/components/DatePickerBase/DatePickerBase.d.ts +5 -0
- package/dist/components/DatePicker/components/DatePickerBase/index.d.ts +1 -0
- package/dist/components/DatePicker/components/DatePickerHeader/DatePickerHeader.styles.d.ts +1 -1
- package/dist/components/DatePicker/components/PopperContainer/PopperContainer.d.ts +2 -4
- package/dist/components/DatePicker/components/index.d.ts +1 -0
- package/dist/components/DatePicker/constants.d.ts +7 -2
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/types.d.ts +2 -2
- package/dist/components/Description/Description.styles.d.ts +1 -1
- package/dist/components/FileInput/FileInput.d.ts +1 -1
- package/dist/components/FileInput/FileInput.styles.d.ts +1 -1
- package/dist/components/FileItem/FileItem.styles.d.ts +1 -1
- package/dist/components/FileItem/constants.d.ts +3 -4
- package/dist/components/FileItem/helpers.d.ts +3 -2
- package/dist/components/FileItem/types.d.ts +1 -2
- package/dist/components/FiltersPane/FiltersPane.d.ts +7 -3
- package/dist/components/FiltersPane/FiltersPane.styles.d.ts +2 -2
- package/dist/components/FiltersPane/components/Filter/Filter.d.ts +3 -4
- package/dist/components/FiltersPane/components/Filter/helpers.d.ts +4 -0
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.d.ts +3 -11
- package/dist/components/FiltersPane/components/FilterInterval/FilterInterval.styles.d.ts +3 -6
- package/dist/components/FiltersPane/components/FilterMultiSelect/FilterMultiSelect.d.ts +0 -1
- package/dist/components/FiltersPane/components/FilterSelect/FilterSelect.styles.d.ts +3 -6
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.d.ts +4 -3
- package/dist/components/FiltersPane/components/FilterValueView/FilterValueView.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.d.ts +5 -11
- package/dist/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.styles.d.ts +1 -1
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.d.ts +2 -3
- package/dist/components/FiltersPane/components/FilterWrapper/FilterWrapper.styles.d.ts +2 -2
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.d.ts +2 -1
- package/dist/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +1 -1
- package/dist/components/FiltersPane/constants.d.ts +1 -1
- package/dist/components/FiltersPane/helpers.d.ts +1 -1
- package/dist/components/FiltersPane/index.d.ts +1 -0
- package/dist/components/FiltersPane/types.d.ts +21 -7
- package/dist/components/Flag/Flag.styles.d.ts +1 -1
- package/dist/components/Flag/customFlags/customFlags.d.ts +10 -0
- package/dist/components/Flag/customFlags/index.d.ts +1 -0
- package/dist/components/FlexibleTable/FlexibleTable.d.ts +4 -2
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +2 -2
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.d.ts +4 -3
- package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.d.ts +6 -6
- package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts +1 -1
- package/dist/components/FlexibleTable/constants.d.ts +18 -2
- package/dist/components/FlexibleTable/helpers.d.ts +2 -2
- package/dist/components/FlexibleTable/types.d.ts +20 -12
- package/dist/components/FloatDocActions/FloatDocActions.d.ts +6 -0
- package/dist/components/FloatDocActions/FloatDocActions.styles.d.ts +8 -0
- package/dist/components/FloatDocActions/components/DocActions/DocActions.d.ts +12 -0
- package/dist/components/FloatDocActions/components/DocActions/DocActions.styles.d.ts +6 -0
- package/dist/components/FloatDocActions/components/DocActions/constants.d.ts +1 -0
- package/dist/components/FloatDocActions/components/DocActions/index.d.ts +4 -0
- package/dist/components/FloatDocActions/components/DocActions/types.d.ts +2 -0
- package/dist/components/FloatDocActions/components/index.d.ts +1 -0
- package/dist/components/FloatDocActions/constants.d.ts +1 -0
- package/dist/components/FloatDocActions/index.d.ts +3 -0
- package/dist/components/Icon/Icon.styles.d.ts +1 -1
- package/dist/components/Icon/icons/index.d.ts +31 -0
- package/dist/components/Icon/index.d.ts +1 -1
- package/dist/components/Icon/types.d.ts +7 -11
- package/dist/components/IconButton/IconButton.d.ts +1 -2
- package/dist/components/IconButton/IconButton.styles.d.ts +1 -1
- package/dist/components/IconButton/constants.d.ts +1 -1
- package/dist/components/IncrementInput/IncrementInput.styles.d.ts +1 -3
- package/dist/components/Input/Input.d.ts +3 -3
- package/dist/components/Input/Input.styles.d.ts +1 -1
- package/dist/components/Input/InputBase.d.ts +3 -3
- package/dist/components/List/List.d.ts +1 -1
- package/dist/components/List/List.styles.d.ts +1 -1
- package/dist/components/List/components/ListItem/ListItem.styles.d.ts +1 -1
- package/dist/components/List/index.d.ts +2 -1
- package/dist/components/List/types.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.styles.d.ts +1 -1
- package/dist/components/MoreMenu/MoreMenu.styles.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +0 -1
- package/dist/components/MultiSelect/MultiSelect.styles.d.ts +1 -1
- package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts +1 -1
- package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +1 -1
- package/dist/components/MultiSelectList/constants.d.ts +1 -1
- package/dist/components/MultiSelectList/helpers.d.ts +1 -1
- package/dist/components/NewMoreMenu/NewMoreMenu.styles.d.ts +1 -1
- package/dist/components/Notification/Notification.styles.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +1 -2
- package/dist/components/NumberInput/helpers.d.ts +2 -2
- package/dist/components/PhoneInput/PhoneInput.styles.d.ts +1 -1
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +3 -1
- package/dist/components/RadioButton/RadioButton.styles.d.ts +3 -2
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/RadioButton/types.d.ts +3 -0
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +3 -373
- package/dist/components/ScrollIntoViewIfNeeded/constants.d.ts +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/Select/Select.d.ts +8 -6
- package/dist/components/Select/Select.styles.d.ts +12 -22
- package/dist/components/Select/components/SelectList/SelectList.d.ts +5 -5
- package/dist/components/Select/components/SelectList/SelectList.styles.d.ts +1 -1
- package/dist/components/Select/components/SelectListItem/SelectListItem.d.ts +4 -3
- package/dist/components/Select/helpers.d.ts +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/types.d.ts +4 -0
- package/dist/components/Selector/Selector.d.ts +0 -1
- package/dist/components/Selector/Selector.styles.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/components/SmartInput/SmartInput.d.ts +1 -1
- package/dist/components/Status/Status.styles.d.ts +3 -2
- package/dist/components/Status/constants.d.ts +0 -1
- package/dist/components/Status/index.d.ts +1 -0
- package/dist/components/Status/types.d.ts +5 -2
- package/dist/components/Switch/Switch.styles.d.ts +1 -1
- package/dist/components/TextArea/TextArea.d.ts +5 -6
- package/dist/components/TextArea/TextArea.styles.d.ts +5 -4
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/types.d.ts +4 -2
- package/dist/components/TextButton/TextButton.d.ts +1 -1
- package/dist/components/TextButton/TextButton.styles.d.ts +1 -1
- package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +1 -1
- package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +1 -1
- package/dist/components/Toaster/Toaster.styles.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.styles.d.ts +1 -1
- package/dist/components/WithMessages/WithMessages.d.ts +1 -1
- package/dist/components/WithMessages/WithMessages.styles.d.ts +1 -1
- package/dist/components/WithPopup/WithPopup.d.ts +11 -3
- package/dist/components/WithPopup/WithPopup.styles.d.ts +1 -1
- package/dist/components/WithPopup/types.d.ts +4 -4
- package/dist/components/index.d.ts +1 -1
- package/dist/constants/phone-info.d.ts +1 -1
- package/dist/helpers/misc.d.ts +3 -3
- package/dist/helpers/phone.d.ts +1 -1
- package/dist/hooks/index.d.ts +7 -4
- package/dist/hooks/use-dropdown.d.ts +3 -3
- package/dist/hooks/use-intersection-ref.d.ts +8 -0
- package/dist/hooks/use-latest-ref.d.ts +2 -0
- package/dist/hooks/use-merge.d.ts +1 -0
- package/dist/hooks/use-mixed-styles.d.ts +3 -1
- package/dist/hooks/use-on-click-outside.d.ts +2 -2
- package/dist/hooks/use-tweak-styles.d.ts +6 -6
- package/dist/theme/Provider.d.ts +5 -2
- package/dist/theme/common.d.ts +1 -1
- package/dist/theme/create-themed-styles.d.ts +2 -0
- package/dist/theme/helpers.d.ts +9 -3
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/true-jss/ThemedStylesManager.d.ts +18 -0
- package/dist/theme/true-jss/TweakStylesManager.d.ts +34 -0
- package/dist/theme/true-jss/index.d.ts +2 -0
- package/dist/theme/true-jss/jss-context.d.ts +9 -0
- package/dist/theme/types.d.ts +7 -5
- package/dist/{style.css → true-react-common-ui-kit.css} +78 -142
- package/dist/true-react-common-ui-kit.js +2 -31591
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +3 -31580
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/types.d.ts +9 -2
- package/package.json +36 -37
- package/src/components/AccountInfo/AccountInfo.stories.tsx +19 -27
- package/src/components/AddButton/AddButton.stories.tsx +14 -17
- package/src/components/Button/Button.stories.tsx +8 -26
- package/src/components/Checkbox/Checkbox.stories.tsx +27 -16
- package/src/components/Checkbox/Checkbox.styles.ts +3 -1
- package/src/components/Checkbox/Checkbox.tsx +7 -5
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Checkbox/types.ts +4 -0
- package/src/components/CloseButton/CloseButton.stories.tsx +5 -6
- package/src/components/Colors/Colors.stories.tsx +63 -3
- package/src/components/ControlWrapper/ControlWrapper.stories.tsx +45 -35
- package/src/components/ControlWrapper/ControlWrapper.styles.ts +7 -6
- package/src/components/ControlWrapper/ControlWrapper.tsx +33 -30
- package/src/components/ControlWrapper/constants.ts +11 -0
- package/src/components/ControlWrapper/helpers.ts +11 -0
- package/src/components/ControlWrapper/index.ts +3 -0
- package/src/components/ControlWrapper/types.ts +19 -0
- package/src/components/DateInput/DateInput.stories.tsx +13 -31
- package/src/components/DateInput/DateInput.tsx +3 -4
- package/src/components/DatePicker/DatePicker.stories.tsx +18 -42
- package/src/components/DatePicker/DatePicker.styles.ts +3 -1
- package/src/components/DatePicker/DatePicker.tsx +47 -16
- package/src/components/DatePicker/components/DatePickerBase/DatePickerBase.tsx +14 -0
- package/src/components/DatePicker/components/DatePickerBase/index.ts +1 -0
- package/src/components/DatePicker/components/PopperContainer/PopperContainer.tsx +4 -4
- package/src/components/DatePicker/components/index.ts +1 -0
- package/src/components/DatePicker/constants.ts +9 -3
- package/src/components/DatePicker/helpers.ts +1 -1
- package/src/components/DatePicker/index.ts +1 -0
- package/src/components/DatePicker/types.ts +6 -4
- package/src/components/Description/Description.stories.tsx +11 -16
- package/src/components/FileInput/FileInput.stories.tsx +59 -63
- package/src/components/FileItem/FileItem.stories.tsx +48 -48
- package/src/components/FileItem/constants.ts +3 -14
- package/src/components/FileItem/helpers.ts +3 -2
- package/src/components/FileItem/types.ts +1 -3
- package/src/components/FiltersPane/FiltersPane.stories.tsx +31 -28
- package/src/components/FiltersPane/FiltersPane.tsx +28 -19
- package/src/components/FiltersPane/components/Filter/Filter.tsx +36 -30
- package/src/components/FiltersPane/components/Filter/helpers.ts +18 -0
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.styles.ts +1 -2
- package/src/components/FiltersPane/components/FilterInterval/FilterInterval.tsx +5 -17
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.styles.ts +1 -2
- package/src/components/FiltersPane/components/FilterSelect/FilterSelect.tsx +22 -23
- package/src/components/FiltersPane/components/FilterValueView/FilterValueView.tsx +27 -22
- package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.styles.ts +3 -3
- package/src/components/FiltersPane/components/FilterWithDates/FilterWithDates.tsx +3 -4
- package/src/components/FiltersPane/components/FilterWithPeriod/FilterWithPeriod.tsx +4 -3
- package/src/components/FiltersPane/components/FilterWrapper/FilterWrapper.tsx +14 -10
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.styles.ts +5 -0
- package/src/components/FiltersPane/components/FiltersPaneSearch/FiltersPaneSearch.tsx +19 -19
- package/src/components/FiltersPane/helpers.ts +3 -3
- package/src/components/FiltersPane/index.ts +1 -0
- package/src/components/FiltersPane/types.ts +30 -6
- package/src/components/Flag/Flag.stories.tsx +16 -20
- package/src/components/Flag/Flag.styles.ts +4 -0
- package/src/components/Flag/Flag.tsx +25 -11
- package/src/components/Flag/customFlags/AB.svg +1 -0
- package/src/components/Flag/customFlags/OS.svg +1 -0
- package/src/components/Flag/customFlags/customFlags.ts +13 -0
- package/src/components/Flag/customFlags/index.ts +1 -0
- package/src/components/FlexibleTable/FlexibleTable.stories.tsx +47 -50
- package/src/components/FlexibleTable/FlexibleTable.styles.ts +4 -2
- package/src/components/FlexibleTable/FlexibleTable.tsx +44 -64
- package/src/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.tsx +8 -5
- package/src/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.tsx +13 -12
- package/src/components/FlexibleTable/constants.ts +6 -3
- package/src/components/FlexibleTable/types.ts +20 -16
- package/src/components/FloatDocActions/FloatDocActions.stories.tsx +111 -0
- package/src/components/FloatDocActions/FloatDocActions.styles.ts +12 -0
- package/src/components/FloatDocActions/FloatDocActions.tsx +34 -0
- package/src/components/FloatDocActions/components/DocActions/DocActions.styles.ts +29 -0
- package/src/components/FloatDocActions/components/DocActions/DocActions.tsx +43 -0
- package/src/components/FloatDocActions/components/DocActions/constants.ts +1 -0
- package/src/components/FloatDocActions/components/DocActions/index.ts +4 -0
- package/src/components/FloatDocActions/components/DocActions/types.ts +3 -0
- package/src/components/FloatDocActions/components/index.ts +1 -0
- package/src/components/FloatDocActions/constants.ts +1 -0
- package/src/components/FloatDocActions/index.ts +3 -0
- package/src/components/Icon/Icon.stories.tsx +80 -67
- package/src/components/Icon/Icon.styles.ts +1 -1
- package/src/components/Icon/Icon.tsx +17 -12
- package/src/components/Icon/icons/calendar.svg +1 -0
- package/src/components/Icon/icons/check.svg +1 -0
- package/src/components/Icon/icons/chevron-down-small.svg +1 -0
- package/src/components/Icon/icons/chevron-down.svg +1 -0
- package/src/components/Icon/icons/chevron-left.svg +1 -0
- package/src/components/Icon/icons/chevron-right.svg +1 -0
- package/src/components/Icon/icons/close-large.svg +1 -0
- package/src/components/Icon/icons/close-window.svg +1 -0
- package/src/components/Icon/icons/close.svg +1 -0
- package/src/components/Icon/icons/filter.svg +1 -0
- package/src/components/Icon/icons/index.ts +62 -0
- package/src/components/Icon/icons/information.svg +1 -0
- package/src/components/Icon/icons/menu.svg +1 -0
- package/src/components/Icon/icons/minus.svg +1 -0
- package/src/components/Icon/icons/plus.svg +1 -0
- package/src/components/Icon/icons/search.svg +1 -0
- package/src/components/Icon/icons/status-error.svg +1 -0
- package/src/components/Icon/icons/status-info.svg +1 -0
- package/src/components/Icon/icons/status-not-ok.svg +1 -0
- package/src/components/Icon/icons/status-ok.svg +1 -0
- package/src/components/Icon/icons/status-warning.svg +1 -0
- package/src/components/Icon/icons/trash-can.svg +1 -0
- package/src/components/Icon/index.ts +1 -1
- package/src/components/Icon/types.ts +7 -13
- package/src/components/IconButton/IconButton.stories.tsx +7 -12
- package/src/components/IconButton/IconButton.styles.ts +15 -13
- package/src/components/IconButton/constants.ts +1 -1
- package/src/components/IncrementInput/IncrementInput.stories.tsx +25 -23
- package/src/components/IncrementInput/IncrementInput.styles.ts +31 -39
- package/src/components/IncrementInput/IncrementInput.tsx +28 -25
- package/src/components/Input/Input.stories.tsx +37 -68
- package/src/components/Input/Input.styles.ts +4 -0
- package/src/components/Input/Input.tsx +3 -2
- package/src/components/Input/InputBase.tsx +54 -55
- package/src/components/List/List.stories.tsx +22 -17
- package/src/components/List/List.styles.ts +2 -1
- package/src/components/List/List.tsx +5 -2
- package/src/components/List/index.ts +2 -1
- package/src/components/List/types.ts +5 -0
- package/src/components/Modal/Modal.stories.tsx +50 -59
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/MoreMenu/MoreMenu.stories.tsx +24 -15
- package/src/components/MultiSelect/MultiSelect.stories.tsx +23 -20
- package/src/components/MultiSelectList/MultiSelectList.tsx +15 -11
- package/src/components/MultiSelectList/helpers.ts +2 -2
- package/src/components/NewMoreMenu/NewMoreMenu.stories.tsx +42 -40
- package/src/components/Notification/Notification.stories.tsx +35 -34
- package/src/components/NumberInput/NumberInput.stories.tsx +32 -28
- package/src/components/PhoneInput/PhoneInput.stories.tsx +31 -56
- package/src/components/PhoneInput/PhoneInput.tsx +5 -2
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +5 -11
- package/src/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.tsx +1 -4
- package/src/components/RadioButton/RadioButton.stories.tsx +31 -21
- package/src/components/RadioButton/RadioButton.styles.ts +2 -1
- package/src/components/RadioButton/RadioButton.tsx +12 -5
- package/src/components/RadioButton/index.ts +1 -0
- package/src/components/RadioButton/types.ts +4 -0
- package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +15 -9
- package/src/components/SearchInput/SearchInput.stories.tsx +14 -14
- package/src/components/SearchInput/SearchInput.tsx +20 -29
- package/src/components/Select/CustomSelect.stories.tsx +29 -32
- package/src/components/Select/MultiSelect.stories.tsx +45 -45
- package/src/components/Select/Select.stories.tsx +45 -44
- package/src/components/Select/Select.styles.ts +5 -40
- package/src/components/Select/Select.tsx +67 -53
- package/src/components/Select/components/SelectList/SelectList.tsx +8 -6
- package/src/components/Select/components/SelectListItem/SelectListItem.tsx +5 -2
- package/src/components/Select/index.ts +1 -1
- package/src/components/Select/types.ts +3 -0
- package/src/components/Selector/Selector.stories.tsx +25 -27
- package/src/components/Selector/Selector.tsx +1 -2
- package/src/components/Skeleton/Skeleton.stories.tsx +13 -12
- package/src/components/SmartInput/SmartInput.stories.tsx +23 -23
- package/src/components/Status/Status.stories.tsx +79 -28
- package/src/components/Status/Status.styles.ts +2 -37
- package/src/components/Status/constants.ts +0 -10
- package/src/components/Status/index.ts +1 -1
- package/src/components/Status/types.ts +7 -3
- package/src/components/Switch/Switch.stories.tsx +19 -26
- package/src/components/TextArea/TextArea.stories.tsx +37 -26
- package/src/components/TextArea/TextArea.styles.ts +15 -8
- package/src/components/TextArea/TextArea.tsx +95 -62
- package/src/components/TextArea/index.ts +1 -1
- package/src/components/TextArea/types.ts +5 -5
- package/src/components/TextButton/TextButton.stories.tsx +8 -19
- package/src/components/TextButton/TextButton.styles.ts +1 -0
- package/src/components/TextWithInfo/TextWithInfo.stories.tsx +13 -21
- package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +26 -25
- package/src/components/TextWithTooltip/TextWithTooltip.tsx +1 -2
- package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +12 -23
- package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +4 -4
- package/src/components/Toaster/Toaster.stories.tsx +16 -14
- package/src/components/Tooltip/Tooltip.stories.tsx +5 -4
- package/src/components/Tooltip/Tooltip.styles.ts +2 -0
- package/src/components/Tooltip/Tooltip.tsx +1 -1
- package/src/components/WithMessages/WithMessages.stories.tsx +16 -20
- package/src/components/WithPopup/WithPopup.stories.tsx +27 -26
- package/src/components/WithPopup/WithPopup.tsx +36 -15
- package/src/components/WithTooltip/WithTooltip.stories.tsx +28 -28
- package/src/components/index.ts +1 -1
- package/src/constants/phone-info.ts +20 -33
- package/src/helpers/misc.ts +9 -7
- package/src/helpers/phone.ts +19 -15
- package/src/helpers/popper-helpers.ts +0 -1
- package/src/hooks/index.ts +7 -4
- package/src/hooks/use-intersection-ref.ts +30 -0
- package/src/hooks/use-latest-ref.ts +7 -0
- package/src/hooks/use-merge.ts +8 -0
- package/src/hooks/use-mixed-styles.ts +9 -11
- package/src/hooks/use-on-click-outside.ts +22 -14
- package/src/hooks/use-tweak-styles.ts +49 -27
- package/src/theme/Provider.tsx +10 -5
- package/src/theme/create-themed-styles.ts +78 -0
- package/src/theme/helpers.ts +41 -39
- package/src/theme/index.ts +2 -0
- package/src/theme/true-jss/ThemedStylesManager.ts +93 -0
- package/src/theme/true-jss/TweakStylesManager.ts +156 -0
- package/src/theme/true-jss/index.ts +2 -0
- package/src/theme/true-jss/jss-context.tsx +34 -0
- package/src/theme/types.ts +9 -8
- package/src/types.ts +17 -6
- package/dist/components/AccountInfo/AccountInfo.stories.d.ts +0 -6
- package/dist/components/AddButton/AddButton.stories.d.ts +0 -6
- package/dist/components/Button/Button.stories.d.ts +0 -6
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -8
- package/dist/components/CloseButton/CloseButton.stories.d.ts +0 -5
- package/dist/components/Colors/Colors.d.ts +0 -2
- package/dist/components/Colors/Colors.stories.d.ts +0 -5
- package/dist/components/Colors/Colors.styles.d.ts +0 -1
- package/dist/components/Colors/index.d.ts +0 -1
- package/dist/components/ControlWrapper/ControlWrapper.stories.d.ts +0 -6
- package/dist/components/DateInput/DateInput.stories.d.ts +0 -7
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -7
- package/dist/components/Description/Description.stories.d.ts +0 -16
- package/dist/components/FileInput/FileInput.stories.d.ts +0 -7
- package/dist/components/FileItem/FileItem.stories.d.ts +0 -8
- package/dist/components/FiltersPane/FiltersPane.stories.d.ts +0 -31
- package/dist/components/Flag/Flag.stories.d.ts +0 -12
- package/dist/components/FlexibleTable/FlexibleTable.stories.d.ts +0 -19
- package/dist/components/Icon/Icon.stories.d.ts +0 -6
- package/dist/components/Icon/complexIcons/icons.d.ts +0 -10
- package/dist/components/Icon/complexIcons/index.d.ts +0 -1
- package/dist/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.d.ts +0 -6
- package/dist/components/Icon/components/ComplexIconBoilerplate/index.d.ts +0 -1
- package/dist/components/Icon/components/IconBolerplate/IconBoilerplate.d.ts +0 -6
- package/dist/components/Icon/components/IconBolerplate/index.d.ts +0 -1
- package/dist/components/Icon/components/index.d.ts +0 -2
- package/dist/components/Icon/helpers.d.ts +0 -6
- package/dist/components/Icon/icons-list.d.ts +0 -1
- package/dist/components/IconButton/IconButton.stories.d.ts +0 -6
- package/dist/components/IncrementInput/IncrementInput.stories.d.ts +0 -6
- package/dist/components/Input/Input.stories.d.ts +0 -25
- package/dist/components/List/List.stories.d.ts +0 -5
- package/dist/components/Modal/Modal.stories.d.ts +0 -29
- package/dist/components/MoreMenu/MoreMenu.stories.d.ts +0 -6
- package/dist/components/MultiSelect/MultiSelect.stories.d.ts +0 -13
- package/dist/components/NewMoreMenu/NewMoreMenu.stories.d.ts +0 -12
- package/dist/components/Notification/Notification.stories.d.ts +0 -8
- package/dist/components/NumberInput/NumberInput.stories.d.ts +0 -7
- package/dist/components/PhoneInput/PhoneInput.stories.d.ts +0 -28
- package/dist/components/PhoneInput/components/PhoneInputCountryList/PhoneInputCountryList.stories.d.ts +0 -5
- package/dist/components/RadioButton/RadioButton.stories.d.ts +0 -7
- package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -6
- package/dist/components/Select/CustomSelect.stories.d.ts +0 -11
- package/dist/components/Select/MultiSelect.stories.d.ts +0 -15
- package/dist/components/Select/Select.stories.d.ts +0 -15
- package/dist/components/Selector/Selector.stories.d.ts +0 -7
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -6
- package/dist/components/SmartInput/SmartInput.stories.d.ts +0 -18
- package/dist/components/Status/Status.stories.d.ts +0 -6
- package/dist/components/Switch/Switch.stories.d.ts +0 -16
- package/dist/components/TextArea/TextArea.stories.d.ts +0 -17
- package/dist/components/TextButton/TextButton.stories.d.ts +0 -6
- package/dist/components/TextWithInfo/TextWithInfo.stories.d.ts +0 -12
- package/dist/components/TextWithTooltip/TextWithTooltip.stories.d.ts +0 -24
- package/dist/components/ThemedPreloader/ThemedPreloader.stories.d.ts +0 -17
- package/dist/components/Toaster/Toaster.stories.d.ts +0 -5
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -5
- package/dist/components/WithMessages/WithMessages.stories.d.ts +0 -7
- package/dist/components/WithPopup/WithPopup.stories.d.ts +0 -16
- package/dist/components/WithTooltip/WithTooltip.stories.d.ts +0 -6
- package/src/components/Colors/Colors.styles.ts +0 -36
- package/src/components/Colors/Colors.tsx +0 -26
- package/src/components/Colors/index.ts +0 -1
- package/src/components/Flag/augment.d.ts +0 -1
- package/src/components/Icon/complexIcons/augment.d.ts +0 -1
- package/src/components/Icon/complexIcons/icons.ts +0 -19
- package/src/components/Icon/complexIcons/index.ts +0 -1
- package/src/components/Icon/components/ComplexIconBoilerplate/ComplexIconBoilerplate.tsx +0 -16
- package/src/components/Icon/components/ComplexIconBoilerplate/index.ts +0 -1
- package/src/components/Icon/components/IconBolerplate/IconBoilerplate.tsx +0 -43
- package/src/components/Icon/components/IconBolerplate/index.ts +0 -1
- package/src/components/Icon/components/index.ts +0 -2
- package/src/components/Icon/helpers.tsx +0 -9
- package/src/components/Icon/icons-list.ts +0 -855
- package/src/vite-env.d.ts +0 -1
- /package/src/components/Icon/{complexIcons/avatarGreen.svg → icons/avatar.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileExcel.svg → icons/file-excel.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileImage.svg → icons/file-image.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileOther.svg → icons/file-other.svg} +0 -0
- /package/src/components/Icon/{complexIcons/filePdf.svg → icons/file-pdf.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileWord.svg → icons/file-word.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileXml.svg → icons/file-xml.svg} +0 -0
- /package/src/components/Icon/{complexIcons/fileZip.svg → icons/file-zip.svg} +0 -0
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { ITestIdProps } from '../../types';
|
|
2
3
|
import { IDatePickerProps } from '../DatePicker';
|
|
3
4
|
import { IMultiSelectListValues } from '../MultiSelectList';
|
|
4
|
-
import
|
|
5
|
+
import { INumberInputProps } from '../NumberInput';
|
|
6
|
+
import { IFilterIntervalProps, IFilterMultiSelectProps, IFilterSelectProps, IFilterWithDatesProps, IFilterWithPeriodProps } from './components';
|
|
5
7
|
import { FilterLocales, PERIODS, SelectLocales } from './constants';
|
|
6
8
|
export type IPeriodType = (typeof PERIODS)[number];
|
|
7
9
|
export type IFilterMultiSelectValues<Option = string> = IMultiSelectListValues<Option>;
|
|
@@ -26,7 +28,7 @@ export type IPeriodGetter = () => IDatePeriod;
|
|
|
26
28
|
export type IFilterWithDatesValue = IDatePeriod;
|
|
27
29
|
export type MultiSelectOptionType<Value> = Value | undefined extends IFilterMultiSelectValues<infer Option> | undefined ? Option : unknown;
|
|
28
30
|
export interface IConfigItemBasicBase<Value> {
|
|
29
|
-
name:
|
|
31
|
+
name: ReactNode;
|
|
30
32
|
isInline?: boolean;
|
|
31
33
|
isClearable?: boolean;
|
|
32
34
|
requiredFilledFilters?: string[];
|
|
@@ -36,6 +38,7 @@ export interface IConfigItemBasicBase<Value> {
|
|
|
36
38
|
}
|
|
37
39
|
export type IIntervalConfigItem<Value> = IConfigItemBasicBase<Value> & {
|
|
38
40
|
type: 'interval';
|
|
41
|
+
name: string;
|
|
39
42
|
} & Omit<IFilterIntervalProps, 'value' | 'onChange' | 'labelName'>;
|
|
40
43
|
export interface IBooleanConfigItem<Value> extends IConfigItemBasicBase<Value> {
|
|
41
44
|
type: 'boolean';
|
|
@@ -54,20 +57,30 @@ export type IDateRangeConfigItem<Value> = IConfigItemBasicBase<Value> & {
|
|
|
54
57
|
type: 'dateRange';
|
|
55
58
|
dateFormat?: string;
|
|
56
59
|
} & Omit<IFilterWithPeriodProps, 'value' | 'onChange' | 'setIsOpen'>;
|
|
57
|
-
export
|
|
60
|
+
export interface ICustomComponentProps<Value> extends ITestIdProps {
|
|
58
61
|
value?: Value;
|
|
59
62
|
onChange: (v?: Value) => void;
|
|
60
63
|
onClose?: () => void;
|
|
61
64
|
filter: ICustomConfigItem<Value>;
|
|
62
65
|
localeKey?: IFilterLocaleKey;
|
|
63
66
|
locale?: IPartialFilterLocale;
|
|
64
|
-
}
|
|
65
|
-
export
|
|
66
|
-
|
|
67
|
+
}
|
|
68
|
+
export type CustomComponent<Value> = FC<ICustomComponentProps<Value>>;
|
|
69
|
+
export type ICustomValue<V> = V extends Array<infer T> ? T : never;
|
|
70
|
+
export interface ICustomRangeConfigItem<Value> extends IConfigItemBasicBase<Value> {
|
|
71
|
+
[key: string & {}]: any;
|
|
72
|
+
type: 'custom';
|
|
73
|
+
component: CustomComponent<Value>;
|
|
74
|
+
valueViewType?: 'range';
|
|
75
|
+
}
|
|
76
|
+
export interface ICustomMultipleConfigItem<Value> extends IConfigItemBasicBase<Value> {
|
|
77
|
+
[key: string & {}]: any;
|
|
67
78
|
type: 'custom';
|
|
68
79
|
component: CustomComponent<Value>;
|
|
69
|
-
valueViewType?: '
|
|
80
|
+
valueViewType?: 'multiple';
|
|
81
|
+
getSelectedValue?: (v: ICustomValue<Value>) => ReactNode;
|
|
70
82
|
}
|
|
83
|
+
export type ICustomConfigItem<Value> = ICustomRangeConfigItem<Value> | ICustomMultipleConfigItem<Value>;
|
|
71
84
|
export type ConfigItem<Value> = ISelectConfigItem<Value> | IMultiSelectConfigItem<Value> | ICustomConfigItem<Value> | IDateRangeWithoutPeriodConfigItem<Value> | IDateRangeConfigItem<Value> | IIntervalConfigItem<Value> | IBooleanConfigItem<Value>;
|
|
72
85
|
export type ConfigType<Values> = {
|
|
73
86
|
[K in keyof Values]: ConfigItem<Values[K]>;
|
|
@@ -106,3 +119,4 @@ export interface ISelectLocale {
|
|
|
106
119
|
}
|
|
107
120
|
export type ISelectLocaleKey = keyof typeof SelectLocales;
|
|
108
121
|
export type IFilterWithDateDatePickerProps = Omit<IDatePickerProps, 'onChange' | 'value' | 'locale' | 'months' | 'selectedDate' | 'tweakStyles'>;
|
|
122
|
+
export type IFilterNumberInputProps = Omit<INumberInputProps, 'onChange' | 'value' | 'label' | 'testId' | 'tweakStyles'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "noFlag">;
|
|
3
3
|
export type IFlagStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './customFlags';
|
|
@@ -3,7 +3,7 @@ import { ICommonProps } from '../../types';
|
|
|
3
3
|
import { IFlexibleTableRowProps } from './components';
|
|
4
4
|
import { ITableRow, IFlexibleTableConfigType, IInfinityScrollConfig, IFlexibleTableRenderMode, IHeaderContent } from './types';
|
|
5
5
|
import { IFlexibleTableStyles } from './FlexibleTable.styles';
|
|
6
|
-
export interface IFlexibleTableProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row> extends ICommonProps<IFlexibleTableStyles>, Pick<IFlexibleTableRowProps<Row, HeaderContent, UniqueField>, 'uniqueField' | 'rowAttributes' | 'isFirstColumnSticky' | '
|
|
6
|
+
export interface IFlexibleTableProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row> extends ICommonProps<IFlexibleTableStyles>, Pick<IFlexibleTableRowProps<Row, HeaderContent, UniqueField>, 'uniqueField' | 'rowAttributes' | 'isFirstColumnSticky' | 'expandableRowComponent' | 'onRowClick' | 'onRowHover' | 'rowRef'> {
|
|
7
7
|
content: Row[];
|
|
8
8
|
/** @default 'table' */
|
|
9
9
|
renderMode?: IFlexibleTableRenderMode;
|
|
@@ -27,5 +27,7 @@ export interface IFlexibleTableProps<Row extends ITableRow, HeaderContent extend
|
|
|
27
27
|
nothingFoundContent?: ReactNode;
|
|
28
28
|
/** @default true */
|
|
29
29
|
shouldRenderHeader?: boolean;
|
|
30
|
+
/** @default false */
|
|
31
|
+
isExpandableRowComponentInitiallyOpen?: boolean | ((row: Row, index: number) => boolean);
|
|
30
32
|
}
|
|
31
|
-
export declare function FlexibleTable<Row extends ITableRow, HeaderContent extends IHeaderContent<Row> = IHeaderContent<Row>, UniqueField extends keyof Row = keyof Row>({ content, headerContent, config, enabledColumns, activeRows, uniqueField, isLoading, isFirstColumnSticky, isHorizontallyScrollable, isRowFocusable, infinityScrollConfig, renderMode, refForScroll, nothingFoundContent, data, testId, tweakStyles, shouldRenderHeader, onHeadClick, ...restProps }: IFlexibleTableProps<Row, HeaderContent, UniqueField>): JSX.Element;
|
|
33
|
+
export declare function FlexibleTable<Row extends ITableRow, HeaderContent extends IHeaderContent<Row> = IHeaderContent<Row>, UniqueField extends keyof Row = keyof Row>({ content, headerContent, config, enabledColumns, activeRows, uniqueField, isLoading, isFirstColumnSticky, isHorizontallyScrollable, isRowFocusable, infinityScrollConfig: infinityScrollConfigDeprecated, renderMode, refForScroll, nothingFoundContent, data, testId, tweakStyles, shouldRenderHeader, onHeadClick, isExpandableRowComponentInitiallyOpen: isRowInitiallyOpen, ...restProps }: IFlexibleTableProps<Row, HeaderContent, UniqueField>): JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
import
|
|
2
|
+
import { IFlexibleTableRowStyles } from './components';
|
|
3
3
|
export declare const STICKY_SHADOW_PADDING = 12;
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"scroll" | "root" | "loader" | "header" | "nothingFound" | "flexibleTableWrapper" | "head" | "body" | "loaderRow" | "loaderCell" | "headerRow" | "headerSticky" | "headerSecond" | "nothingFoundRow">;
|
|
5
5
|
export type IFlexibleTableStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakTableRow: IFlexibleTableRowStyles;
|
|
7
7
|
}>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../../../types';
|
|
3
3
|
import { ITableRow, IValueComponentProps, IFlexibleTableConfigType, IFlexibleTableRenderMode, IHeaderContent } from '../../types';
|
|
4
4
|
import { IFlexibleTableCellStyles } from './FlexibleTableCell.styles';
|
|
5
|
-
export interface IFlexibleTableCellProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>> extends Pick<ICommonProps<IFlexibleTableCellStyles>, 'tweakStyles'>, Pick<IValueComponentProps<Row, unknown>, 'isFocusedRow' | 'isActiveRow' | 'isNestedComponentExpanded' | 'isRowNestedComponentExpanded'
|
|
5
|
+
export interface IFlexibleTableCellProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>> extends Pick<ICommonProps<IFlexibleTableCellStyles>, 'tweakStyles'>, Pick<IValueComponentProps<Row, unknown>, 'isFocusedRow' | 'isActiveRow' | 'isNestedComponentExpanded' | 'isRowNestedComponentExpanded'> {
|
|
6
6
|
row: Row;
|
|
7
7
|
columnName: keyof Row;
|
|
8
|
+
updateNestedComponent: (component: ReactNode, cellKey: keyof Row) => void;
|
|
8
9
|
config: IFlexibleTableConfigType<Row, HeaderContent>;
|
|
9
10
|
renderMode: IFlexibleTableRenderMode;
|
|
10
11
|
isSecond?: boolean;
|
|
11
12
|
isSticky?: boolean;
|
|
12
13
|
isLoading?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare function FlexibleTableCell<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>>({ row, columnName, config, renderMode, isSecond, isSticky: isOldSticky, isLoading, tweakStyles, ...valueComponentProps }: IFlexibleTableCellProps<Row, HeaderContent>): JSX.Element;
|
|
15
|
+
export declare function FlexibleTableCell<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>>({ row, columnName, config, renderMode, isSecond, isSticky: isOldSticky, isLoading, updateNestedComponent, tweakStyles, ...valueComponentProps }: IFlexibleTableCellProps<Row, HeaderContent>): JSX.Element;
|
package/dist/components/FlexibleTable/components/FlexibleTableCell/FlexibleTableCell.styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"root" | "sticky" | "loading" | "clickable" | "second" | "skeleton">;
|
|
3
3
|
export type IFlexibleTableCellStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import { ReactNode, RefCallback } from 'react';
|
|
2
|
+
import { ITweakStylesProps } from '../../../../types';
|
|
3
3
|
import { ITableRow, IFlexibleTableConfigType, IFlexibleTableRenderMode, IHeaderContent } from '../../types';
|
|
4
4
|
import { IFlexibleTableRowStyles } from './FlexibleTableRow.styles';
|
|
5
|
-
export interface IFlexibleTableRowProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row> extends
|
|
5
|
+
export interface IFlexibleTableRowProps<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row> extends ITweakStylesProps<IFlexibleTableRowStyles> {
|
|
6
6
|
item: Row;
|
|
7
|
-
index: number;
|
|
8
7
|
uniqueField?: UniqueField;
|
|
9
8
|
renderMode: IFlexibleTableRenderMode;
|
|
10
9
|
/** @default false */
|
|
@@ -20,12 +19,13 @@ export interface IFlexibleTableRowProps<Row extends ITableRow, HeaderContent ext
|
|
|
20
19
|
columns: Array<keyof Row & string>;
|
|
21
20
|
rowAttributes?: Array<keyof Row>;
|
|
22
21
|
/** @default false */
|
|
23
|
-
isExpandableRowComponentInitiallyOpen?: boolean
|
|
22
|
+
isExpandableRowComponentInitiallyOpen?: boolean;
|
|
23
|
+
rowRef?: RefCallback<HTMLTableRowElement>;
|
|
24
24
|
/** Возвращает React-элемент, который отрисуется под строкой при нажатии на неё */
|
|
25
25
|
expandableRowComponent?: (item: Row, isOpen: boolean, close: () => void) => ReactNode;
|
|
26
26
|
onRowHover?: (id?: Row[UniqueField]) => void;
|
|
27
27
|
onRowClick?: (id: Row[UniqueField]) => void;
|
|
28
28
|
}
|
|
29
|
-
declare function FlexibleTableRowInner<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row>({ item,
|
|
29
|
+
declare function FlexibleTableRowInner<Row extends ITableRow, HeaderContent extends IHeaderContent<Row>, UniqueField extends keyof Row>({ item, config, columns, uniqueField, renderMode, isActive, isFocusable, isFirstColumnSticky, isLoading, rowAttributes, isExpandableRowComponentInitiallyOpen, rowRef, tweakStyles, expandableRowComponent, onRowHover, onRowClick, }: IFlexibleTableRowProps<Row, HeaderContent, UniqueField>): JSX.Element;
|
|
30
30
|
export declare const FlexibleTableRow: typeof FlexibleTableRowInner;
|
|
31
31
|
export {};
|
package/dist/components/FlexibleTable/components/FlexibleTableRow/FlexibleTableRow.styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IFlexibleTableCellStyles } from '../FlexibleTableCell';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"root" | "active" | "editable" | "clickable" | "nestedComponent">;
|
|
4
4
|
export type IFlexibleTableRowStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakTableCell: IFlexibleTableCellStyles;
|
|
6
6
|
}>;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
import { IFlexibleTableRenderMode, IFlexibleTableRender } from './types';
|
|
2
1
|
export declare const DEFAULT_DATE_FORMAT = "dd.MM.yyyy";
|
|
3
|
-
export declare const TableRenders:
|
|
2
|
+
export declare const TableRenders: {
|
|
3
|
+
table: {
|
|
4
|
+
Root: "table";
|
|
5
|
+
Head: "thead";
|
|
6
|
+
Body: "tbody";
|
|
7
|
+
Row: "tr";
|
|
8
|
+
Header: "th";
|
|
9
|
+
Cell: "td";
|
|
10
|
+
};
|
|
11
|
+
divs: {
|
|
12
|
+
Root: "div";
|
|
13
|
+
Head: "div";
|
|
14
|
+
Body: "div";
|
|
15
|
+
Row: "div";
|
|
16
|
+
Header: "div";
|
|
17
|
+
Cell: "div";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IFlexibleTableConfigType, ITableRow } from './types';
|
|
1
|
+
import { IFlexibleTableConfigType, IHeaderContent, ITableRow } from './types';
|
|
2
2
|
export declare const hasHorizontalScrollBar: (el: HTMLElement | null | undefined) => boolean;
|
|
3
|
-
export declare const formatCellContent: <Values extends ITableRow, HeaderContent extends
|
|
3
|
+
export declare const formatCellContent: <Values extends ITableRow, HeaderContent extends IHeaderContent<Values>>(value: unknown, config?: IFlexibleTableConfigType<Values, HeaderContent>[keyof Values]) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, MouseEvent, ReactNode } from 'react';
|
|
2
2
|
import { IRenderNode } from '../../types';
|
|
3
3
|
export type IFlexibleTableRenderMode = 'table' | 'divs';
|
|
4
|
-
export type
|
|
4
|
+
export type IFlexibleTableRenderElement = 'Root' | 'Head' | 'Body' | 'Row' | 'Header' | 'Cell';
|
|
5
5
|
export type ITableRow = Record<string, any>;
|
|
6
6
|
export type IHeaderContent<T extends ITableRow> = Partial<Record<keyof T, unknown>>;
|
|
7
7
|
export interface ITitleComponentProps<Value> {
|
|
@@ -21,16 +21,16 @@ export interface IFlexibleTableRowConfig<Values extends ITableRow, Key extends k
|
|
|
21
21
|
title?: IRenderNode<ITitleComponentProps<HeaderContent[Key]>>;
|
|
22
22
|
component?: IRenderNode<IValueComponentProps<Values, NonNullable<Values[Key]>>>;
|
|
23
23
|
dateFormat?: string;
|
|
24
|
-
minWidth?:
|
|
25
|
-
width?:
|
|
26
|
-
maxWidth?:
|
|
24
|
+
minWidth?: CSSProperties['minWidth'];
|
|
25
|
+
width?: CSSProperties['width'];
|
|
26
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
27
27
|
/** @default 'left' */
|
|
28
28
|
titleAlign?: CSSProperties['textAlign'];
|
|
29
29
|
cellAlign?: CSSProperties['textAlign'];
|
|
30
30
|
cellVerticalAlign?: CSSProperties['verticalAlign'];
|
|
31
31
|
position?: CSSProperties['position'];
|
|
32
|
-
right?:
|
|
33
|
-
left?:
|
|
32
|
+
right?: CSSProperties['right'];
|
|
33
|
+
left?: CSSProperties['left'];
|
|
34
34
|
shouldRenderDataId?: boolean;
|
|
35
35
|
/**
|
|
36
36
|
* Проверка, нужно ли отрисовать component
|
|
@@ -44,14 +44,22 @@ export type IFlexibleTableConfigType<Values extends ITableRow, HeaderContent ext
|
|
|
44
44
|
[Key in keyof Values]?: IFlexibleTableRowConfig<Values, Key, HeaderContent>;
|
|
45
45
|
};
|
|
46
46
|
export interface IInfinityScrollConfig {
|
|
47
|
-
|
|
48
|
-
totalPages: number;
|
|
47
|
+
isEnabled?: boolean;
|
|
49
48
|
isLoading: boolean;
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
onInfinityScroll: {
|
|
50
|
+
(_: never): void;
|
|
51
|
+
/** @deprecated use activePage directly */
|
|
52
|
+
(skip: number): void;
|
|
53
|
+
};
|
|
54
|
+
/** @deprecated use activePage in onInfinityScroll */
|
|
55
|
+
activePage?: number;
|
|
56
|
+
/** @deprecated use isEnabled */
|
|
57
|
+
isLastPage?: boolean;
|
|
58
|
+
/** @deprecated use isEnabled */
|
|
59
|
+
totalPages?: number;
|
|
52
60
|
}
|
|
53
|
-
export interface INestedComponent {
|
|
61
|
+
export interface INestedComponent<T extends PropertyKey = string> {
|
|
54
62
|
isOpen: boolean;
|
|
55
63
|
component?: ReactNode;
|
|
56
|
-
cellKey?:
|
|
64
|
+
cellKey?: T;
|
|
57
65
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ITweakStyles } from '../../theme';
|
|
2
|
+
import { IDocActionsStyles } from './components';
|
|
3
|
+
export declare const useStyles: (data?: {
|
|
4
|
+
theme?: Jss.Theme | undefined;
|
|
5
|
+
} | undefined) => import('jss').Classes<"slide-up-enter" | "slide-up-enter-active" | "slide-up-exit-active" | "slide-up-exit">;
|
|
6
|
+
export type IFloatDocActionsStyles = ITweakStyles<typeof useStyles, {
|
|
7
|
+
tweakDocActions: IDocActionsStyles;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { ICommonProps } from '../../../../types';
|
|
3
|
+
import { ICheckboxProps } from '../../../Checkbox';
|
|
4
|
+
import { IDocActionsView } from './types';
|
|
5
|
+
import { IDocActionsStyles } from './DocActions.styles';
|
|
6
|
+
export interface IDocActionsProps extends Omit<ICheckboxProps<never>, 'tweakStyles'>, ICommonProps<IDocActionsStyles> {
|
|
7
|
+
title: string;
|
|
8
|
+
/** @default 'neutral' */
|
|
9
|
+
view?: IDocActionsView;
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const DocActions: FC<IDocActionsProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ITweakStyles } from '../../../../theme';
|
|
2
|
+
import { ICheckboxStyles } from '../../../Checkbox';
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"docActions" | "neutral" | "inverse" | "counterWrapper" | "title" | "actionsWrapper">;
|
|
4
|
+
export type IDocActionsStyles = ITweakStyles<typeof useStyles, {
|
|
5
|
+
tweakCheckbox: ICheckboxStyles;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DOC_ACTIONS_VIEWS: readonly ["neutral", "inverse"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DocActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_TIMEOUT = 150;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const iconsMap: {
|
|
2
|
+
avatar: string;
|
|
3
|
+
calendar: string;
|
|
4
|
+
check: string;
|
|
5
|
+
'chevron-down-small': string;
|
|
6
|
+
'chevron-down': string;
|
|
7
|
+
'chevron-left': string;
|
|
8
|
+
'chevron-right': string;
|
|
9
|
+
'close-large': string;
|
|
10
|
+
'close-window': string;
|
|
11
|
+
close: string;
|
|
12
|
+
'file-excel': string;
|
|
13
|
+
'file-image': string;
|
|
14
|
+
'file-other': string;
|
|
15
|
+
'file-pdf': string;
|
|
16
|
+
'file-word': string;
|
|
17
|
+
'file-xml': string;
|
|
18
|
+
'file-zip': string;
|
|
19
|
+
filter: string;
|
|
20
|
+
information: string;
|
|
21
|
+
menu: string;
|
|
22
|
+
minus: string;
|
|
23
|
+
plus: string;
|
|
24
|
+
search: string;
|
|
25
|
+
'status-error': string;
|
|
26
|
+
'status-info': string;
|
|
27
|
+
'status-not-ok': string;
|
|
28
|
+
'status-ok': string;
|
|
29
|
+
'status-warning': string;
|
|
30
|
+
'trash-can': string;
|
|
31
|
+
};
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { ReactElement
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
paths?: Array<SVGAttributes<never>>;
|
|
7
|
-
circles?: Array<SVGAttributes<never>>;
|
|
8
|
-
rects?: Array<SVGAttributes<never>>;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { iconsMap } from './icons';
|
|
3
|
+
export type ISvgIcon = string;
|
|
4
|
+
type IUiKitIconsMap = typeof iconsMap;
|
|
5
|
+
export interface IIconsMap extends IUiKitIconsMap {
|
|
9
6
|
}
|
|
10
|
-
export type
|
|
11
|
-
export type IComplexIcon = keyof typeof complexIcons;
|
|
12
|
-
export type IIconType = ICommonIcon | IComplexIcon;
|
|
7
|
+
export type IIconType = keyof IIconsMap;
|
|
13
8
|
export type IIcon = IIconType | ReactElement;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ICommonProps } from '../../types';
|
|
3
2
|
import { IIcon } from '../Icon';
|
|
4
3
|
import { IIconButtonSize, IIconButtonView, IIconButtonHTMLBaseProps } from './types';
|
|
@@ -16,4 +15,4 @@ export interface IIconButtonProps extends IIconButtonHTMLBaseProps, ICommonProps
|
|
|
16
15
|
/** @default false */
|
|
17
16
|
isLoading?: boolean;
|
|
18
17
|
}
|
|
19
|
-
export declare const IconButton: import(
|
|
18
|
+
export declare const IconButton: import('react').ForwardRefExoticComponent<IIconButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../theme').IUseStyles<"main" | "custom" | "cancel" | "root" | "icon" | "active" | "disabled" | "s" | "m" | "l" | "loader" | "loading" | "cancel-light">;
|
|
3
3
|
export type IIconButtonStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ICON_BUTTON_SIZES: readonly ["s", "m"];
|
|
1
|
+
export declare const ICON_BUTTON_SIZES: readonly ["s", "m", "l"];
|
|
2
2
|
export declare const ICON_BUTTON_VIEWS: readonly ["cancel", "cancel-light", "main", "custom"];
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IInputStyles } from '../Input';
|
|
3
|
-
export declare const BUTTONS_WIDTH = 36;
|
|
4
|
-
export declare const BUTTONS_GAP = 2;
|
|
5
|
-
export declare const useStyles: import("../../theme").IUseStyles<"root" | "button" | "buttons" | "disabledButton" | "errorButton", unknown>;
|
|
6
3
|
export declare const inputStyles: IInputStyles;
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"button" | "icon" | "buttons" | "disabledButton" | "errorButton">;
|
|
7
5
|
export type IIncrementInputStyles = ITweakStyles<typeof useStyles, {
|
|
8
6
|
tweakInput: IInputStyles;
|
|
9
7
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IWithMessagesProps } from '../WithMessages';
|
|
3
2
|
import { IInputBaseProps } from './InputBase';
|
|
4
|
-
export
|
|
5
|
-
|
|
3
|
+
export interface IInputProps extends IInputBaseProps, Pick<IWithMessagesProps, 'infoMessage' | 'errorMessage'> {
|
|
4
|
+
}
|
|
5
|
+
export declare const Input: import('react').ForwardRefExoticComponent<IInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IControlWrapperStyles } from '../ControlWrapper';
|
|
3
3
|
import { IWithMessagesStyles } from '../WithMessages';
|
|
4
|
-
export declare const useStyles: import(
|
|
4
|
+
export declare const useStyles: import('../../theme').IUseStyles<"input" | "withValue" | "inputContent" | "defaultWrapper" | "autoSizeWrapper" | "autoSized" | "withUnits" | "withLabel" | "fakeValue" | "units" | "focusedInput" | "disabledInput" | "invalidInput">;
|
|
5
5
|
export type IInputStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakControlWrapper: IControlWrapperStyles;
|
|
7
7
|
tweakWithMessages: IWithMessagesStyles;
|
|
@@ -4,7 +4,7 @@ import { ICommonProps } from '../../types';
|
|
|
4
4
|
import { IControlWrapperProps } from '../ControlWrapper';
|
|
5
5
|
import { IChangeInputEvent } from './types';
|
|
6
6
|
import { IInputStyles } from './Input.styles';
|
|
7
|
-
export interface IInputBaseProps extends ICommonProps<IInputStyles>,
|
|
7
|
+
export interface IInputBaseProps extends ICommonProps<IInputStyles>, Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'size' | 'className'>, Pick<IControlWrapperProps, 'label' | 'icon' | 'size' | 'groupPlacement' | 'isInvalid' | 'isRequired' | 'isLoading' | 'isDisabled'>, Pick<Partial<ReactInputMaskBaseProps>, 'mask' | 'maskPlaceholder' | 'alwaysShowMask' | 'beforeMaskedStateChange'> {
|
|
8
8
|
value?: string;
|
|
9
9
|
units?: ReactNode;
|
|
10
10
|
/** @default false */
|
|
@@ -19,6 +19,6 @@ export interface IInputBaseProps extends ICommonProps<IInputStyles>, Pick<IContr
|
|
|
19
19
|
isAutoSized?: boolean;
|
|
20
20
|
/** @default false */
|
|
21
21
|
shouldAlwaysShowPlaceholder?: boolean;
|
|
22
|
-
onChange(value: string, event: IChangeInputEvent
|
|
22
|
+
onChange: (value: string, event: IChangeInputEvent, eventType: 'change' | 'clear') => void;
|
|
23
23
|
}
|
|
24
|
-
export declare const InputBase: import(
|
|
24
|
+
export declare const InputBase: import('react').ForwardRefExoticComponent<IInputBaseProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC, KeyboardEvent, MouseEvent } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
|
-
import {
|
|
3
|
+
import { IListItem } from './types';
|
|
4
4
|
import { IListStyles } from './List.styles';
|
|
5
5
|
export interface IListProps extends ICommonProps<IListStyles> {
|
|
6
6
|
items: IListItem[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IWithPopupStyles } from '../WithPopup';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "nestedItems">;
|
|
4
4
|
export declare const withPopupStyles: IWithPopupStyles;
|
|
5
5
|
export type IListStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"content" | "root" | "default" | "icon" | "destructive" | "focused" | "disabledItem" | "spacer" | "withIconGap">;
|
|
3
3
|
export type IListItemStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export * from './List';
|
|
2
2
|
export type { IListStyles } from './List.styles';
|
|
3
|
-
export
|
|
3
|
+
export type { IListItem } from './types';
|
|
4
|
+
export { type IListItemStyles, type IListItemProps, ListItem } from './components';
|
|
@@ -4,7 +4,7 @@ import { IModalPosition, IModalTransitionProps } from './types';
|
|
|
4
4
|
import { IModalStyles } from './Modal.styles';
|
|
5
5
|
export interface IModalProps extends ICommonProps<IModalStyles>, IModalTransitionProps {
|
|
6
6
|
title?: ReactNode;
|
|
7
|
-
/** @default 'l */
|
|
7
|
+
/** @default 'l' */
|
|
8
8
|
size?: 'l' | 'm' | 's';
|
|
9
9
|
/** @default false */
|
|
10
10
|
isFooterSticky?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IIconButtonStyles } from '../IconButton';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"content" | "overlay" | "close" | "root" | "s" | "m" | "l" | "title" | "footer" | "fixedPosition" | "innerOverlay" | "sideBar" | "position-static" | "position-left" | "position-right" | "position-center" | "modal" | "titleWithCloseButton" | "stickyFooterWrapper" | "stickyFooter" | "buttons-left" | "buttons-center" | "buttons-right" | "withoutFooter" | "withStickyFooter" | "footerWrapper" | "modalWrapper" | "animationEnd" | "animationStart" | "modal-enter" | "modal-enter-active" | "modal-exit" | "modal-exit-active">;
|
|
4
4
|
export declare const closeButtonStyles: IIconButtonStyles;
|
|
5
5
|
export type IModalStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakCloseButton: IIconButtonStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IListStyles } from '../List';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"root" | "button" | "icon" | "menu" | "active" | "disabled" | "hasCircle">;
|
|
4
4
|
export type IMoreMenuStyles = ITweakStyles<typeof useStyles, {
|
|
5
5
|
tweakList: IListStyles;
|
|
6
6
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../theme';
|
|
2
2
|
import { IMultiSelectListStyles } from '../MultiSelectList';
|
|
3
|
-
export declare const useStyles: import(
|
|
3
|
+
export declare const useStyles: import('../../theme').IUseStyles<"left" | "right" | "invalid" | "root" | "open" | "disabled" | "required" | "listContainer" | "full">;
|
|
4
4
|
export declare const multiSelectListStyles: IMultiSelectListStyles;
|
|
5
5
|
export type IMultiSelectStyles = ITweakStyles<typeof useStyles, {
|
|
6
6
|
tweakMultiSelectList: IMultiSelectListStyles;
|
package/dist/components/MultiSelect/components/MultiSelectInput/MultiSelectInput.styles.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
|
-
export declare const useStyles: import(
|
|
2
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"value" | "values" | "root" | "placeholder" | "placeholderSmall" | "amount" | "indicator" | "arrow" | "arrowUp" | "indicatorDisabled">;
|
|
3
3
|
export type IMultiSelectInputStyles = ITweakStyles<typeof useStyles>;
|
|
@@ -2,7 +2,7 @@ import { ITweakStyles } from '../../theme';
|
|
|
2
2
|
import { IButtonStyles } from '../Button';
|
|
3
3
|
import { ICheckboxStyles } from '../Checkbox';
|
|
4
4
|
import { ISearchInputStyles } from '../SearchInput';
|
|
5
|
-
export declare const useStyles: import(
|
|
5
|
+
export declare const useStyles: import('../../theme').IUseStyles<"clear" | "item" | "root" | "label" | "preloader" | "list" | "labelChosen" | "withoutTopGap" | "option" | "panel" | "dropdownInput" | "nothingFound" | "selectedItem">;
|
|
6
6
|
export declare const searchInputStyles: ISearchInputStyles;
|
|
7
7
|
export declare const checkboxStyles: ICheckboxStyles;
|
|
8
8
|
export declare const clearButtonStyles: IButtonStyles;
|