@mmb-digital/ds-lilly 0.10.68 → 0.10.69
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/dist/ds-lilly.js +11965 -12528
- package/dist/svg/toolBox.svg +1 -0
- package/dist/types/src/components/Components/Alert/Alert.d.ts +24 -24
- package/dist/types/src/components/Components/Alert/index.d.ts +1 -1
- package/dist/types/src/components/Components/Avatar/Avatar.d.ts +26 -26
- package/dist/types/src/components/Components/Avatar/index.d.ts +1 -1
- package/dist/types/src/components/Components/Badge/Badge.d.ts +19 -19
- package/dist/types/src/components/Components/Badge/index.d.ts +1 -1
- package/dist/types/src/components/Components/Button/Button.d.ts +56 -56
- package/dist/types/src/components/Components/Button/ButtonsGroup.d.ts +12 -12
- package/dist/types/src/components/Components/Button/index.d.ts +2 -2
- package/dist/types/src/components/Components/ButtonTooltip/ButtonTooltip.d.ts +9 -9
- package/dist/types/src/components/Components/ButtonTooltip/index.d.ts +1 -1
- package/dist/types/src/components/Components/Card/Card.d.ts +63 -63
- package/dist/types/src/components/Components/Card/_elements_/CardCustomTrigger.d.ts +5 -5
- package/dist/types/src/components/Components/Card/_elements_/CollapseHeader.d.ts +20 -20
- package/dist/types/src/components/Components/Card/_elements_/index.d.ts +2 -2
- package/dist/types/src/components/Components/Card/index.d.ts +2 -2
- package/dist/types/src/components/Components/Carousel/Carousel.d.ts +21 -21
- package/dist/types/src/components/Components/Carousel/index.d.ts +1 -1
- package/dist/types/src/components/Components/Collapse/Collapse.d.ts +23 -23
- package/dist/types/src/components/Components/Collapse/index.d.ts +1 -1
- package/dist/types/src/components/Components/CompactButtons/CompactButtons.d.ts +56 -56
- package/dist/types/src/components/Components/CompactButtons/index.d.ts +1 -1
- package/dist/types/src/components/Components/ContentTable/ContentTable.d.ts +27 -27
- package/dist/types/src/components/Components/ContentTable/ContentTableRow.d.ts +60 -60
- package/dist/types/src/components/Components/ContentTable/index.d.ts +2 -2
- package/dist/types/src/components/Components/Divider/Divider.d.ts +6 -6
- package/dist/types/src/components/Components/Divider/index.d.ts +1 -1
- package/dist/types/src/components/Components/Dropdown/Dropdown.d.ts +41 -41
- package/dist/types/src/components/Components/Dropdown/_elements_/DropdownItem.d.ts +33 -33
- package/dist/types/src/components/Components/Dropdown/_elements_/DropdownMenu.d.ts +18 -18
- package/dist/types/src/components/Components/Dropdown/_elements_/index.d.ts +2 -2
- package/dist/types/src/components/Components/Dropdown/index.d.ts +2 -2
- package/dist/types/src/components/Components/Dropdown2/Dropdown2.d.ts +7 -7
- package/dist/types/src/components/Components/Dropdown2/_elements_/Dropdown2Divider.d.ts +6 -6
- package/dist/types/src/components/Components/Dropdown2/_elements_/Dropdown2Item.d.ts +2 -2
- package/dist/types/src/components/Components/Dropdown2/_elements_/index.d.ts +2 -2
- package/dist/types/src/components/Components/Dropdown2/index.d.ts +2 -2
- package/dist/types/src/components/Components/Icon/Icon.d.ts +24 -24
- package/dist/types/src/components/Components/Icon/index.d.ts +1 -1
- package/dist/types/src/components/Components/IconList/IconList.d.ts +7 -7
- package/dist/types/src/components/Components/IconList/IconListItem.d.ts +23 -23
- package/dist/types/src/components/Components/IconList/index.d.ts +2 -2
- package/dist/types/src/components/Components/Image/Image.d.ts +12 -12
- package/dist/types/src/components/Components/Image/index.d.ts +1 -1
- package/dist/types/src/components/Components/Link/Link.d.ts +35 -35
- package/dist/types/src/components/Components/Link/index.d.ts +1 -1
- package/dist/types/src/components/Components/List/List.d.ts +11 -11
- package/dist/types/src/components/Components/List/ListItem.d.ts +9 -9
- package/dist/types/src/components/Components/List/index.d.ts +2 -2
- package/dist/types/src/components/Components/Loader/Loader.d.ts +12 -12
- package/dist/types/src/components/Components/Loader/index.d.ts +1 -1
- package/dist/types/src/components/Components/Modal/Modal.d.ts +10 -10
- package/dist/types/src/components/Components/Modal/Modal.hook.d.ts +26 -26
- package/dist/types/src/components/Components/Modal/ModalContent.d.ts +7 -7
- package/dist/types/src/components/Components/Modal/ModalDialog.d.ts +9 -9
- package/dist/types/src/components/Components/Modal/ModalFooter.d.ts +7 -7
- package/dist/types/src/components/Components/Modal/ModalHeader.d.ts +21 -21
- package/dist/types/src/components/Components/Modal/index.d.ts +6 -6
- package/dist/types/src/components/Components/Pills/Pills.d.ts +23 -23
- package/dist/types/src/components/Components/Pills/index.d.ts +1 -1
- package/dist/types/src/components/Components/Tag/Tag.d.ts +16 -16
- package/dist/types/src/components/Components/Tag/index.d.ts +1 -1
- package/dist/types/src/components/Components/Tile/Tile.d.ts +21 -21
- package/dist/types/src/components/Components/Tile/index.d.ts +1 -1
- package/dist/types/src/components/Components/Toast/Toast.d.ts +11 -11
- package/dist/types/src/components/Components/Toast/Toast.hook.d.ts +11 -11
- package/dist/types/src/components/Components/Toast/index.d.ts +2 -2
- package/dist/types/src/components/Components/Tooltip/Tooltip.d.ts +29 -29
- package/dist/types/src/components/Components/Tooltip/index.d.ts +1 -1
- package/dist/types/src/components/Components/UserAuth/UserAuth.d.ts +48 -48
- package/dist/types/src/components/Components/UserAuth/index.d.ts +1 -1
- package/dist/types/src/components/Components/index.d.ts +26 -26
- package/dist/types/src/components/Form/Autocomplete/Autocomplete.d.ts +35 -35
- package/dist/types/src/components/Form/Autocomplete/index.d.ts +1 -1
- package/dist/types/src/components/Form/Autocomplete2/Autocomplete2.d.ts +49 -49
- package/dist/types/src/components/Form/Autocomplete2/index.d.ts +1 -1
- package/dist/types/src/components/Form/BankAccountSelect/BankAccountSelect.d.ts +11 -11
- package/dist/types/src/components/Form/BankAccountSelect/index.d.ts +1 -1
- package/dist/types/src/components/Form/Checkbox/Checkbox.d.ts +9 -9
- package/dist/types/src/components/Form/Checkbox/index.d.ts +1 -1
- package/dist/types/src/components/Form/Checkbox2/Checkbox2.d.ts +5 -5
- package/dist/types/src/components/Form/Checkbox2/index.d.ts +1 -1
- package/dist/types/src/components/Form/CheckboxControl/CheckboxControl.d.ts +2 -2
- package/dist/types/src/components/Form/CheckboxControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/DatePicker/DatePicker.d.ts +23 -23
- package/dist/types/src/components/Form/DatePicker/index.d.ts +1 -1
- package/dist/types/src/components/Form/DatePicker2/DatePicker2.d.ts +21 -21
- package/dist/types/src/components/Form/DatePicker2/index.d.ts +1 -1
- package/dist/types/src/components/Form/DecimalInput/DecimalInput.d.ts +11 -11
- package/dist/types/src/components/Form/DecimalInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/FileUpload/FileUpload.d.ts +78 -78
- package/dist/types/src/components/Form/FileUpload/FileUpload.hook.d.ts +8 -8
- package/dist/types/src/components/Form/FileUpload/_parts_/FileList.d.ts +22 -22
- package/dist/types/src/components/Form/FileUpload/_parts_/index.d.ts +1 -1
- package/dist/types/src/components/Form/FileUpload/index.d.ts +2 -2
- package/dist/types/src/components/Form/FormControl/FormControl.d.ts +29 -29
- package/dist/types/src/components/Form/FormControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/FormField/FormField.d.ts +63 -63
- package/dist/types/src/components/Form/FormField/index.d.ts +1 -1
- package/dist/types/src/components/Form/FormGroup/FormGroup.d.ts +15 -15
- package/dist/types/src/components/Form/FormGroup/index.d.ts +1 -1
- package/dist/types/src/components/Form/FormGroup2/FormGroup2.d.ts +32 -32
- package/dist/types/src/components/Form/FormGroup2/index.d.ts +1 -1
- package/dist/types/src/components/Form/FormText/FormText.d.ts +13 -13
- package/dist/types/src/components/Form/FormText/index.d.ts +1 -1
- package/dist/types/src/components/Form/Input2/Input2.d.ts +44 -44
- package/dist/types/src/components/Form/Input2/_elements_/ShowPasswordIcon.d.ts +7 -7
- package/dist/types/src/components/Form/Input2/_elements_/index.d.ts +1 -1
- package/dist/types/src/components/Form/Input2/index.d.ts +1 -1
- package/dist/types/src/components/Form/IntegerInput/IntegerInput.d.ts +15 -15
- package/dist/types/src/components/Form/IntegerInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/Label/Label.d.ts +14 -14
- package/dist/types/src/components/Form/Label/index.d.ts +1 -1
- package/dist/types/src/components/Form/Label2/Label2.d.ts +10 -10
- package/dist/types/src/components/Form/Label2/index.d.ts +1 -1
- package/dist/types/src/components/Form/MonthInput/MonthInput.d.ts +23 -23
- package/dist/types/src/components/Form/MonthInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/Multiselect/Multiselect.d.ts +23 -23
- package/dist/types/src/components/Form/Multiselect/index.d.ts +1 -1
- package/dist/types/src/components/Form/PasswordInput/PasswordInput.d.ts +11 -11
- package/dist/types/src/components/Form/PasswordInput/WithShowPassword.d.ts +12 -12
- package/dist/types/src/components/Form/PasswordInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/PersonCount/PersonCount.d.ts +12 -12
- package/dist/types/src/components/Form/PersonCount/index.d.ts +1 -1
- package/dist/types/src/components/Form/Radio/Radio.d.ts +5 -5
- package/dist/types/src/components/Form/Radio/index.d.ts +1 -1
- package/dist/types/src/components/Form/Radio2/Radio2.d.ts +17 -17
- package/dist/types/src/components/Form/Radio2/index.d.ts +1 -1
- package/dist/types/src/components/Form/RadioControl/RadioControl.d.ts +2 -2
- package/dist/types/src/components/Form/RadioControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/RadioGroup/RadioGroup.d.ts +31 -31
- package/dist/types/src/components/Form/RadioGroup/index.d.ts +1 -1
- package/dist/types/src/components/Form/SearchInput/SearchInput.d.ts +2 -2
- package/dist/types/src/components/Form/SearchInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/Select/Select.d.ts +16 -16
- package/dist/types/src/components/Form/Select/index.d.ts +1 -1
- package/dist/types/src/components/Form/Select2/Select2.d.ts +37 -37
- package/dist/types/src/components/Form/Select2/_elements_/Select2CategorisedOptions.d.ts +4 -4
- package/dist/types/src/components/Form/Select2/_elements_/Select2Options.d.ts +4 -4
- package/dist/types/src/components/Form/Select2/_elements_/SelectedOption.d.ts +16 -16
- package/dist/types/src/components/Form/Select2/_elements_/index.d.ts +3 -3
- package/dist/types/src/components/Form/Select2/index.d.ts +2 -2
- package/dist/types/src/components/Form/SelectControl/SelectControl.d.ts +14 -14
- package/dist/types/src/components/Form/SelectControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/SelectControlAutocomplete/SelectControlAutocomplete.d.ts +19 -19
- package/dist/types/src/components/Form/SelectControlAutocomplete/index.d.ts +1 -1
- package/dist/types/src/components/Form/SelectControlStatic/SelectControlStatic.d.ts +3 -3
- package/dist/types/src/components/Form/SelectControlStatic/index.d.ts +1 -1
- package/dist/types/src/components/Form/SelectItem/SelectItem.d.ts +2 -2
- package/dist/types/src/components/Form/SelectItem/index.d.ts +1 -1
- package/dist/types/src/components/Form/SelectMenu/SelectMenu.d.ts +22 -22
- package/dist/types/src/components/Form/SelectMenu/index.d.ts +1 -1
- package/dist/types/src/components/Form/SelectOption/SelectOption.d.ts +17 -17
- package/dist/types/src/components/Form/SelectOption/index.d.ts +1 -1
- package/dist/types/src/components/Form/Slider/Slider.d.ts +71 -71
- package/dist/types/src/components/Form/Slider/index.d.ts +1 -1
- package/dist/types/src/components/Form/TextInput/TextInput.d.ts +6 -6
- package/dist/types/src/components/Form/TextInput/index.d.ts +1 -1
- package/dist/types/src/components/Form/TextInputControl/TextInputControl.d.ts +7 -7
- package/dist/types/src/components/Form/TextInputControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/Textarea/Textarea.d.ts +5 -5
- package/dist/types/src/components/Form/Textarea/index.d.ts +1 -1
- package/dist/types/src/components/Form/Textarea2/Textarea2.d.ts +11 -11
- package/dist/types/src/components/Form/Textarea2/index.d.ts +1 -1
- package/dist/types/src/components/Form/TextareaControl/TextareaControl.d.ts +2 -2
- package/dist/types/src/components/Form/TextareaControl/index.d.ts +1 -1
- package/dist/types/src/components/Form/Toggle/Toggle.d.ts +24 -24
- package/dist/types/src/components/Form/Toggle/index.d.ts +1 -1
- package/dist/types/src/components/Form/index.d.ts +43 -43
- package/dist/types/src/components/Graphs/AreaChart/AreaChart.d.ts +37 -37
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartArea/AreaChartArea.d.ts +23 -23
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartArea/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartLegend/AreaChartLegend.d.ts +16 -16
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartLegend/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartTooltip/AreaChartTooltip.d.ts +17 -17
- package/dist/types/src/components/Graphs/AreaChart/_elements_/AreaChartTooltip/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/AreaChart/_elements_/index.d.ts +3 -3
- package/dist/types/src/components/Graphs/AreaChart/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/ChartLegend/ChartLegend.d.ts +27 -27
- package/dist/types/src/components/Graphs/ChartLegend/_elements_/ChartLegendRow.d.ts +14 -14
- package/dist/types/src/components/Graphs/ChartLegend/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/PieChartExtended/PieChartExtended.d.ts +19 -19
- package/dist/types/src/components/Graphs/PieChartExtended/index.d.ts +1 -1
- package/dist/types/src/components/Graphs/index.d.ts +3 -3
- package/dist/types/src/components/Layout/App/App.d.ts +11 -11
- package/dist/types/src/components/Layout/App/AppContent.d.ts +7 -7
- package/dist/types/src/components/Layout/App/AppMain.d.ts +9 -9
- package/dist/types/src/components/Layout/App/index.d.ts +3 -3
- package/dist/types/src/components/Layout/Box/Box.d.ts +15 -15
- package/dist/types/src/components/Layout/Box/index.d.ts +1 -1
- package/dist/types/src/components/Layout/Curtain/Curtain.d.ts +7 -7
- package/dist/types/src/components/Layout/Curtain/index.d.ts +1 -1
- package/dist/types/src/components/Layout/Flex/Flex.d.ts +26 -26
- package/dist/types/src/components/Layout/Flex/index.d.ts +1 -1
- package/dist/types/src/components/Layout/Grid/Col.d.ts +20 -20
- package/dist/types/src/components/Layout/Grid/Row.d.ts +20 -20
- package/dist/types/src/components/Layout/Grid/index.d.ts +2 -2
- package/dist/types/src/components/Layout/Header/Header.d.ts +21 -21
- package/dist/types/src/components/Layout/Header/index.d.ts +1 -1
- package/dist/types/src/components/Layout/MobilePanel/MobilePanel.d.ts +17 -17
- package/dist/types/src/components/Layout/MobilePanel/MobilePanel.hook.d.ts +20 -20
- package/dist/types/src/components/Layout/MobilePanel/_elements_/Content.d.ts +9 -9
- package/dist/types/src/components/Layout/MobilePanel/_elements_/Header.d.ts +21 -21
- package/dist/types/src/components/Layout/MobilePanel/_elements_/index.d.ts +2 -2
- package/dist/types/src/components/Layout/MobilePanel/index.d.ts +2 -2
- package/dist/types/src/components/Layout/Sidebar/Sidebar.d.ts +7 -7
- package/dist/types/src/components/Layout/Sidebar/index.d.ts +1 -1
- package/dist/types/src/components/Layout/index.d.ts +8 -8
- package/dist/types/src/components/Navigation/Menu/Menu.d.ts +17 -17
- package/dist/types/src/components/Navigation/Menu/_elements_/MenuItem.d.ts +44 -44
- package/dist/types/src/components/Navigation/Menu/_elements_/MenuList.d.ts +7 -7
- package/dist/types/src/components/Navigation/Menu/_elements_/SubMenu.d.ts +11 -11
- package/dist/types/src/components/Navigation/Menu/_elements_/SubMenuItem.d.ts +10 -10
- package/dist/types/src/components/Navigation/Menu/_elements_/index.d.ts +4 -4
- package/dist/types/src/components/Navigation/Menu/index.d.ts +2 -2
- package/dist/types/src/components/Navigation/Stepper/Stepper.d.ts +19 -19
- package/dist/types/src/components/Navigation/Stepper/_parts_/Step.d.ts +16 -16
- package/dist/types/src/components/Navigation/Stepper/index.d.ts +1 -1
- package/dist/types/src/components/Navigation/Tabs/Tabs.d.ts +28 -28
- package/dist/types/src/components/Navigation/Tabs/_elements_/TabListItem.d.ts +17 -17
- package/dist/types/src/components/Navigation/Tabs/_elements_/TabsBar.d.ts +10 -10
- package/dist/types/src/components/Navigation/Tabs/_elements_/index.d.ts +2 -2
- package/dist/types/src/components/Navigation/Tabs/index.d.ts +2 -2
- package/dist/types/src/components/Navigation/index.d.ts +3 -3
- package/dist/types/src/components/Typography/AmountWithUnit/AmountWithUnit.d.ts +28 -28
- package/dist/types/src/components/Typography/AmountWithUnit/index.d.ts +1 -1
- package/dist/types/src/components/Typography/NumChange/NumChange.d.ts +23 -23
- package/dist/types/src/components/Typography/NumChange/index.d.ts +1 -1
- package/dist/types/src/components/Typography/Text/Text.d.ts +24 -24
- package/dist/types/src/components/Typography/Text/index.d.ts +1 -1
- package/dist/types/src/components/Typography/Title/Title.d.ts +20 -20
- package/dist/types/src/components/Typography/Title/index.d.ts +1 -1
- package/dist/types/src/components/Typography/index.d.ts +4 -4
- package/dist/types/src/constants/global.d.ts +12 -12
- package/dist/types/src/constants/graphs.d.ts +4 -4
- package/dist/types/src/constants/index.d.ts +1 -1
- package/dist/types/src/contexts/CardContext.d.ts +15 -15
- package/dist/types/src/contexts/ContentTableContext.d.ts +29 -29
- package/dist/types/src/contexts/FormGroupContext.d.ts +14 -14
- package/dist/types/src/contexts/MobilePanelContext.d.ts +25 -25
- package/dist/types/src/contexts/ModalContext.d.ts +21 -21
- package/dist/types/src/contexts/Select2Context.d.ts +19 -19
- package/dist/types/src/contexts/TabsContext.d.ts +16 -16
- package/dist/types/src/contexts/index.d.ts +6 -6
- package/dist/types/src/hocs/index.d.ts +1 -1
- package/dist/types/src/hocs/withDisabledTooltip.d.ts +7 -7
- package/dist/types/src/index.d.ts +11 -11
- package/dist/types/src/types/colors.d.ts +2 -2
- package/dist/types/src/types/common.d.ts +53 -53
- package/dist/types/src/types/iconName.d.ts +1 -1
- package/dist/types/src/types/index.d.ts +3 -3
- package/dist/types/src/utils/classBinder.d.ts +25 -25
- package/dist/types/src/utils/configureDecimalMask.d.ts +9 -9
- package/dist/types/src/utils/configureIntegerMask.d.ts +8 -8
- package/dist/types/src/utils/constants.d.ts +23 -23
- package/dist/types/src/utils/getDefaultGroup.d.ts +3 -3
- package/dist/types/src/utils/getDisplayName.d.ts +2 -2
- package/dist/types/src/utils/getIntegerMask.d.ts +1 -1
- package/dist/types/src/utils/hasGroups.d.ts +2 -2
- package/dist/types/src/utils/hooks.d.ts +19 -19
- package/dist/types/src/utils/index.d.ts +19 -19
- package/dist/types/src/utils/isFilled.d.ts +1 -1
- package/dist/types/src/utils/isNotFilled.d.ts +1 -1
- package/dist/types/src/utils/isNotNilNorEmpty.d.ts +1 -1
- package/dist/types/src/utils/noop.d.ts +1 -1
- package/dist/types/src/utils/parseDateValue.d.ts +6 -6
- package/dist/types/src/utils/parseDecimalValue.d.ts +1 -1
- package/dist/types/src/utils/parseIntValue.d.ts +1 -1
- package/dist/types/src/utils/polyfills.d.ts +1 -1
- package/dist/types/src/utils/regExp.d.ts +1 -1
- package/dist/types/src/utils/removeNotSupportedCharacters.d.ts +1 -1
- package/dist/types/src/utils/stripDiacritics.d.ts +1 -1
- package/dist/types/src/utils/trimLeadingZeros.d.ts +1 -1
- package/dist/types/src/utils/ucfirst.d.ts +1 -1
- package/dist/types/src/utils/useGroupedItems.d.ts +13 -13
- package/package.json +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { IconNameType, TargetType, Theme } from '../../../../types';
|
|
3
|
-
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../../utils';
|
|
4
|
-
interface MenuItemPropsType extends ComponentPropsType, DisabledTooltipPropsType {
|
|
5
|
-
/** ARIA label */
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
/** Show count in badge on top right corner od icon. */
|
|
8
|
-
badgeCount?: number;
|
|
9
|
-
/** ARIA label for inner Badge */
|
|
10
|
-
badgeCountAriaLabel?: string;
|
|
11
|
-
/** Children to be rendered in the main container. */
|
|
12
|
-
children?: ReactNode | ReactNode[];
|
|
13
|
-
/** Custom CSS styles for <li> element. */
|
|
14
|
-
childrenTheme?: Theme;
|
|
15
|
-
/** Use when you need to render your custom component instead of default ones. */
|
|
16
|
-
hasCustomContent?: boolean;
|
|
17
|
-
/** Hide MenuItem for specific breakpoint(s). For more info visit https://design.moneta.cz/?path=/docs/layout-grid--cols#hiding-some-elements */
|
|
18
|
-
hide?: HideBreakpointsType;
|
|
19
|
-
/** Name of Icon. */
|
|
20
|
-
iconName?: IconNameType;
|
|
21
|
-
/** Convert item to a button component. */
|
|
22
|
-
isButton?: boolean;
|
|
23
|
-
/** Flag whether menu item is disabled */
|
|
24
|
-
isDisabled?: boolean;
|
|
25
|
-
/** Flag if added icon should be on the right side of element. */
|
|
26
|
-
isIconRight?: boolean;
|
|
27
|
-
/** Flag idicates if item is opened. */
|
|
28
|
-
isOpen?: boolean;
|
|
29
|
-
/** Define selected item. */
|
|
30
|
-
isSelected?: boolean;
|
|
31
|
-
/** Link to another URL. */
|
|
32
|
-
linkTo?: string;
|
|
33
|
-
/** Custom CSS styles for li element. */
|
|
34
|
-
liTheme?: Theme;
|
|
35
|
-
/** Click event handler. */
|
|
36
|
-
onClick?: (e: SyntheticEvent) => void;
|
|
37
|
-
/** Name of item. */
|
|
38
|
-
title?: string;
|
|
39
|
-
/** Target for link outside app. */
|
|
40
|
-
target?: TargetType;
|
|
41
|
-
}
|
|
42
|
-
declare type HideBreakpointsType = 'to-mobile' | 'mobile' | 'mobile-only' | 'mobile-max' | 'tablet' | 'tablet-only' | 'tablet-max' | 'desktop-small' | 'desktop-small-only' | 'desktop-small-max' | 'desktop' | 'desktop-only' | 'desktop-max' | 'desktop-large';
|
|
43
|
-
export declare const MenuItem: ({ ariaLabel, badgeCount, badgeCountAriaLabel, children, childrenTheme, disabledTooltip, disabledTooltipType, hasCustomContent, hide, iconName, isButton, isDisabled, isIconRight, isOpen, isSelected, liTheme, linkTo, onClick, target, testId, title }: MenuItemPropsType) => JSX.Element;
|
|
44
|
-
export {};
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { IconNameType, TargetType, Theme } from '../../../../types';
|
|
3
|
+
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../../utils';
|
|
4
|
+
interface MenuItemPropsType extends ComponentPropsType, DisabledTooltipPropsType {
|
|
5
|
+
/** ARIA label */
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
/** Show count in badge on top right corner od icon. */
|
|
8
|
+
badgeCount?: number;
|
|
9
|
+
/** ARIA label for inner Badge */
|
|
10
|
+
badgeCountAriaLabel?: string;
|
|
11
|
+
/** Children to be rendered in the main container. */
|
|
12
|
+
children?: ReactNode | ReactNode[];
|
|
13
|
+
/** Custom CSS styles for <li> element. */
|
|
14
|
+
childrenTheme?: Theme;
|
|
15
|
+
/** Use when you need to render your custom component instead of default ones. */
|
|
16
|
+
hasCustomContent?: boolean;
|
|
17
|
+
/** Hide MenuItem for specific breakpoint(s). For more info visit https://design.moneta.cz/?path=/docs/layout-grid--cols#hiding-some-elements */
|
|
18
|
+
hide?: HideBreakpointsType;
|
|
19
|
+
/** Name of Icon. */
|
|
20
|
+
iconName?: IconNameType;
|
|
21
|
+
/** Convert item to a button component. */
|
|
22
|
+
isButton?: boolean;
|
|
23
|
+
/** Flag whether menu item is disabled */
|
|
24
|
+
isDisabled?: boolean;
|
|
25
|
+
/** Flag if added icon should be on the right side of element. */
|
|
26
|
+
isIconRight?: boolean;
|
|
27
|
+
/** Flag idicates if item is opened. */
|
|
28
|
+
isOpen?: boolean;
|
|
29
|
+
/** Define selected item. */
|
|
30
|
+
isSelected?: boolean;
|
|
31
|
+
/** Link to another URL. */
|
|
32
|
+
linkTo?: string;
|
|
33
|
+
/** Custom CSS styles for li element. */
|
|
34
|
+
liTheme?: Theme;
|
|
35
|
+
/** Click event handler. */
|
|
36
|
+
onClick?: (e: SyntheticEvent) => void;
|
|
37
|
+
/** Name of item. */
|
|
38
|
+
title?: string;
|
|
39
|
+
/** Target for link outside app. */
|
|
40
|
+
target?: TargetType;
|
|
41
|
+
}
|
|
42
|
+
declare type HideBreakpointsType = 'to-mobile' | 'mobile' | 'mobile-only' | 'mobile-max' | 'tablet' | 'tablet-only' | 'tablet-max' | 'desktop-small' | 'desktop-small-only' | 'desktop-small-max' | 'desktop' | 'desktop-only' | 'desktop-max' | 'desktop-large';
|
|
43
|
+
export declare const MenuItem: ({ ariaLabel, badgeCount, badgeCountAriaLabel, children, childrenTheme, disabledTooltip, disabledTooltipType, hasCustomContent, hide, iconName, isButton, isDisabled, isIconRight, isOpen, isSelected, liTheme, linkTo, onClick, target, testId, title }: MenuItemPropsType) => JSX.Element;
|
|
44
|
+
export {};
|
|
45
45
|
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
-
export interface MenuListPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const MenuList: ({ children, testId, theme }: MenuListPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
+
export interface MenuListPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const MenuList: ({ children, testId, theme }: MenuListPropsType) => JSX.Element;
|
|
8
8
|
//# sourceMappingURL=MenuList.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
-
export interface SubMenuPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode | ReactNode[];
|
|
6
|
-
/** ARIA role for menu */
|
|
7
|
-
ariaLabel?: string;
|
|
8
|
-
/** Flag if SubMenu is visible */
|
|
9
|
-
isOpen?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const SubMenu: ({ ariaLabel, children, isOpen, testId, theme }: SubMenuPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
+
export interface SubMenuPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode | ReactNode[];
|
|
6
|
+
/** ARIA role for menu */
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
/** Flag if SubMenu is visible */
|
|
9
|
+
isOpen?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const SubMenu: ({ ariaLabel, children, isOpen, testId, theme }: SubMenuPropsType) => JSX.Element;
|
|
12
12
|
//# sourceMappingURL=SubMenu.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
-
interface SubMenuItemPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode | ReactNode[];
|
|
6
|
-
/** Click event handler. */
|
|
7
|
-
onClick?: (e: SyntheticEvent) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const SubMenuItem: ({ children, onClick, testId, theme }: SubMenuItemPropsType) => JSX.Element;
|
|
10
|
-
export {};
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../../utils';
|
|
3
|
+
interface SubMenuItemPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode | ReactNode[];
|
|
6
|
+
/** Click event handler. */
|
|
7
|
+
onClick?: (e: SyntheticEvent) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SubMenuItem: ({ children, onClick, testId, theme }: SubMenuItemPropsType) => JSX.Element;
|
|
10
|
+
export {};
|
|
11
11
|
//# sourceMappingURL=SubMenuItem.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './MenuItem';
|
|
2
|
-
export * from './MenuList';
|
|
3
|
-
export * from './SubMenu';
|
|
4
|
-
export * from './SubMenuItem';
|
|
1
|
+
export * from './MenuItem';
|
|
2
|
+
export * from './MenuList';
|
|
3
|
+
export * from './SubMenu';
|
|
4
|
+
export * from './SubMenuItem';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Menu';
|
|
2
|
-
export * from './_elements_';
|
|
1
|
+
export * from './Menu';
|
|
2
|
+
export * from './_elements_';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
import { TitleSize } from '../../Typography';
|
|
4
|
-
export interface StepperPropsType extends ComponentPropsType {
|
|
5
|
-
current: {
|
|
6
|
-
step: number;
|
|
7
|
-
substep?: number;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
};
|
|
10
|
-
steps: StepType[];
|
|
11
|
-
stepTitleSize?: TitleSize;
|
|
12
|
-
stepTitleVisual?: TitleSize;
|
|
13
|
-
}
|
|
14
|
-
declare type StepType = {
|
|
15
|
-
label: ReactNode;
|
|
16
|
-
substeps?: ReactElement[];
|
|
17
|
-
};
|
|
18
|
-
export declare const Stepper: ({ current: { isLoading, step, substep }, stepTitleSize, stepTitleVisual, steps, testId, theme }: StepperPropsType) => JSX.Element;
|
|
19
|
-
export {};
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
import { TitleSize } from '../../Typography';
|
|
4
|
+
export interface StepperPropsType extends ComponentPropsType {
|
|
5
|
+
current: {
|
|
6
|
+
step: number;
|
|
7
|
+
substep?: number;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
steps: StepType[];
|
|
11
|
+
stepTitleSize?: TitleSize;
|
|
12
|
+
stepTitleVisual?: TitleSize;
|
|
13
|
+
}
|
|
14
|
+
declare type StepType = {
|
|
15
|
+
label: ReactNode;
|
|
16
|
+
substeps?: ReactElement[];
|
|
17
|
+
};
|
|
18
|
+
export declare const Stepper: ({ current: { isLoading, step, substep }, stepTitleSize, stepTitleVisual, steps, testId, theme }: StepperPropsType) => JSX.Element;
|
|
19
|
+
export {};
|
|
20
20
|
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TitleSize } from '../../../../';
|
|
3
|
-
export interface StepPropsType {
|
|
4
|
-
isActive?: boolean;
|
|
5
|
-
isDone?: boolean;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
isNextUp?: boolean;
|
|
8
|
-
label: ReactNode;
|
|
9
|
-
stepNumber: number;
|
|
10
|
-
substepProgress: number;
|
|
11
|
-
/** Size of title. Used for it's basic purpose = defining page navigation priority. Please follow standard **[rules](https://www.w3.org/WAI/test-evaluate/preliminary/#headings)**. */
|
|
12
|
-
titleSize: TitleSize;
|
|
13
|
-
/** Title visual size. Use this for matching title visual with desired design. */
|
|
14
|
-
titleVisual?: TitleSize;
|
|
15
|
-
}
|
|
16
|
-
export declare const Step: ({ isActive, isDone, isLoading, isNextUp, label, stepNumber, substepProgress, titleSize, titleVisual }: StepPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TitleSize } from '../../../../';
|
|
3
|
+
export interface StepPropsType {
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
isDone?: boolean;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isNextUp?: boolean;
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
stepNumber: number;
|
|
10
|
+
substepProgress: number;
|
|
11
|
+
/** Size of title. Used for it's basic purpose = defining page navigation priority. Please follow standard **[rules](https://www.w3.org/WAI/test-evaluate/preliminary/#headings)**. */
|
|
12
|
+
titleSize: TitleSize;
|
|
13
|
+
/** Title visual size. Use this for matching title visual with desired design. */
|
|
14
|
+
titleVisual?: TitleSize;
|
|
15
|
+
}
|
|
16
|
+
export declare const Step: ({ isActive, isDone, isLoading, isNextUp, label, stepNumber, substepProgress, titleSize, titleVisual }: StepPropsType) => JSX.Element;
|
|
17
17
|
//# sourceMappingURL=Step.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Stepper';
|
|
1
|
+
export * from './Stepper';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType, DropdownPlacement } from '../../../';
|
|
3
|
-
import { Theme } from '../../../types';
|
|
4
|
-
import { TabListItemPropsType, TabsBarType } from './_elements_';
|
|
5
|
-
export interface TabsPropsType extends ComponentPropsType, TabsBarType {
|
|
6
|
-
/** Index of item in tabs/contents that should be visible by default */
|
|
7
|
-
active?: number;
|
|
8
|
-
/** ARIA label for tabs */
|
|
9
|
-
ariaLabel?: string;
|
|
10
|
-
/** A flag whether close TabsBar on outside click */
|
|
11
|
-
closeTabsBarOnOutsideClick?: boolean;
|
|
12
|
-
/** Array of items for content */
|
|
13
|
-
contents: ReactNode[];
|
|
14
|
-
/** Theme for contents. */
|
|
15
|
-
contentTheme?: Theme;
|
|
16
|
-
dropdownPlacement?: DropdownPlacement;
|
|
17
|
-
/** Callback for changing tab index after switching a tab. */
|
|
18
|
-
onChange?: (oldTabIndex: number, newTabIndex: number) => void;
|
|
19
|
-
/** Array of items for top bar */
|
|
20
|
-
tabs: TabListItemPropsType[];
|
|
21
|
-
/** Limit number of tabs displayed for desktop breakpoints. (Mobile breakpoints has different type of tabs.) */
|
|
22
|
-
tabsLimit?: {
|
|
23
|
-
lg?: number;
|
|
24
|
-
xl?: number;
|
|
25
|
-
xxl?: number;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export declare const Tabs: ({ active, ariaLabel, closeTabsBarOnOutsideClick, contents, contentTheme, dropdownPlacement, moreLabel, onChange, tabs, tabsLimit, testId, theme }: TabsPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType, DropdownPlacement } from '../../../';
|
|
3
|
+
import { Theme } from '../../../types';
|
|
4
|
+
import { TabListItemPropsType, TabsBarType } from './_elements_';
|
|
5
|
+
export interface TabsPropsType extends ComponentPropsType, TabsBarType {
|
|
6
|
+
/** Index of item in tabs/contents that should be visible by default */
|
|
7
|
+
active?: number;
|
|
8
|
+
/** ARIA label for tabs */
|
|
9
|
+
ariaLabel?: string;
|
|
10
|
+
/** A flag whether close TabsBar on outside click */
|
|
11
|
+
closeTabsBarOnOutsideClick?: boolean;
|
|
12
|
+
/** Array of items for content */
|
|
13
|
+
contents: ReactNode[];
|
|
14
|
+
/** Theme for contents. */
|
|
15
|
+
contentTheme?: Theme;
|
|
16
|
+
dropdownPlacement?: DropdownPlacement;
|
|
17
|
+
/** Callback for changing tab index after switching a tab. */
|
|
18
|
+
onChange?: (oldTabIndex: number, newTabIndex: number) => void;
|
|
19
|
+
/** Array of items for top bar */
|
|
20
|
+
tabs: TabListItemPropsType[];
|
|
21
|
+
/** Limit number of tabs displayed for desktop breakpoints. (Mobile breakpoints has different type of tabs.) */
|
|
22
|
+
tabsLimit?: {
|
|
23
|
+
lg?: number;
|
|
24
|
+
xl?: number;
|
|
25
|
+
xxl?: number;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export declare const Tabs: ({ active, ariaLabel, closeTabsBarOnOutsideClick, contents, contentTheme, dropdownPlacement, moreLabel, onChange, tabs, tabsLimit, testId, theme }: TabsPropsType) => JSX.Element;
|
|
29
29
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { DisabledTooltipPropsType } from '../../../..';
|
|
3
|
-
export interface TabListItemPropsType extends DisabledTooltipPropsType {
|
|
4
|
-
/** Value of tab list. */
|
|
5
|
-
value: ReactNode;
|
|
6
|
-
/** Flag if tab has some notification. Shows red dot. */
|
|
7
|
-
hasNotification?: boolean;
|
|
8
|
-
/** Number of notifications shown in red circle. */
|
|
9
|
-
notificationCount?: number;
|
|
10
|
-
/** Limit for maximum notification count. */
|
|
11
|
-
notificationMaxCount?: number;
|
|
12
|
-
/** @deprecated use notificationMaxCount prop instead */
|
|
13
|
-
countLimit?: number;
|
|
14
|
-
/** FLag if tab is disabled. */
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare const TabListItem: ({ countLimit, hasNotification, notificationCount, notificationMaxCount, value }: TabListItemPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { DisabledTooltipPropsType } from '../../../..';
|
|
3
|
+
export interface TabListItemPropsType extends DisabledTooltipPropsType {
|
|
4
|
+
/** Value of tab list. */
|
|
5
|
+
value: ReactNode;
|
|
6
|
+
/** Flag if tab has some notification. Shows red dot. */
|
|
7
|
+
hasNotification?: boolean;
|
|
8
|
+
/** Number of notifications shown in red circle. */
|
|
9
|
+
notificationCount?: number;
|
|
10
|
+
/** Limit for maximum notification count. */
|
|
11
|
+
notificationMaxCount?: number;
|
|
12
|
+
/** @deprecated use notificationMaxCount prop instead */
|
|
13
|
+
countLimit?: number;
|
|
14
|
+
/** FLag if tab is disabled. */
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const TabListItem: ({ countLimit, hasNotification, notificationCount, notificationMaxCount, value }: TabListItemPropsType) => JSX.Element;
|
|
18
18
|
//# sourceMappingURL=TabListItem.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { DropdownPlacement } from '../../../Components';
|
|
3
|
-
export interface TabsBarType {
|
|
4
|
-
/** A flag whether close TabsBar on outside click */
|
|
5
|
-
closeTabsBarOnOutsideClick?: boolean;
|
|
6
|
-
dropdownPlacement?: DropdownPlacement;
|
|
7
|
-
/** Label for "more" tab shown after tabs count overcome breakpoint limit. */
|
|
8
|
-
moreLabel?: ReactElement | string;
|
|
9
|
-
}
|
|
10
|
-
export declare const TabsBar: ({ closeTabsBarOnOutsideClick, dropdownPlacement, moreLabel }: TabsBarType) => JSX.Element;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { DropdownPlacement } from '../../../Components';
|
|
3
|
+
export interface TabsBarType {
|
|
4
|
+
/** A flag whether close TabsBar on outside click */
|
|
5
|
+
closeTabsBarOnOutsideClick?: boolean;
|
|
6
|
+
dropdownPlacement?: DropdownPlacement;
|
|
7
|
+
/** Label for "more" tab shown after tabs count overcome breakpoint limit. */
|
|
8
|
+
moreLabel?: ReactElement | string;
|
|
9
|
+
}
|
|
10
|
+
export declare const TabsBar: ({ closeTabsBarOnOutsideClick, dropdownPlacement, moreLabel }: TabsBarType) => JSX.Element;
|
|
11
11
|
//# sourceMappingURL=TabsBar.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './TabListItem';
|
|
2
|
-
export * from './TabsBar';
|
|
1
|
+
export * from './TabListItem';
|
|
2
|
+
export * from './TabsBar';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Tabs';
|
|
2
|
-
export * from './_elements_';
|
|
1
|
+
export * from './Tabs';
|
|
2
|
+
export * from './_elements_';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Menu';
|
|
2
|
-
export * from './Stepper';
|
|
3
|
-
export * from './Tabs';
|
|
1
|
+
export * from './Menu';
|
|
2
|
+
export * from './Stepper';
|
|
3
|
+
export * from './Tabs';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Theme } from '../../../types';
|
|
2
|
-
import { AriaPropsType, ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface AmountWithUnitPropsType extends ComponentPropsType, AriaPropsType {
|
|
4
|
-
/** Amount of money. */
|
|
5
|
-
amount: number;
|
|
6
|
-
/** Specify custom unit identifier before `amount` value. */
|
|
7
|
-
unitBefore?: string;
|
|
8
|
-
/** Specify custom unit identifier after `amount` value. */
|
|
9
|
-
unitAfter?: string;
|
|
10
|
-
/** Css theme for unit */
|
|
11
|
-
unitTheme?: Theme;
|
|
12
|
-
/** Html identificator */
|
|
13
|
-
id?: string;
|
|
14
|
-
/** Define if you need amount to be `bold` */
|
|
15
|
-
isBold?: boolean;
|
|
16
|
-
/** Define if component is rendered `inline` */
|
|
17
|
-
isInline?: boolean;
|
|
18
|
-
/** Specify custom locale variant for number formatting if needed. Use Unicode locale identifier. For more info see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat */
|
|
19
|
-
locale?: string;
|
|
20
|
-
/** The maximum number of fraction digits to use. Possible values are from 0 to 20; the default is the larger of minimumFractionDigits and 2; */
|
|
21
|
-
maximumFractionDigits?: number;
|
|
22
|
-
/** The minimum number of fraction digits to use. Possible values are from 0 to 20; the default is 0; */
|
|
23
|
-
minimumFractionDigits?: number;
|
|
24
|
-
/** Size of component. */
|
|
25
|
-
size?: AmountSizeType;
|
|
26
|
-
}
|
|
27
|
-
export declare type AmountSizeType = 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge';
|
|
28
|
-
export declare const AmountWithUnit: ({ amount, isBold, isInline, locale, maximumFractionDigits, minimumFractionDigits, size, testId, theme, unitAfter, unitBefore, unitTheme, ...rest }: AmountWithUnitPropsType) => JSX.Element;
|
|
1
|
+
import { Theme } from '../../../types';
|
|
2
|
+
import { AriaPropsType, ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface AmountWithUnitPropsType extends ComponentPropsType, AriaPropsType {
|
|
4
|
+
/** Amount of money. */
|
|
5
|
+
amount: number;
|
|
6
|
+
/** Specify custom unit identifier before `amount` value. */
|
|
7
|
+
unitBefore?: string;
|
|
8
|
+
/** Specify custom unit identifier after `amount` value. */
|
|
9
|
+
unitAfter?: string;
|
|
10
|
+
/** Css theme for unit */
|
|
11
|
+
unitTheme?: Theme;
|
|
12
|
+
/** Html identificator */
|
|
13
|
+
id?: string;
|
|
14
|
+
/** Define if you need amount to be `bold` */
|
|
15
|
+
isBold?: boolean;
|
|
16
|
+
/** Define if component is rendered `inline` */
|
|
17
|
+
isInline?: boolean;
|
|
18
|
+
/** Specify custom locale variant for number formatting if needed. Use Unicode locale identifier. For more info see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat */
|
|
19
|
+
locale?: string;
|
|
20
|
+
/** The maximum number of fraction digits to use. Possible values are from 0 to 20; the default is the larger of minimumFractionDigits and 2; */
|
|
21
|
+
maximumFractionDigits?: number;
|
|
22
|
+
/** The minimum number of fraction digits to use. Possible values are from 0 to 20; the default is 0; */
|
|
23
|
+
minimumFractionDigits?: number;
|
|
24
|
+
/** Size of component. */
|
|
25
|
+
size?: AmountSizeType;
|
|
26
|
+
}
|
|
27
|
+
export declare type AmountSizeType = 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge';
|
|
28
|
+
export declare const AmountWithUnit: ({ amount, isBold, isInline, locale, maximumFractionDigits, minimumFractionDigits, size, testId, theme, unitAfter, unitBefore, unitTheme, ...rest }: AmountWithUnitPropsType) => JSX.Element;
|
|
29
29
|
//# sourceMappingURL=AmountWithUnit.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AmountWithUnit';
|
|
1
|
+
export * from './AmountWithUnit';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ComponentPropsType } from '../../../utils';
|
|
2
|
-
export interface NumChangePropsType extends ComponentPropsType {
|
|
3
|
-
/** Amount of the numChange */
|
|
4
|
-
amountChange?: number;
|
|
5
|
-
/** Decreasing trend of the numChange */
|
|
6
|
-
decreasing?: boolean;
|
|
7
|
-
/** Increasing trend of the numChange */
|
|
8
|
-
increasing?: boolean;
|
|
9
|
-
/** Specify custom locale variant for number formatting if needed. Use Unicode locale identifier. For more info see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat */
|
|
10
|
-
locale?: string;
|
|
11
|
-
/** The maximum number of fraction digits to use. Possible values are from 0 to 20; the default is the larger of minimumFractionDigits and 2; */
|
|
12
|
-
maximumFractionDigits?: number;
|
|
13
|
-
/** The minimum number of fraction digits to use. Possible values are from 0 to 20; the default is 0; */
|
|
14
|
-
minimumFractionDigits?: number;
|
|
15
|
-
/** Size of the numChange component */
|
|
16
|
-
size?: NumChangeSizeType;
|
|
17
|
-
/** Specify custom unit identifier after `amount` value. */
|
|
18
|
-
unitAfter?: string;
|
|
19
|
-
/** Specify custom unit identifier before `amount` value. */
|
|
20
|
-
unitBefore?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare type NumChangeSizeType = 'small' | 'large' | 'xLarge' | 'xxLarge';
|
|
23
|
-
export declare const NumChange: ({ amountChange, decreasing, increasing, locale, maximumFractionDigits, minimumFractionDigits, size, testId, theme, unitAfter, unitBefore }: NumChangePropsType) => JSX.Element;
|
|
1
|
+
import { ComponentPropsType } from '../../../utils';
|
|
2
|
+
export interface NumChangePropsType extends ComponentPropsType {
|
|
3
|
+
/** Amount of the numChange */
|
|
4
|
+
amountChange?: number;
|
|
5
|
+
/** Decreasing trend of the numChange */
|
|
6
|
+
decreasing?: boolean;
|
|
7
|
+
/** Increasing trend of the numChange */
|
|
8
|
+
increasing?: boolean;
|
|
9
|
+
/** Specify custom locale variant for number formatting if needed. Use Unicode locale identifier. For more info see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat */
|
|
10
|
+
locale?: string;
|
|
11
|
+
/** The maximum number of fraction digits to use. Possible values are from 0 to 20; the default is the larger of minimumFractionDigits and 2; */
|
|
12
|
+
maximumFractionDigits?: number;
|
|
13
|
+
/** The minimum number of fraction digits to use. Possible values are from 0 to 20; the default is 0; */
|
|
14
|
+
minimumFractionDigits?: number;
|
|
15
|
+
/** Size of the numChange component */
|
|
16
|
+
size?: NumChangeSizeType;
|
|
17
|
+
/** Specify custom unit identifier after `amount` value. */
|
|
18
|
+
unitAfter?: string;
|
|
19
|
+
/** Specify custom unit identifier before `amount` value. */
|
|
20
|
+
unitBefore?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare type NumChangeSizeType = 'small' | 'large' | 'xLarge' | 'xxLarge';
|
|
23
|
+
export declare const NumChange: ({ amountChange, decreasing, increasing, locale, maximumFractionDigits, minimumFractionDigits, size, testId, theme, unitAfter, unitBefore }: NumChangePropsType) => JSX.Element;
|
|
24
24
|
//# sourceMappingURL=NumChange.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './NumChange';
|
|
1
|
+
export * from './NumChange';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AriaPropsType, ComponentPropsType } from '../../../utils';
|
|
3
|
-
export declare type TextType = 'primary' | 'secondary' | 'red' | 'orange' | 'green' | 'blue';
|
|
4
|
-
export declare type TextFontWeight = 'normal' | 'medium' | 'semiBold' | 'bold';
|
|
5
|
-
export declare type TextSizeType = 'xSmall' | 'small' | 'large';
|
|
6
|
-
export interface TextPropsType extends ComponentPropsType, AriaPropsType {
|
|
7
|
-
/** React component or string specifying the HTML tag to use. */
|
|
8
|
-
component?: React.ElementType;
|
|
9
|
-
/** Children to be rendered in the main container. */
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
/** Html identificator */
|
|
12
|
-
id?: string;
|
|
13
|
-
/** Flag indicating 'text-center' class */
|
|
14
|
-
isTextCenter?: boolean;
|
|
15
|
-
/** Flag indicating 'text-right' class */
|
|
16
|
-
isTextRight?: boolean;
|
|
17
|
-
/** Text size */
|
|
18
|
-
size?: TextSizeType;
|
|
19
|
-
/** Type of the text. */
|
|
20
|
-
type?: TextType;
|
|
21
|
-
/** Font weight */
|
|
22
|
-
weight?: TextFontWeight;
|
|
23
|
-
}
|
|
24
|
-
export declare const Text: ({ children, component: Component, isTextCenter, isTextRight, size, testId, theme, type, weight, ...rest }: TextPropsType) => JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { AriaPropsType, ComponentPropsType } from '../../../utils';
|
|
3
|
+
export declare type TextType = 'primary' | 'secondary' | 'red' | 'orange' | 'green' | 'blue';
|
|
4
|
+
export declare type TextFontWeight = 'normal' | 'medium' | 'semiBold' | 'bold';
|
|
5
|
+
export declare type TextSizeType = 'xSmall' | 'small' | 'large';
|
|
6
|
+
export interface TextPropsType extends ComponentPropsType, AriaPropsType {
|
|
7
|
+
/** React component or string specifying the HTML tag to use. */
|
|
8
|
+
component?: React.ElementType;
|
|
9
|
+
/** Children to be rendered in the main container. */
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** Html identificator */
|
|
12
|
+
id?: string;
|
|
13
|
+
/** Flag indicating 'text-center' class */
|
|
14
|
+
isTextCenter?: boolean;
|
|
15
|
+
/** Flag indicating 'text-right' class */
|
|
16
|
+
isTextRight?: boolean;
|
|
17
|
+
/** Text size */
|
|
18
|
+
size?: TextSizeType;
|
|
19
|
+
/** Type of the text. */
|
|
20
|
+
type?: TextType;
|
|
21
|
+
/** Font weight */
|
|
22
|
+
weight?: TextFontWeight;
|
|
23
|
+
}
|
|
24
|
+
export declare const Text: ({ children, component: Component, isTextCenter, isTextRight, size, testId, theme, type, weight, ...rest }: TextPropsType) => JSX.Element;
|
|
25
25
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Text';
|
|
1
|
+
export * from './Text';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AriaPropsType, BackgroundColorType, ComponentPropsType, IconNameType } from '../../../';
|
|
3
|
-
export interface TitlePropsType extends ComponentPropsType, AriaPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
/** Html identificator */
|
|
7
|
-
id?: string;
|
|
8
|
-
/** Icon name/type enum type */
|
|
9
|
-
iconName?: IconNameType;
|
|
10
|
-
/** Color of icon background */
|
|
11
|
-
iconBackgroundColor?: BackgroundColorType;
|
|
12
|
-
/** Size of title. Used for it's basic purpose = defining page navigation priority. Please follow standard **[rules](https://www.w3.org/WAI/test-evaluate/preliminary/#headings)**. */
|
|
13
|
-
size: TitleSize;
|
|
14
|
-
/** Title visual size. Use this for matching title visual with desired design. */
|
|
15
|
-
visual?: TitleSize;
|
|
16
|
-
/** Title without margin. */
|
|
17
|
-
isWithoutMargin?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export declare type TitleSize = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
20
|
-
export declare const Title: ({ children, iconBackgroundColor, iconName, id, isWithoutMargin, size: Component, testId, theme, visual }: TitlePropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AriaPropsType, BackgroundColorType, ComponentPropsType, IconNameType } from '../../../';
|
|
3
|
+
export interface TitlePropsType extends ComponentPropsType, AriaPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Html identificator */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** Icon name/type enum type */
|
|
9
|
+
iconName?: IconNameType;
|
|
10
|
+
/** Color of icon background */
|
|
11
|
+
iconBackgroundColor?: BackgroundColorType;
|
|
12
|
+
/** Size of title. Used for it's basic purpose = defining page navigation priority. Please follow standard **[rules](https://www.w3.org/WAI/test-evaluate/preliminary/#headings)**. */
|
|
13
|
+
size: TitleSize;
|
|
14
|
+
/** Title visual size. Use this for matching title visual with desired design. */
|
|
15
|
+
visual?: TitleSize;
|
|
16
|
+
/** Title without margin. */
|
|
17
|
+
isWithoutMargin?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare type TitleSize = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
20
|
+
export declare const Title: ({ children, iconBackgroundColor, iconName, id, isWithoutMargin, size: Component, testId, theme, visual }: TitlePropsType) => JSX.Element;
|
|
21
21
|
//# sourceMappingURL=Title.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Title';
|
|
1
|
+
export * from './Title';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|