@mmb-digital/ds-lilly 0.0.1-alpha.358 → 0.0.1-alpha.359
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.css +1 -1
- package/dist/ds-lilly.js +8724 -8726
- 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 +20 -20
- package/dist/types/src/components/Components/Avatar/index.d.ts +1 -1
- package/dist/types/src/components/Components/Badge/Badge.d.ts +15 -15
- package/dist/types/src/components/Components/Badge/index.d.ts +1 -1
- package/dist/types/src/components/Components/Button/Button.d.ts +54 -54
- 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 +43 -43
- package/dist/types/src/components/Components/Card/_elements_/CardCustomTrigger.d.ts +5 -5
- package/dist/types/src/components/Components/Card/_elements_/CollapseHeader.d.ts +12 -12
- 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 +48 -48
- package/dist/types/src/components/Components/CompactButtons/index.d.ts +1 -1
- 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 +34 -34
- package/dist/types/src/components/Components/Dropdown/_elements_/DropdownItem.d.ts +30 -30
- package/dist/types/src/components/Components/Dropdown/_elements_/DropdownMenu.d.ts +17 -17
- 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/Icon/Icon.d.ts +18 -18
- 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 +19 -19
- 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 +17 -17
- package/dist/types/src/components/Components/Modal/index.d.ts +6 -6
- package/dist/types/src/components/Components/Pills/Pills.d.ts +17 -17
- package/dist/types/src/components/Components/Pills/index.d.ts +1 -1
- package/dist/types/src/components/Components/Tag/Tag.d.ts +12 -12
- 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 +1 -1
- package/dist/types/src/components/Components/Toast/Toast.hook.d.ts +17 -17
- package/dist/types/src/components/Components/Toast/index.d.ts +2 -2
- package/dist/types/src/components/Components/Tooltip/Tooltip.d.ts +26 -26
- 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 +23 -23
- 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/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/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 +74 -74
- package/dist/types/src/components/Form/FileUpload/FileUpload.hook.d.ts +7 -7
- package/dist/types/src/components/Form/FileUpload/_parts_/FileList.d.ts +20 -20
- 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 +17 -17
- package/dist/types/src/components/Form/FormGroup/index.d.ts +1 -1
- package/dist/types/src/components/Form/FormGroup2/FormGroup2.d.ts +26 -26
- 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 +12 -12
- 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 +32 -32
- 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 +20 -20
- package/dist/types/src/components/Form/Toggle/index.d.ts +1 -1
- package/dist/types/src/components/Form/index.d.ts +40 -40
- 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/index.d.ts +1 -1
- 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 -22
- 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 +19 -19
- 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 +42 -42
- 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 +14 -14
- 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 +26 -26
- 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 +22 -22
- package/dist/types/src/components/Typography/Text/index.d.ts +1 -1
- package/dist/types/src/components/Typography/Title/Title.d.ts +17 -17
- 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 +8 -8
- 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 +13 -13
- package/dist/types/src/contexts/FormGroupContext.d.ts +14 -14
- package/dist/types/src/contexts/MobilePanelContext.d.ts +23 -23
- package/dist/types/src/contexts/ModalContext.d.ts +19 -19
- package/dist/types/src/contexts/Select2Context.d.ts +16 -16
- package/dist/types/src/contexts/TabsContext.d.ts +16 -16
- package/dist/types/src/contexts/index.d.ts +6 -6
- package/dist/types/src/index.d.ts +10 -10
- package/dist/types/src/types/common.d.ts +46 -46
- package/dist/types/src/types/iconBackground.d.ts +1 -1
- 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 +9 -9
- 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 +17 -17
- 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/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/stripDiacritics.d.ts +1 -1
- package/dist/types/src/utils/trimLeadingZeros.d.ts +1 -1
- package/dist/types/src/utils/useGroupedItems.d.ts +13 -13
- package/package.json +1 -1
- package/dist/svg/campgroundfFill.svg +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Divider';
|
|
1
|
+
export * from './Divider';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { TriggerType } from 'react-popper-tooltip';
|
|
3
|
-
import { ComponentPropsType } from '../../../';
|
|
4
|
-
export declare type DropdownPlacement = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
5
|
-
export interface DropdownPropsType extends ComponentPropsType {
|
|
6
|
-
/** Contents of dropdown. */
|
|
7
|
-
children: ReactNode | ReactNode[];
|
|
8
|
-
/** If true, closes the tooltip when user clicks outside the trigger element. */
|
|
9
|
-
closeOnOutsideClick?: boolean;
|
|
10
|
-
/** Whether to close the tooltip when its trigger is out of boundary. */
|
|
11
|
-
closeOnTriggerHidden?: boolean;
|
|
12
|
-
/** Delay in hiding the tooltip (ms). */
|
|
13
|
-
delayHide?: number;
|
|
14
|
-
/** Delay in showing the tooltip (ms). */
|
|
15
|
-
delayShow?: number;
|
|
16
|
-
/** Set to use same width as triggerComponent. */
|
|
17
|
-
hasSameWidthAsTrigger?: boolean;
|
|
18
|
-
/** If true, hovering the tooltip will keep it open. */
|
|
19
|
-
interactive?: boolean;
|
|
20
|
-
/** Flag default opened state. */
|
|
21
|
-
isOpenByDefault?: boolean;
|
|
22
|
-
/** Optional handler for visibility. */
|
|
23
|
-
onVisibleChange?: (state: boolean) => void;
|
|
24
|
-
/** Optional handler for click on outside */
|
|
25
|
-
onOutsideClick?: () => void;
|
|
26
|
-
/** The preferred placement of the tooltip. */
|
|
27
|
-
placement?: DropdownPlacement;
|
|
28
|
-
/** Event(s) that trigger dropdown to open. */
|
|
29
|
-
trigger?: TriggerType | TriggerType[] | null;
|
|
30
|
-
/** Component that triggers dropdown menu. */
|
|
31
|
-
triggerComponent: ReactElement;
|
|
32
|
-
forceVisibility?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare const Dropdown: ({ children, closeOnOutsideClick, closeOnTriggerHidden, delayHide, delayShow, forceVisibility, hasSameWidthAsTrigger, interactive, isOpenByDefault, onOutsideClick, onVisibleChange, placement, testId, theme, trigger, triggerComponent }: DropdownPropsType) => JSX.Element;
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { TriggerType } from 'react-popper-tooltip';
|
|
3
|
+
import { ComponentPropsType } from '../../../';
|
|
4
|
+
export declare type DropdownPlacement = 'auto' | 'auto-start' | 'auto-end' | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'right' | 'right-start' | 'right-end' | 'left' | 'left-start' | 'left-end';
|
|
5
|
+
export interface DropdownPropsType extends ComponentPropsType {
|
|
6
|
+
/** Contents of dropdown. */
|
|
7
|
+
children: ReactNode | ReactNode[];
|
|
8
|
+
/** If true, closes the tooltip when user clicks outside the trigger element. */
|
|
9
|
+
closeOnOutsideClick?: boolean;
|
|
10
|
+
/** Whether to close the tooltip when its trigger is out of boundary. */
|
|
11
|
+
closeOnTriggerHidden?: boolean;
|
|
12
|
+
/** Delay in hiding the tooltip (ms). */
|
|
13
|
+
delayHide?: number;
|
|
14
|
+
/** Delay in showing the tooltip (ms). */
|
|
15
|
+
delayShow?: number;
|
|
16
|
+
/** Set to use same width as triggerComponent. */
|
|
17
|
+
hasSameWidthAsTrigger?: boolean;
|
|
18
|
+
/** If true, hovering the tooltip will keep it open. */
|
|
19
|
+
interactive?: boolean;
|
|
20
|
+
/** Flag default opened state. */
|
|
21
|
+
isOpenByDefault?: boolean;
|
|
22
|
+
/** Optional handler for visibility. */
|
|
23
|
+
onVisibleChange?: (state: boolean) => void;
|
|
24
|
+
/** Optional handler for click on outside */
|
|
25
|
+
onOutsideClick?: () => void;
|
|
26
|
+
/** The preferred placement of the tooltip. */
|
|
27
|
+
placement?: DropdownPlacement;
|
|
28
|
+
/** Event(s) that trigger dropdown to open. */
|
|
29
|
+
trigger?: TriggerType | TriggerType[] | null;
|
|
30
|
+
/** Component that triggers dropdown menu. */
|
|
31
|
+
triggerComponent: ReactElement;
|
|
32
|
+
forceVisibility?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const Dropdown: ({ children, closeOnOutsideClick, closeOnTriggerHidden, delayHide, delayShow, forceVisibility, hasSameWidthAsTrigger, interactive, isOpenByDefault, onOutsideClick, onVisibleChange, placement, testId, theme, trigger, triggerComponent }: DropdownPropsType) => JSX.Element;
|
|
35
35
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType, IconBackgroundType, IconNameType } from '../../../../';
|
|
3
|
-
export interface DropdownItemPropsType extends ComponentPropsType {
|
|
4
|
-
/** Optional value for withAmount variant. */
|
|
5
|
-
amount?: ReactNode;
|
|
6
|
-
/** Children to be rendered in the main container. */
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/** Color of icon background. */
|
|
9
|
-
iconBackground?: IconBackgroundType;
|
|
10
|
-
/** Icon name/type enum type. */
|
|
11
|
-
iconName?: IconNameType;
|
|
12
|
-
/** Set if item is disabled. */
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
/** Set if item is focused. */
|
|
15
|
-
isFocused?: boolean;
|
|
16
|
-
/** Set if item is selected. */
|
|
17
|
-
isSelected?: boolean;
|
|
18
|
-
/** Click event handler. */
|
|
19
|
-
onClick?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>, value?: string | number) => void;
|
|
20
|
-
/** Mouse over event handler. */
|
|
21
|
-
onMouseOver?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>, value?: string | number) => void;
|
|
22
|
-
/** Optional perex for two line variant. */
|
|
23
|
-
perex?: ReactNode;
|
|
24
|
-
role?: string;
|
|
25
|
-
value?: string | number;
|
|
26
|
-
tabIndex?: number;
|
|
27
|
-
id?: string;
|
|
28
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLLIElement>) => void;
|
|
29
|
-
}
|
|
30
|
-
export declare const DropdownItem: ({ amount, children, iconBackground, iconName, id, isDisabled, isFocused, isSelected, onClick, onKeyDown, onMouseOver, perex, role, tabIndex, testId, theme, value }: DropdownItemPropsType) => JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType, IconBackgroundType, IconNameType } from '../../../../';
|
|
3
|
+
export interface DropdownItemPropsType extends ComponentPropsType {
|
|
4
|
+
/** Optional value for withAmount variant. */
|
|
5
|
+
amount?: ReactNode;
|
|
6
|
+
/** Children to be rendered in the main container. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/** Color of icon background. */
|
|
9
|
+
iconBackground?: IconBackgroundType;
|
|
10
|
+
/** Icon name/type enum type. */
|
|
11
|
+
iconName?: IconNameType;
|
|
12
|
+
/** Set if item is disabled. */
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/** Set if item is focused. */
|
|
15
|
+
isFocused?: boolean;
|
|
16
|
+
/** Set if item is selected. */
|
|
17
|
+
isSelected?: boolean;
|
|
18
|
+
/** Click event handler. */
|
|
19
|
+
onClick?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>, value?: string | number) => void;
|
|
20
|
+
/** Mouse over event handler. */
|
|
21
|
+
onMouseOver?: (event: React.MouseEvent<HTMLLIElement, MouseEvent>, value?: string | number) => void;
|
|
22
|
+
/** Optional perex for two line variant. */
|
|
23
|
+
perex?: ReactNode;
|
|
24
|
+
role?: string;
|
|
25
|
+
value?: string | number;
|
|
26
|
+
tabIndex?: number;
|
|
27
|
+
id?: string;
|
|
28
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLLIElement>) => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const DropdownItem: ({ amount, children, iconBackground, iconName, id, isDisabled, isFocused, isSelected, onClick, onKeyDown, onMouseOver, perex, role, tabIndex, testId, theme, value }: DropdownItemPropsType) => JSX.Element;
|
|
31
31
|
//# sourceMappingURL=DropdownItem.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ComponentPropsType } from '../../../../';
|
|
3
|
-
export interface DropdownMenuPropsType extends ComponentPropsType {
|
|
4
|
-
/** ARIA hidden attribute */
|
|
5
|
-
ariaHidden?: boolean;
|
|
6
|
-
/** Children to be rendered in the main container. */
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
/** Title for categorised menu. */
|
|
9
|
-
title?: string;
|
|
10
|
-
role?: string;
|
|
11
|
-
labelledBy?: string;
|
|
12
|
-
tabIndex?: number;
|
|
13
|
-
activeDescendant?: string;
|
|
14
|
-
id?: string;
|
|
15
|
-
onKeyDown?: (event: React.KeyboardEvent<HTMLUListElement>) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare const DropdownMenu: ({ activeDescendant, ariaHidden, children, id, labelledBy, onKeyDown, role, tabIndex, testId, theme, title }: DropdownMenuPropsType) => JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import { ComponentPropsType } from '../../../../';
|
|
3
|
+
export interface DropdownMenuPropsType extends ComponentPropsType {
|
|
4
|
+
/** ARIA hidden attribute */
|
|
5
|
+
ariaHidden?: boolean;
|
|
6
|
+
/** Children to be rendered in the main container. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/** Title for categorised menu. */
|
|
9
|
+
title?: string;
|
|
10
|
+
role?: string;
|
|
11
|
+
labelledBy?: string;
|
|
12
|
+
tabIndex?: number;
|
|
13
|
+
activeDescendant?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLUListElement>) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const DropdownMenu: ({ activeDescendant, ariaHidden, children, id, labelledBy, onKeyDown, role, tabIndex, testId, theme, title }: DropdownMenuPropsType) => JSX.Element;
|
|
18
18
|
//# sourceMappingURL=DropdownMenu.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './DropdownItem';
|
|
2
|
-
export * from './DropdownMenu';
|
|
1
|
+
export * from './DropdownItem';
|
|
2
|
+
export * from './DropdownMenu';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './Dropdown';
|
|
2
|
-
export * from './_elements_';
|
|
1
|
+
export * from './Dropdown';
|
|
2
|
+
export * from './_elements_';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { IconBackgroundType, IconNameType } from '../../../types';
|
|
2
|
-
import { ComponentPropsType } from '../../../utils/classBinder';
|
|
3
|
-
export interface IconPropsType extends ComponentPropsType {
|
|
4
|
-
/** Color of icon background */
|
|
5
|
-
backgroundColor?: IconBackgroundType;
|
|
6
|
-
/** Color of icon SVG fill from palette--(light|dark).scss example orangeDark */
|
|
7
|
-
color?: string;
|
|
8
|
-
/** Icon name/type enum type */
|
|
9
|
-
name: IconNameType;
|
|
10
|
-
/** Icon size enum type */
|
|
11
|
-
size?: IconSizeType;
|
|
12
|
-
/** Set padding for left position */
|
|
13
|
-
isLeft?: boolean;
|
|
14
|
-
/** Set padding for right position */
|
|
15
|
-
isRight?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare type IconSizeType = 'small' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
18
|
-
export declare const Icon: ({ backgroundColor, color, isLeft, isRight, name, size, testId, theme, ...rest }: IconPropsType) => JSX.Element;
|
|
1
|
+
import { IconBackgroundType, IconNameType } from '../../../types';
|
|
2
|
+
import { ComponentPropsType } from '../../../utils/classBinder';
|
|
3
|
+
export interface IconPropsType extends ComponentPropsType {
|
|
4
|
+
/** Color of icon background */
|
|
5
|
+
backgroundColor?: IconBackgroundType;
|
|
6
|
+
/** Color of icon SVG fill from palette--(light|dark).scss example orangeDark */
|
|
7
|
+
color?: string;
|
|
8
|
+
/** Icon name/type enum type */
|
|
9
|
+
name: IconNameType;
|
|
10
|
+
/** Icon size enum type */
|
|
11
|
+
size?: IconSizeType;
|
|
12
|
+
/** Set padding for left position */
|
|
13
|
+
isLeft?: boolean;
|
|
14
|
+
/** Set padding for right position */
|
|
15
|
+
isRight?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare type IconSizeType = 'small' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
18
|
+
export declare const Icon: ({ backgroundColor, color, isLeft, isRight, name, size, testId, theme, ...rest }: IconPropsType) => JSX.Element;
|
|
19
19
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Icon';
|
|
1
|
+
export * from './Icon';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,20 +1,20 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { IconBackgroundType, 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
|
-
/** Color of icon background */
|
|
9
|
-
iconBackgroundColor?: IconBackgroundType;
|
|
10
|
-
/** Custom icon name */
|
|
11
|
-
iconName?: IconNameType;
|
|
12
|
-
/** Specific size for icon only */
|
|
13
|
-
iconSize?: SizeType;
|
|
14
|
-
/** Size used as default for icon and text */
|
|
15
|
-
size?: SizeType;
|
|
16
|
-
/** Specific size for text only */
|
|
17
|
-
textSize?: SizeType;
|
|
18
|
-
}
|
|
19
|
-
export declare const IconListItem: ({ children, iconBackgroundColor, iconName, iconSize, size, testId, textSize, theme }: IconListItemPropsType) => JSX.Element;
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { IconBackgroundType, 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
|
+
/** Color of icon background */
|
|
9
|
+
iconBackgroundColor?: IconBackgroundType;
|
|
10
|
+
/** Custom icon name */
|
|
11
|
+
iconName?: IconNameType;
|
|
12
|
+
/** Specific size for icon only */
|
|
13
|
+
iconSize?: SizeType;
|
|
14
|
+
/** Size used as default for icon and text */
|
|
15
|
+
size?: SizeType;
|
|
16
|
+
/** Specific size for text only */
|
|
17
|
+
textSize?: SizeType;
|
|
18
|
+
}
|
|
19
|
+
export declare const IconListItem: ({ children, iconBackgroundColor, iconName, iconSize, size, testId, textSize, theme }: IconListItemPropsType) => JSX.Element;
|
|
20
20
|
//# 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 } from '../../../utils';
|
|
4
|
-
export interface LinkPropsType extends ComponentPropsType {
|
|
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 } from '../../../utils';
|
|
4
|
+
export interface LinkPropsType extends ComponentPropsType {
|
|
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
|