@mmb-digital/ds-lilly 0.10.47 → 0.10.48
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 +10678 -10726
- package/dist/svg/settings.svg +1 -1
- 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/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 +32 -32
- 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 +2 -2
- 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 +20 -20
- 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 +25 -25
- 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/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 +42 -42
- 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 +19 -19
- 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
- package/dist/svg/gear.svg +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface IconListPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare const IconList: ({ children, testId, theme }: IconListPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface IconListPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare const IconList: ({ children, testId, theme }: IconListPropsType) => JSX.Element;
|
|
8
8
|
//# sourceMappingURL=IconList.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { BackgroundColorType, IconNameType } from '../../../types';
|
|
3
|
-
import { ComponentPropsType } from '../../../utils';
|
|
4
|
-
export declare type SizeType = 'large' | 'small';
|
|
5
|
-
export interface IconListItemPropsType extends ComponentPropsType {
|
|
6
|
-
/** Children to be rendered in the main container. */
|
|
7
|
-
children: ReactElement;
|
|
8
|
-
/** Avatar as icon */
|
|
9
|
-
avatar?: ReactElement;
|
|
10
|
-
/** Color of icon background */
|
|
11
|
-
iconBackgroundColor?: BackgroundColorType;
|
|
12
|
-
/** Custom icon name */
|
|
13
|
-
iconName?: IconNameType;
|
|
14
|
-
/** Specific size for icon only */
|
|
15
|
-
iconSize?: SizeType;
|
|
16
|
-
/** Image URL to render as icon */
|
|
17
|
-
imageUrl?: string;
|
|
18
|
-
/** Size used as default for icon and text */
|
|
19
|
-
size?: SizeType;
|
|
20
|
-
/** Specific size for text only */
|
|
21
|
-
textSize?: SizeType;
|
|
22
|
-
}
|
|
23
|
-
export declare const IconListItem: ({ avatar, children, iconBackgroundColor, iconName, iconSize, imageUrl, size, testId, textSize, theme }: IconListItemPropsType) => JSX.Element;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { BackgroundColorType, IconNameType } from '../../../types';
|
|
3
|
+
import { ComponentPropsType } from '../../../utils';
|
|
4
|
+
export declare type SizeType = 'large' | 'small';
|
|
5
|
+
export interface IconListItemPropsType extends ComponentPropsType {
|
|
6
|
+
/** Children to be rendered in the main container. */
|
|
7
|
+
children: ReactElement;
|
|
8
|
+
/** Avatar as icon */
|
|
9
|
+
avatar?: ReactElement;
|
|
10
|
+
/** Color of icon background */
|
|
11
|
+
iconBackgroundColor?: BackgroundColorType;
|
|
12
|
+
/** Custom icon name */
|
|
13
|
+
iconName?: IconNameType;
|
|
14
|
+
/** Specific size for icon only */
|
|
15
|
+
iconSize?: SizeType;
|
|
16
|
+
/** Image URL to render as icon */
|
|
17
|
+
imageUrl?: string;
|
|
18
|
+
/** Size used as default for icon and text */
|
|
19
|
+
size?: SizeType;
|
|
20
|
+
/** Specific size for text only */
|
|
21
|
+
textSize?: SizeType;
|
|
22
|
+
}
|
|
23
|
+
export declare const IconListItem: ({ avatar, children, iconBackgroundColor, iconName, iconSize, imageUrl, size, testId, textSize, theme }: IconListItemPropsType) => JSX.Element;
|
|
24
24
|
//# sourceMappingURL=IconListItem.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './IconList';
|
|
2
|
-
export * from './IconListItem';
|
|
1
|
+
export * from './IconList';
|
|
2
|
+
export * from './IconListItem';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ComponentPropsType } from '../../../utils';
|
|
2
|
-
export interface ImagePropsType extends ComponentPropsType {
|
|
3
|
-
/** Description of image. */
|
|
4
|
-
alt: string;
|
|
5
|
-
/** Hide image for screen-readers */
|
|
6
|
-
isAriaHidden?: boolean;
|
|
7
|
-
/** Set to `true` if you want image to completly fill parent element. */
|
|
8
|
-
isCover?: boolean;
|
|
9
|
-
/** Link to source image or base64. */
|
|
10
|
-
src: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const Image: ({ alt, isAriaHidden, isCover, src, testId, theme }: ImagePropsType) => JSX.Element;
|
|
1
|
+
import { ComponentPropsType } from '../../../utils';
|
|
2
|
+
export interface ImagePropsType extends ComponentPropsType {
|
|
3
|
+
/** Description of image. */
|
|
4
|
+
alt: string;
|
|
5
|
+
/** Hide image for screen-readers */
|
|
6
|
+
isAriaHidden?: boolean;
|
|
7
|
+
/** Set to `true` if you want image to completly fill parent element. */
|
|
8
|
+
isCover?: boolean;
|
|
9
|
+
/** Link to source image or base64. */
|
|
10
|
+
src: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const Image: ({ alt, isAriaHidden, isCover, src, testId, theme }: ImagePropsType) => JSX.Element;
|
|
13
13
|
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Image';
|
|
1
|
+
export * from './Image';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import React, { ReactElement, ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { TargetType } from '../../../types';
|
|
3
|
-
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../utils';
|
|
4
|
-
export interface LinkPropsType extends ComponentPropsType, DisabledTooltipPropsType {
|
|
5
|
-
/** Allow click event propagation */
|
|
6
|
-
allowEventPropagation?: boolean;
|
|
7
|
-
/** ARIA label for tabs. */
|
|
8
|
-
ariaLabel?: string | ReactElement;
|
|
9
|
-
/** Children components that should be rendered inside the link. */
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
/** Sets color of Link. Default color is `primary` */
|
|
12
|
-
color?: 'red' | 'secondary';
|
|
13
|
-
/** Flag indicating that the link is disabled. */
|
|
14
|
-
isDisabled?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Not implemented any more
|
|
17
|
-
* Press enter can run onClick event handler.
|
|
18
|
-
* */
|
|
19
|
-
isEnterClick?: boolean;
|
|
20
|
-
/** Set loading state to Link. */
|
|
21
|
-
isLoading?: boolean;
|
|
22
|
-
/** Flag indicating that the Link is small. */
|
|
23
|
-
isSmall?: boolean;
|
|
24
|
-
/** Title used for file naming when linkUrl leads to file download */
|
|
25
|
-
linkDownloadTitle?: string;
|
|
26
|
-
/** Link target. */
|
|
27
|
-
linkUrl?: string;
|
|
28
|
-
/** Click event handler. */
|
|
29
|
-
onClick?: (e: SyntheticEvent | KeyboardEvent) => void;
|
|
30
|
-
/** Target for link outside app. */
|
|
31
|
-
target?: TargetType;
|
|
32
|
-
/** Title of the link element */
|
|
33
|
-
title?: string;
|
|
34
|
-
}
|
|
35
|
-
export declare const Link: React.ForwardRefExoticComponent<LinkPropsType & React.RefAttributes<unknown>>;
|
|
1
|
+
import React, { ReactElement, ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { TargetType } from '../../../types';
|
|
3
|
+
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../utils';
|
|
4
|
+
export interface LinkPropsType extends ComponentPropsType, DisabledTooltipPropsType {
|
|
5
|
+
/** Allow click event propagation */
|
|
6
|
+
allowEventPropagation?: boolean;
|
|
7
|
+
/** ARIA label for tabs. */
|
|
8
|
+
ariaLabel?: string | ReactElement;
|
|
9
|
+
/** Children components that should be rendered inside the link. */
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/** Sets color of Link. Default color is `primary` */
|
|
12
|
+
color?: 'red' | 'secondary';
|
|
13
|
+
/** Flag indicating that the link is disabled. */
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Not implemented any more
|
|
17
|
+
* Press enter can run onClick event handler.
|
|
18
|
+
* */
|
|
19
|
+
isEnterClick?: boolean;
|
|
20
|
+
/** Set loading state to Link. */
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
/** Flag indicating that the Link is small. */
|
|
23
|
+
isSmall?: boolean;
|
|
24
|
+
/** Title used for file naming when linkUrl leads to file download */
|
|
25
|
+
linkDownloadTitle?: string;
|
|
26
|
+
/** Link target. */
|
|
27
|
+
linkUrl?: string;
|
|
28
|
+
/** Click event handler. */
|
|
29
|
+
onClick?: (e: SyntheticEvent | KeyboardEvent) => void;
|
|
30
|
+
/** Target for link outside app. */
|
|
31
|
+
target?: TargetType;
|
|
32
|
+
/** Title of the link element */
|
|
33
|
+
title?: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const Link: React.ForwardRefExoticComponent<LinkPropsType & React.RefAttributes<unknown>>;
|
|
36
36
|
//# sourceMappingURL=Link.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Link';
|
|
1
|
+
export * from './Link';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface ListPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
/** Whether the list has no dividers between items. */
|
|
7
|
-
hasNoDividers?: boolean;
|
|
8
|
-
/** Whether the list is large. */
|
|
9
|
-
isLarge?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const List: ({ children, hasNoDividers, isLarge, testId, theme }: ListPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface ListPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Whether the list has no dividers between items. */
|
|
7
|
+
hasNoDividers?: boolean;
|
|
8
|
+
/** Whether the list is large. */
|
|
9
|
+
isLarge?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const List: ({ children, hasNoDividers, isLarge, testId, theme }: ListPropsType) => JSX.Element;
|
|
12
12
|
//# sourceMappingURL=List.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface ListItemPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
/** Label for children */
|
|
7
|
-
label?: ReactElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const ListItem: ({ children, label, testId, theme }: ListItemPropsType) => JSX.Element;
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface ListItemPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/** Label for children */
|
|
7
|
+
label?: ReactElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const ListItem: ({ children, label, testId, theme }: ListItemPropsType) => JSX.Element;
|
|
10
10
|
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './List';
|
|
2
|
-
export * from './ListItem';
|
|
1
|
+
export * from './List';
|
|
2
|
+
export * from './ListItem';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
import { SizeType } from '../IconList/IconListItem';
|
|
4
|
-
export interface LoaderPropsType extends ComponentPropsType {
|
|
5
|
-
/** Size of the loader. Default size is large loader. */
|
|
6
|
-
size?: SizeType;
|
|
7
|
-
/** Children to be rendered in the main container. */
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
/** Whether the loader's content should pulse as well. Default is no pulsing for content. */
|
|
10
|
-
isContentPulsing?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const Loader: ({ children, isContentPulsing, size, testId, theme }: LoaderPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
import { SizeType } from '../IconList/IconListItem';
|
|
4
|
+
export interface LoaderPropsType extends ComponentPropsType {
|
|
5
|
+
/** Size of the loader. Default size is large loader. */
|
|
6
|
+
size?: SizeType;
|
|
7
|
+
/** Children to be rendered in the main container. */
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/** Whether the loader's content should pulse as well. Default is no pulsing for content. */
|
|
10
|
+
isContentPulsing?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const Loader: ({ children, isContentPulsing, size, testId, theme }: LoaderPropsType) => JSX.Element;
|
|
13
13
|
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Loader';
|
|
1
|
+
export * from './Loader';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ModalContextType } from '../../../contexts';
|
|
3
|
-
import { ComponentPropsType } from '../../../utils';
|
|
4
|
-
export interface ModalPropsType extends ComponentPropsType, ModalContextType {
|
|
5
|
-
/** Content of modal dialog. */
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/** Optional size of modal content. */
|
|
8
|
-
size?: 'small' | 'large';
|
|
9
|
-
}
|
|
10
|
-
export declare const Modal: ({ children, disableDefaultCloseBehavior, hide, identification, isFocused, isVisible, reference, show, size, testId, theme }: ModalPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ModalContextType } from '../../../contexts';
|
|
3
|
+
import { ComponentPropsType } from '../../../utils';
|
|
4
|
+
export interface ModalPropsType extends ComponentPropsType, ModalContextType {
|
|
5
|
+
/** Content of modal dialog. */
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/** Optional size of modal content. */
|
|
8
|
+
size?: 'small' | 'large';
|
|
9
|
+
}
|
|
10
|
+
export declare const Modal: ({ children, disableDefaultCloseBehavior, hide, identification, isFocused, isVisible, reference, show, size, testId, theme }: ModalPropsType) => JSX.Element;
|
|
11
11
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ModalContextType } from '../../../contexts';
|
|
2
|
-
import { ModalPropsType } from './Modal';
|
|
3
|
-
export interface ModalHookType {
|
|
4
|
-
/** Functions to hide modal dialog. */
|
|
5
|
-
hide: () => void;
|
|
6
|
-
/** Function for display modal dialog. */
|
|
7
|
-
show: () => void;
|
|
8
|
-
/** Visibility flag of inner modal dialog. */
|
|
9
|
-
isVisible: boolean;
|
|
10
|
-
/** Fabric component. */
|
|
11
|
-
Modal: ({ children, size, theme }: ModalPropsType) => JSX.Element;
|
|
12
|
-
/** Internal props thats need to pe passed to <Modal> component. */
|
|
13
|
-
modalProps: ModalContextType;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @param disableCloseByOutsideClick Disable closing dialog by clicks outside popUp.
|
|
17
|
-
* @param onHide Custom functions to be called together with internal handle hide
|
|
18
|
-
* @param onShow Custom functions to be called together with internal handle show
|
|
19
|
-
*/
|
|
20
|
-
export declare const useModal: (disableCloseByOutsideClick?: boolean, onHide?: (() => void) | undefined, onShow?: (() => void) | undefined) => ModalHookType;
|
|
1
|
+
import { ModalContextType } from '../../../contexts';
|
|
2
|
+
import { ModalPropsType } from './Modal';
|
|
3
|
+
export interface ModalHookType {
|
|
4
|
+
/** Functions to hide modal dialog. */
|
|
5
|
+
hide: () => void;
|
|
6
|
+
/** Function for display modal dialog. */
|
|
7
|
+
show: () => void;
|
|
8
|
+
/** Visibility flag of inner modal dialog. */
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
/** Fabric component. */
|
|
11
|
+
Modal: ({ children, size, theme }: ModalPropsType) => JSX.Element;
|
|
12
|
+
/** Internal props thats need to pe passed to <Modal> component. */
|
|
13
|
+
modalProps: ModalContextType;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @param disableCloseByOutsideClick Disable closing dialog by clicks outside popUp.
|
|
17
|
+
* @param onHide Custom functions to be called together with internal handle hide
|
|
18
|
+
* @param onShow Custom functions to be called together with internal handle show
|
|
19
|
+
*/
|
|
20
|
+
export declare const useModal: (disableCloseByOutsideClick?: boolean, onHide?: (() => void) | undefined, onShow?: (() => void) | undefined) => ModalHookType;
|
|
21
21
|
//# sourceMappingURL=Modal.hook.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface ModalContentPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children: ReactNode | ReactNode[];
|
|
6
|
-
}
|
|
7
|
-
export declare const ModalContent: ({ children, testId, theme }: ModalContentPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface ModalContentPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children: ReactNode | ReactNode[];
|
|
6
|
+
}
|
|
7
|
+
export declare const ModalContent: ({ children, testId, theme }: ModalContentPropsType) => JSX.Element;
|
|
8
8
|
//# sourceMappingURL=ModalContent.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface ModalDialogPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
/** Optional size of modal content. */
|
|
7
|
-
size?: 'small' | 'large';
|
|
8
|
-
}
|
|
9
|
-
export declare const ModalDialog: ({ children, size, testId, theme }: ModalDialogPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface ModalDialogPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Optional size of modal content. */
|
|
7
|
+
size?: 'small' | 'large';
|
|
8
|
+
}
|
|
9
|
+
export declare const ModalDialog: ({ children, size, testId, theme }: ModalDialogPropsType) => JSX.Element;
|
|
10
10
|
//# sourceMappingURL=ModalDialog.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils';
|
|
3
|
-
export interface ModalFooterPropsType extends ComponentPropsType {
|
|
4
|
-
/** Children to be rendered in the main container. */
|
|
5
|
-
children: ReactNode | ReactNode[];
|
|
6
|
-
}
|
|
7
|
-
export declare const ModalFooter: ({ children, testId, theme }: ModalFooterPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils';
|
|
3
|
+
export interface ModalFooterPropsType extends ComponentPropsType {
|
|
4
|
+
/** Children to be rendered in the main container. */
|
|
5
|
+
children: ReactNode | ReactNode[];
|
|
6
|
+
}
|
|
7
|
+
export declare const ModalFooter: ({ children, testId, theme }: ModalFooterPropsType) => JSX.Element;
|
|
8
8
|
//# sourceMappingURL=ModalFooter.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ComponentPropsType, TitleSize } from '../../../';
|
|
3
|
-
export interface ModalHeaderPropsType extends ComponentPropsType {
|
|
4
|
-
/** Exit button text. */
|
|
5
|
-
closeText: string | ReactElement;
|
|
6
|
-
/** Flag to hide close button. */
|
|
7
|
-
isCloseHidden?: boolean;
|
|
8
|
-
/** Flag to hide title (only visually). */
|
|
9
|
-
isTitleHidden?: boolean;
|
|
10
|
-
/** Subtitle of whole modal box. */
|
|
11
|
-
subtitle?: string | ReactElement;
|
|
12
|
-
/** Header of whole modal box. */
|
|
13
|
-
title: string | ReactElement;
|
|
14
|
-
/** 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)**. */
|
|
15
|
-
titleSize?: TitleSize;
|
|
16
|
-
/** Title visual size. Use this for matching title visual with desired design. */
|
|
17
|
-
titleVisual?: TitleSize;
|
|
18
|
-
/** Close button click event handler. */
|
|
19
|
-
onClose?: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const ModalHeader: ({ closeText, isCloseHidden, isTitleHidden, onClose, subtitle, testId, theme, title, titleSize, titleVisual }: ModalHeaderPropsType) => JSX.Element;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { ComponentPropsType, TitleSize } from '../../../';
|
|
3
|
+
export interface ModalHeaderPropsType extends ComponentPropsType {
|
|
4
|
+
/** Exit button text. */
|
|
5
|
+
closeText: string | ReactElement;
|
|
6
|
+
/** Flag to hide close button. */
|
|
7
|
+
isCloseHidden?: boolean;
|
|
8
|
+
/** Flag to hide title (only visually). */
|
|
9
|
+
isTitleHidden?: boolean;
|
|
10
|
+
/** Subtitle of whole modal box. */
|
|
11
|
+
subtitle?: string | ReactElement;
|
|
12
|
+
/** Header of whole modal box. */
|
|
13
|
+
title: string | ReactElement;
|
|
14
|
+
/** 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)**. */
|
|
15
|
+
titleSize?: TitleSize;
|
|
16
|
+
/** Title visual size. Use this for matching title visual with desired design. */
|
|
17
|
+
titleVisual?: TitleSize;
|
|
18
|
+
/** Close button click event handler. */
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const ModalHeader: ({ closeText, isCloseHidden, isTitleHidden, onClose, subtitle, testId, theme, title, titleSize, titleVisual }: ModalHeaderPropsType) => JSX.Element;
|
|
22
22
|
//# sourceMappingURL=ModalHeader.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from './ModalContent';
|
|
2
|
-
export * from './ModalDialog';
|
|
3
|
-
export * from './ModalFooter';
|
|
4
|
-
export * from './ModalHeader';
|
|
5
|
-
export * from './Modal';
|
|
6
|
-
export * from './Modal.hook';
|
|
1
|
+
export * from './ModalContent';
|
|
2
|
+
export * from './ModalDialog';
|
|
3
|
+
export * from './ModalFooter';
|
|
4
|
+
export * from './ModalHeader';
|
|
5
|
+
export * from './Modal';
|
|
6
|
+
export * from './Modal.hook';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../utils';
|
|
2
|
-
export interface PillType extends DisabledTooltipPropsType {
|
|
3
|
-
isDisabled?: boolean;
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
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
|
-
}
|
|
13
|
-
export interface PillsPropsType extends ComponentPropsType {
|
|
14
|
-
/** ARIA label for pill */
|
|
15
|
-
ariaLabel?: string;
|
|
16
|
-
/** Value of pill that should be selected by default */
|
|
17
|
-
initialPill?: string;
|
|
18
|
-
/** Callback for changing pill. */
|
|
19
|
-
onChange: (pill: string) => void;
|
|
20
|
-
/** Array of pills */
|
|
21
|
-
pills: PillType[];
|
|
22
|
-
}
|
|
23
|
-
export declare const Pills: ({ ariaLabel, initialPill, onChange, pills, testId, theme }: PillsPropsType) => JSX.Element;
|
|
1
|
+
import { ComponentPropsType, DisabledTooltipPropsType } from '../../../utils';
|
|
2
|
+
export interface PillType extends DisabledTooltipPropsType {
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
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
|
+
}
|
|
13
|
+
export interface PillsPropsType extends ComponentPropsType {
|
|
14
|
+
/** ARIA label for pill */
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
/** Value of pill that should be selected by default */
|
|
17
|
+
initialPill?: string;
|
|
18
|
+
/** Callback for changing pill. */
|
|
19
|
+
onChange: (pill: string) => void;
|
|
20
|
+
/** Array of pills */
|
|
21
|
+
pills: PillType[];
|
|
22
|
+
}
|
|
23
|
+
export declare const Pills: ({ ariaLabel, initialPill, onChange, pills, testId, theme }: PillsPropsType) => JSX.Element;
|
|
24
24
|
//# sourceMappingURL=Pills.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Pills';
|
|
1
|
+
export * from './Pills';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { BackgroundColorType, IconNameType } from '../../../types';
|
|
3
|
-
import { ComponentPropsType } from '../../../utils';
|
|
4
|
-
export interface TagPropsType extends ComponentPropsType {
|
|
5
|
-
/** Color of tag background - any color from palette-light */
|
|
6
|
-
background?: BackgroundColorType;
|
|
7
|
-
/** Tag icon name */
|
|
8
|
-
iconName?: IconNameType;
|
|
9
|
-
/** Tag icon background color */
|
|
10
|
-
iconBackground?: BackgroundColorType;
|
|
11
|
-
/** Image URL to render as icon */
|
|
12
|
-
imageUrl?: string;
|
|
13
|
-
/** Tag content (text) */
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export declare const Tag: ({ background, children, iconBackground, iconName, imageUrl, testId, theme }: TagPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { BackgroundColorType, IconNameType } from '../../../types';
|
|
3
|
+
import { ComponentPropsType } from '../../../utils';
|
|
4
|
+
export interface TagPropsType extends ComponentPropsType {
|
|
5
|
+
/** Color of tag background - any color from palette-light */
|
|
6
|
+
background?: BackgroundColorType;
|
|
7
|
+
/** Tag icon name */
|
|
8
|
+
iconName?: IconNameType;
|
|
9
|
+
/** Tag icon background color */
|
|
10
|
+
iconBackground?: BackgroundColorType;
|
|
11
|
+
/** Image URL to render as icon */
|
|
12
|
+
imageUrl?: string;
|
|
13
|
+
/** Tag content (text) */
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const Tag: ({ background, children, iconBackground, iconName, imageUrl, testId, theme }: TagPropsType) => JSX.Element;
|
|
17
17
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Tag';
|
|
1
|
+
export * from './Tag';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
-
import { IconNameType } from '../../../types';
|
|
3
|
-
import { ComponentPropsType } from '../../../utils';
|
|
4
|
-
export declare type TileIconPosition = 'center' | 'left';
|
|
5
|
-
export interface TilePropsType extends ComponentPropsType {
|
|
6
|
-
/** Children to be rendered in the main container. */
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
/** Name of icon */
|
|
9
|
-
iconName?: IconNameType;
|
|
10
|
-
/** Flag indicating that the tile is selected */
|
|
11
|
-
isSelected?: boolean;
|
|
12
|
-
/** Flag indicating that the tile is disabled */
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
/** Link to another URL */
|
|
15
|
-
linkTo?: string;
|
|
16
|
-
/** Click event handler. */
|
|
17
|
-
onClick?: (e: SyntheticEvent) => void;
|
|
18
|
-
/** Position of icon - center or left */
|
|
19
|
-
iconPosition?: TileIconPosition;
|
|
20
|
-
}
|
|
21
|
-
export declare const Tile: ({ children, iconName, iconPosition, isDisabled, isSelected, linkTo, onClick, testId, theme }: TilePropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { IconNameType } from '../../../types';
|
|
3
|
+
import { ComponentPropsType } from '../../../utils';
|
|
4
|
+
export declare type TileIconPosition = 'center' | 'left';
|
|
5
|
+
export interface TilePropsType extends ComponentPropsType {
|
|
6
|
+
/** Children to be rendered in the main container. */
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
/** Name of icon */
|
|
9
|
+
iconName?: IconNameType;
|
|
10
|
+
/** Flag indicating that the tile is selected */
|
|
11
|
+
isSelected?: boolean;
|
|
12
|
+
/** Flag indicating that the tile is disabled */
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/** Link to another URL */
|
|
15
|
+
linkTo?: string;
|
|
16
|
+
/** Click event handler. */
|
|
17
|
+
onClick?: (e: SyntheticEvent) => void;
|
|
18
|
+
/** Position of icon - center or left */
|
|
19
|
+
iconPosition?: TileIconPosition;
|
|
20
|
+
}
|
|
21
|
+
export declare const Tile: ({ children, iconName, iconPosition, isDisabled, isSelected, linkTo, onClick, testId, theme }: TilePropsType) => JSX.Element;
|
|
22
22
|
//# sourceMappingURL=Tile.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Tile';
|
|
1
|
+
export * from './Tile';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { AlertPropsType } from '..';
|
|
3
|
-
export declare type ToastType = Omit<AlertPropsType, 'alertRef' | 'children'> & {
|
|
4
|
-
autoCloseMilliseconds?: number;
|
|
5
|
-
toastId?: string;
|
|
6
|
-
content?: ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export interface ToastContainerPropsType {
|
|
9
|
-
autoCloseMilliseconds?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const ToastContainer: ({ autoCloseMilliseconds }: ToastContainerPropsType) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AlertPropsType } from '..';
|
|
3
|
+
export declare type ToastType = Omit<AlertPropsType, 'alertRef' | 'children'> & {
|
|
4
|
+
autoCloseMilliseconds?: number;
|
|
5
|
+
toastId?: string;
|
|
6
|
+
content?: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export interface ToastContainerPropsType {
|
|
9
|
+
autoCloseMilliseconds?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const ToastContainer: ({ autoCloseMilliseconds }: ToastContainerPropsType) => JSX.Element;
|
|
12
12
|
//# sourceMappingURL=Toast.d.ts.map
|