@linzjs/lui 24.20.1 → 26.1.0
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/CHANGELOG.md +39 -0
- package/dist/assets/svg-content.d.ts +7 -7
- package/dist/components/Drawer/Drawer.d.ts +45 -45
- package/dist/components/Drawer/DrawerContext.d.ts +6 -7
- package/dist/components/Drawer/DrawerGlobal.d.ts +12 -12
- package/dist/components/Drawer/DrawerGlobalContext.d.ts +14 -14
- package/dist/components/Drawer/utils.d.ts +7 -7
- package/dist/components/LuiAccordicard/LuiAccordicard.d.ts +9 -9
- package/dist/components/LuiAccordicardStatic/LuiAccordicardStatic.d.ts +9 -9
- package/dist/components/LuiAccordion/LuiAccordion.d.ts +12 -12
- package/dist/components/LuiBadge/LuiBadge.d.ts +12 -12
- package/dist/components/LuiBanner/LuiBanner.d.ts +10 -10
- package/dist/components/LuiBannerV2/LuiBannerV2.d.ts +22 -22
- package/dist/components/LuiBearingInput/LuiBearingInput.d.ts +16 -16
- package/dist/components/LuiButton/LuiButton.d.ts +44 -44
- package/dist/components/LuiColourPicker/ColorBucket.d.ts +6 -6
- package/dist/components/LuiColourPicker/ColorInput.d.ts +9 -9
- package/dist/components/LuiColourPicker/ColorPalette.d.ts +14 -14
- package/dist/components/LuiColourPicker/ColourPaletteConstants.d.ts +8 -8
- package/dist/components/LuiCommonInputProps.d.ts +5 -5
- package/dist/components/LuiCounter/LuiCounter.d.ts +8 -8
- package/dist/components/LuiError/LuiError.d.ts +8 -8
- package/dist/components/LuiErrorPage/LuiErrorIllustration.d.ts +5 -5
- package/dist/components/LuiErrorPage/LuiErrorPage.d.ts +9 -9
- package/dist/components/LuiErrorPanel/LuiErrorPanel.d.ts +23 -23
- package/dist/components/LuiExpandableBanner/LuiExpandableBanner.d.ts +19 -19
- package/dist/components/LuiFilterContainer/LuiFilterContainer.d.ts +14 -14
- package/dist/components/LuiFilterMenu/LuiFilterMenu.d.ts +16 -16
- package/dist/components/LuiFooter/LuiAppFooterSml.d.ts +13 -13
- package/dist/components/LuiFooter/LuiFooter.d.ts +12 -12
- package/dist/components/LuiFormElements/ClearableLuiTextInput/ClearableLuiTextInput.d.ts +14 -14
- package/dist/components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.d.ts +16 -16
- package/dist/components/LuiFormElements/LuiComboSelect/LuiComboSelect.d.ts +27 -27
- package/dist/components/LuiFormElements/LuiDateInput/DateInput.d.ts +5 -5
- package/dist/components/LuiFormElements/LuiDateInput/DateInputHelper.d.ts +6 -6
- package/dist/components/LuiFormElements/LuiDateInput/FireDateChange.d.ts +1 -1
- package/dist/components/LuiFormElements/LuiDateInput/LuiDateInput.d.ts +5 -5
- package/dist/components/LuiFormElements/LuiFileInputBox/LuiFileInputBox.d.ts +36 -36
- package/dist/components/LuiFormElements/LuiMoneyInput/LuiMoneyInput.d.ts +28 -28
- package/dist/components/LuiFormElements/LuiRadioInput/LuiRadioInput.d.ts +15 -15
- package/dist/components/LuiFormElements/LuiSelectInput/LuiSelectInput.d.ts +20 -20
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiAutoExpandTextAreaInput.d.ts +3 -3
- package/dist/components/LuiFormElements/LuiTextAreaInput/LuiTextAreaInput.d.ts +12 -12
- package/dist/components/LuiFormElements/LuiTextInput/LuiTextInput.d.ts +23 -23
- package/dist/components/LuiForms/LuiFormSection/LuiFormSectionHeader.d.ts +7 -7
- package/dist/components/LuiForms/LuiFormSection/LuiHelpInfo/LuiHelpInfo.d.ts +6 -6
- package/dist/components/LuiHeader/LuiHeader.d.ts +72 -72
- package/dist/components/LuiHeaderMenu/LuiHeaderMenus.d.ts +51 -51
- package/dist/components/LuiHeaderMenuV2/LuiHeaderMenusV2.d.ts +87 -102
- package/dist/components/LuiHeaderV2/LuiHeaderV2.d.ts +103 -109
- package/dist/components/LuiIcon/LuiIcon.d.ts +35 -35
- package/dist/components/LuiListBox/LuiListBox.d.ts +59 -59
- package/dist/components/LuiListBox/LuiListBoxGroup.d.ts +10 -10
- package/dist/components/LuiListBox/LuiListBoxItem.d.ts +10 -10
- package/dist/components/LuiListBox/Renderers/CheckboxItemRenderer.d.ts +4 -4
- package/dist/components/LuiListBox/Renderers/RadioItemRenderer.d.ts +4 -4
- package/dist/components/LuiListBox/useLuiListBox.d.ts +3 -3
- package/dist/components/LuiLoadingSpinner/LuiLoadingSpinner.d.ts +16 -16
- package/dist/components/LuiLoadingSpinner/LuiLottieLight.d.ts +14 -14
- package/dist/components/LuiMenu/LuiMenu.d.ts +12 -12
- package/dist/components/LuiMenuTrigger/LuiMenuTrigger.d.ts +5 -5
- package/dist/components/LuiModal/LuiAlertModalV2.d.ts +7 -7
- package/dist/components/LuiModal/LuiModal.d.ts +40 -40
- package/dist/components/LuiModal/LuiModalContext.d.ts +6 -0
- package/dist/components/LuiModal/LuiModalV2.d.ts +36 -36
- package/dist/components/LuiMultiSwitch/LuiMultiSwitch.d.ts +23 -23
- package/dist/components/LuiMultiSwitch/LuiMultiSwitch.examples.d.ts +4 -4
- package/dist/components/LuiPagination/LuiPagination.d.ts +23 -23
- package/dist/components/LuiProgressBar/LuiProgressBar.d.ts +9 -9
- package/dist/components/LuiResizableLayout/LuiResizableLayout.d.ts +25 -25
- package/dist/components/LuiSearchBox/LuiSearchBox.d.ts +41 -41
- package/dist/components/LuiSearchInput/LuiPassiveSearchInput.d.ts +28 -28
- package/dist/components/LuiSearchInput/LuiSearchInput.d.ts +38 -38
- package/dist/components/LuiSearchInput/ResultsDisplay.d.ts +23 -23
- package/dist/components/LuiSelectMenu/LuiSelectDataMenu.d.ts +15 -15
- package/dist/components/LuiSelectMenu/LuiSelectMenu.d.ts +25 -25
- package/dist/components/LuiShadow/LuiShadow.d.ts +6 -6
- package/dist/components/LuiSideMenu/LuiSideMenu.d.ts +5 -5
- package/dist/components/LuiSideMenu/LuiSideMenuItem.d.ts +11 -11
- package/dist/components/LuiSidePanel/LuiSidePanel.d.ts +9 -9
- package/dist/components/LuiSidePanel/LuiSidePanelHelper.d.ts +7 -7
- package/dist/components/LuiSideToolbar/LuiSideToolbar.d.ts +11 -11
- package/dist/components/LuiSideToolbar/ToolbarButton.d.ts +21 -21
- package/dist/components/LuiSideToolbar/ToolbarIcon.d.ts +13 -13
- package/dist/components/LuiSideToolbar/ToolbarItem.d.ts +17 -17
- package/dist/components/LuiSplitButton/LuiSplitButton.d.ts +30 -30
- package/dist/components/LuiStaticMessage/LuiStaticMessage.d.ts +10 -10
- package/dist/components/LuiSwitchButton/LuiSwitchButton.d.ts +8 -8
- package/dist/components/LuiTabs/LuiTab/LuiTab.d.ts +13 -13
- package/dist/components/LuiTabs/LuiTabs.d.ts +10 -10
- package/dist/components/LuiTabs/LuiTabsGroup/LuiTabsGroup.d.ts +5 -5
- package/dist/components/LuiTabs/LuiTabsPanel/LuiTabsPanel.d.ts +8 -8
- package/dist/components/LuiTabs/LuiTabsPanelSwitch/LuiTabsPanelSwitch.d.ts +8 -8
- package/dist/components/LuiToastMessage/LuiToastMessage.d.ts +20 -20
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +16 -16
- package/dist/components/LuiUpdateSplashModal/LuiUpdatesSplashModal.d.ts +27 -27
- package/dist/components/Splitter/Control/Control.d.ts +9 -9
- package/dist/components/Splitter/Control/ControlIcon.d.ts +7 -7
- package/dist/components/Splitter/Separator/Separator.d.ts +11 -11
- package/dist/components/Splitter/Splitter.d.ts +44 -44
- package/dist/components/Splitter/Stories/RangeAsPx.d.ts +9 -9
- package/dist/components/Splitter/Stories/Section.d.ts +5 -3
- package/dist/components/Splitter/helpers/clampSeparator.d.ts +10 -10
- package/dist/components/Splitter/helpers/dataBoundary.d.ts +18 -18
- package/dist/components/Splitter/helpers/getGridTemplate.d.ts +14 -14
- package/dist/components/Splitter/helpers/getKeyDownDeltaMove.d.ts +6 -7
- package/dist/components/Splitter/helpers/getSeparatorAttributes.d.ts +27 -27
- package/dist/components/Splitter/helpers/getSeparatorPosition.d.ts +7 -7
- package/dist/components/Splitter/helpers/transition.d.ts +5 -5
- package/dist/components/Splitter/helpers/useForkRef.d.ts +3 -4
- package/dist/components/Splitter/helpers/useMoveSeparator.d.ts +11 -11
- package/dist/components/Splitter/helpers/useShowSeparator.d.ts +7 -7
- package/dist/components/Splitter/helpers/useValueSeparator.d.ts +15 -15
- package/dist/components/Splitter/helpers/useValueSeparatorEffects.d.ts +5 -5
- package/dist/components/Splitter/useSplitterRef.d.ts +5 -5
- package/dist/components/Toast/Helpers/ToastSection.d.ts +9 -9
- package/dist/components/Toast/Helpers/ToastTypes.d.ts +35 -35
- package/dist/components/Toast/Helpers/getToastProviderEl.d.ts +15 -15
- package/dist/components/Toast/Helpers/toastUsage.d.ts +2 -2
- package/dist/components/Toast/Helpers/useToastState.d.ts +20 -21
- package/dist/components/Toast/ToastBanner.d.ts +6 -6
- package/dist/components/Toast/ToastProvider.d.ts +10 -10
- package/dist/components/Toast/Upgrade/LuiToastMessageCompatibleInterface.d.ts +5 -5
- package/dist/components/Toast/Upgrade/ToastVersion.d.ts +2 -3
- package/dist/components/Toast/Upgrade/index.d.ts +39 -39
- package/dist/components/Toast/Upgrade/observeOlderToasts.d.ts +6 -6
- package/dist/components/Toast/Upgrade/useShowLUIMessageCompatibleInterface.d.ts +5 -5
- package/dist/components/Toast/index.d.ts +2 -2
- package/dist/components/Toast/useToast.d.ts +43 -43
- package/dist/components/common/Hooks.d.ts +32 -32
- package/dist/components/common/ResponsiveUtils.d.ts +7 -7
- package/dist/components/common/StorybookSupport.d.ts +6 -6
- package/dist/components/common/UseMediaQuery.d.ts +9 -9
- package/dist/contexts/LuiFilterCharactersProvider.d.ts +12 -12
- package/dist/contexts/LuiMessagingContextProvider.d.ts +14 -14
- package/dist/fonts.d.ts +10 -10
- package/dist/functions/LinzFreeTextFilter.d.ts +14 -14
- package/dist/functions/LinzFreeTextValidator.d.ts +2 -2
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useClickedOutsideElement.d.ts +14 -14
- package/dist/hooks/useDeprecatedWarning.d.ts +1 -1
- package/dist/index.d.ts +92 -92
- package/dist/index.js +10917 -9559
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +10917 -9559
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiSwitchButton/LuiSwitchButton.scss +1 -0
- package/package.json +73 -61
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { MenuItemProps, MenuProps, SubMenuProps } from '@szhsin/react-menu';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export interface ILuiSelectMenuItemProps extends MenuItemProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
iconName?: string;
|
|
6
|
-
level?: 'primary' | 'error' | 'interactive' | 'link';
|
|
7
|
-
iconAlt?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
showHeader?: boolean;
|
|
10
|
-
noPadding?: boolean;
|
|
11
|
-
'data-testid'?: string;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const LuiSelectMenu: ({ ...props }: MenuProps) => React.JSX.Element;
|
|
15
|
-
export declare const LuiSelectMenuItem: ({ iconName, iconAlt, level, noPadding, loading, ...rest }: ILuiSelectMenuItemProps) => React.JSX.Element;
|
|
16
|
-
export type LuiSelectMenuItemSwitchProps = Omit<ILuiSelectMenuItemProps, 'iconName' | 'iconAlt'> & {
|
|
17
|
-
checked?: boolean;
|
|
18
|
-
};
|
|
19
|
-
export declare const LuiSelectMenuItemSwitch: ({ checked, children, className, ...props }: LuiSelectMenuItemSwitchProps) => React.JSX.Element;
|
|
20
|
-
export interface ILuiSelectSubMenuItemProps extends SubMenuProps {
|
|
21
|
-
iconName?: string;
|
|
22
|
-
iconAlt?: string;
|
|
23
|
-
label: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const LuiSelectSubMenuItem: ({ label, iconName, iconAlt, ...rest }: ILuiSelectSubMenuItemProps) => React.JSX.Element;
|
|
1
|
+
import { MenuItemProps, MenuProps, SubMenuProps } from '@szhsin/react-menu';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface ILuiSelectMenuItemProps extends MenuItemProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
iconName?: string;
|
|
6
|
+
level?: 'primary' | 'error' | 'interactive' | 'link';
|
|
7
|
+
iconAlt?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
showHeader?: boolean;
|
|
10
|
+
noPadding?: boolean;
|
|
11
|
+
'data-testid'?: string;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const LuiSelectMenu: ({ ...props }: MenuProps) => React.JSX.Element;
|
|
15
|
+
export declare const LuiSelectMenuItem: ({ iconName, iconAlt, level, noPadding, loading, ...rest }: ILuiSelectMenuItemProps) => React.JSX.Element;
|
|
16
|
+
export type LuiSelectMenuItemSwitchProps = Omit<ILuiSelectMenuItemProps, 'iconName' | 'iconAlt'> & {
|
|
17
|
+
checked?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export declare const LuiSelectMenuItemSwitch: ({ checked, children, className, ...props }: LuiSelectMenuItemSwitchProps) => React.JSX.Element;
|
|
20
|
+
export interface ILuiSelectSubMenuItemProps extends SubMenuProps {
|
|
21
|
+
iconName?: string;
|
|
22
|
+
iconAlt?: string;
|
|
23
|
+
label: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const LuiSelectSubMenuItem: ({ label, iconName, iconAlt, ...rest }: ILuiSelectSubMenuItemProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const LuiShadow: (props: {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
dropSize?:
|
|
5
|
-
className?: string;
|
|
6
|
-
}) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LuiShadow: (props: {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
dropSize?: "sm" | "md" | "lg";
|
|
5
|
+
className?: string;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export interface ILuiSideMenuProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
export declare function LuiSideMenu({ children }: ILuiSideMenuProps): React.JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface ILuiSideMenuProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare function LuiSideMenu({ children }: ILuiSideMenuProps): React.JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type LuiMenuItemClickHandler = (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
3
|
-
export interface ILuiSideMenuItemProps {
|
|
4
|
-
icon: string;
|
|
5
|
-
to: string;
|
|
6
|
-
label: string;
|
|
7
|
-
onClick?: LuiMenuItemClickHandler;
|
|
8
|
-
isActive?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare function LuiSideMenuItem({ to, label, icon, isActive, onClick, disabled, }: ILuiSideMenuItemProps): React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type LuiMenuItemClickHandler = (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void;
|
|
3
|
+
export interface ILuiSideMenuItemProps {
|
|
4
|
+
icon: string;
|
|
5
|
+
to: string;
|
|
6
|
+
label: string;
|
|
7
|
+
onClick?: LuiMenuItemClickHandler;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function LuiSideMenuItem({ to, label, icon, isActive, onClick, disabled, }: ILuiSideMenuItemProps): React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const LuiSidePanel: React.FC<React.PropsWithChildren<{
|
|
3
|
-
onClose: () => void;
|
|
4
|
-
width?: string;
|
|
5
|
-
closeBtnTitleAttr?: string;
|
|
6
|
-
top?: number;
|
|
7
|
-
classNames?: string;
|
|
8
|
-
}>>;
|
|
9
|
-
export declare const LuiSidePanelProvider: React.FC<React.PropsWithChildren<unknown>>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LuiSidePanel: React.FC<React.PropsWithChildren<{
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
width?: string;
|
|
5
|
+
closeBtnTitleAttr?: string;
|
|
6
|
+
top?: number;
|
|
7
|
+
classNames?: string;
|
|
8
|
+
}>>;
|
|
9
|
+
export declare const LuiSidePanelProvider: React.FC<React.PropsWithChildren<unknown>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type LuiSidePanelHelperProps = {
|
|
3
|
-
initialSelectedRow?: number;
|
|
4
|
-
rows?: number[];
|
|
5
|
-
};
|
|
6
|
-
export declare const LuiSidePanelHelper: ({ initialSelectedRow, rows, }: LuiSidePanelHelperProps) => React.JSX.Element;
|
|
7
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type LuiSidePanelHelperProps = {
|
|
3
|
+
initialSelectedRow?: number;
|
|
4
|
+
rows?: number[];
|
|
5
|
+
};
|
|
6
|
+
export declare const LuiSidePanelHelper: ({ initialSelectedRow, rows, }: LuiSidePanelHelperProps) => React.JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './LuiSideToolbar.scss';
|
|
2
|
-
import React, { ReactNode } from 'react';
|
|
3
|
-
export declare enum ToolbarDirection {
|
|
4
|
-
LEFT = "Left",
|
|
5
|
-
RIGHT = "Right"
|
|
6
|
-
}
|
|
7
|
-
export interface ToolbarProps {
|
|
8
|
-
direction: ToolbarDirection;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export declare function LuiSideToolbar(props: ToolbarProps): React.JSX.Element;
|
|
1
|
+
import './LuiSideToolbar.scss';
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
|
+
export declare enum ToolbarDirection {
|
|
4
|
+
LEFT = "Left",
|
|
5
|
+
RIGHT = "Right"
|
|
6
|
+
}
|
|
7
|
+
export interface ToolbarProps {
|
|
8
|
+
direction: ToolbarDirection;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export declare function LuiSideToolbar(props: ToolbarProps): React.JSX.Element;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import './ToolbarButton.scss';
|
|
2
|
-
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface ToolbarButtonProps {
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
highlighted?: boolean;
|
|
7
|
-
iconImage?: string;
|
|
8
|
-
iconName: string;
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
panelKey?: string;
|
|
12
|
-
panelTitle?: string;
|
|
13
|
-
tooltip?: string;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Create button for using either LuiIcon or Image.
|
|
17
|
-
*
|
|
18
|
-
* @param props
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
export declare const ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1
|
+
import './ToolbarButton.scss';
|
|
2
|
+
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export interface ToolbarButtonProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
highlighted?: boolean;
|
|
7
|
+
iconImage?: string;
|
|
8
|
+
iconName: string;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
panelKey?: string;
|
|
12
|
+
panelTitle?: string;
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Create button for using either LuiIcon or Image.
|
|
17
|
+
*
|
|
18
|
+
* @param props
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
export declare const ToolbarButton: React.ForwardRefExoticComponent<ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ToolbarIconProps {
|
|
3
|
-
iconImage?: string;
|
|
4
|
-
iconName: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Show LuiIcon or Image.
|
|
8
|
-
*
|
|
9
|
-
* @param param
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare const ToolbarIcon: ({ iconImage, iconName }: ToolbarIconProps) => React.JSX.Element;
|
|
13
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ToolbarIconProps {
|
|
3
|
+
iconImage?: string;
|
|
4
|
+
iconName: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Show LuiIcon or Image.
|
|
8
|
+
*
|
|
9
|
+
* @param param
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare const ToolbarIcon: ({ iconImage, iconName }: ToolbarIconProps) => React.JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
-
export interface ToolbarItemProps {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
dataTestId?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Allows any item to be added into the toolbar (with appropriate styles and size)
|
|
12
|
-
*
|
|
13
|
-
* @param props
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare const ToolbarItem: (props: ToolbarItemProps) => React.JSX.Element;
|
|
17
|
-
export declare const ToolbarItemSeparator: () => React.JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import 'react-loading-skeleton/dist/skeleton.css';
|
|
3
|
+
export interface ToolbarItemProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
tooltip?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
dataTestId?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Allows any item to be added into the toolbar (with appropriate styles and size)
|
|
12
|
+
*
|
|
13
|
+
* @param props
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare const ToolbarItem: (props: ToolbarItemProps) => React.JSX.Element;
|
|
17
|
+
export declare const ToolbarItemSeparator: () => React.JSX.Element;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MenuProps, MenuItemProps } from '@szhsin/react-menu';
|
|
3
|
-
import { LuiButtonProps } from '../LuiButton/LuiButton';
|
|
4
|
-
export interface ILuiSplitButtonProps {
|
|
5
|
-
buttonProps?: Omit<LuiButtonProps, 'ref' | 'children' | 'level'>;
|
|
6
|
-
buttonLabel: React.ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
menuProps?: MenuProps;
|
|
9
|
-
position?: LuiSplitButtonPosition;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
'data-testid'?: string;
|
|
13
|
-
level?: 'primary' | 'secondary';
|
|
14
|
-
}
|
|
15
|
-
export interface ILuiSplitButtonMenuItemProps extends MenuItemProps {
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
iconName?: string;
|
|
18
|
-
level?: 'primary' | 'error';
|
|
19
|
-
iconAlt?: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
showHeader?: boolean;
|
|
22
|
-
noPadding?: boolean;
|
|
23
|
-
'data-testid'?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare enum LuiSplitButtonPosition {
|
|
26
|
-
TOP = "Top"
|
|
27
|
-
BOTTOM = "Bottom"
|
|
28
|
-
}
|
|
29
|
-
export declare const LuiSplitButtonMenuItem: ({ iconName, iconAlt, level, noPadding, ...rest }: ILuiSplitButtonMenuItemProps) => React.JSX.Element;
|
|
30
|
-
export declare const LuiSplitButton: ({ position, ...props }: ILuiSplitButtonProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MenuProps, MenuItemProps } from '@szhsin/react-menu';
|
|
3
|
+
import { LuiButtonProps } from '../LuiButton/LuiButton';
|
|
4
|
+
export interface ILuiSplitButtonProps {
|
|
5
|
+
buttonProps?: Omit<LuiButtonProps, 'ref' | 'children' | 'level'>;
|
|
6
|
+
buttonLabel: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
menuProps?: MenuProps;
|
|
9
|
+
position?: LuiSplitButtonPosition;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
'data-testid'?: string;
|
|
13
|
+
level?: 'primary' | 'secondary';
|
|
14
|
+
}
|
|
15
|
+
export interface ILuiSplitButtonMenuItemProps extends MenuItemProps {
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
iconName?: string;
|
|
18
|
+
level?: 'primary' | 'error';
|
|
19
|
+
iconAlt?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
showHeader?: boolean;
|
|
22
|
+
noPadding?: boolean;
|
|
23
|
+
'data-testid'?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare enum LuiSplitButtonPosition {
|
|
26
|
+
TOP = "Top",// Default position
|
|
27
|
+
BOTTOM = "Bottom"
|
|
28
|
+
}
|
|
29
|
+
export declare const LuiSplitButtonMenuItem: ({ iconName, iconAlt, level, noPadding, ...rest }: ILuiSplitButtonMenuItemProps) => React.JSX.Element;
|
|
30
|
+
export declare const LuiSplitButton: ({ position, ...props }: ILuiSplitButtonProps) => React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export interface ILuiStaticMessage {
|
|
3
|
-
level: 'success' | 'info' | 'warning' | 'error';
|
|
4
|
-
closable?: boolean;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
icon?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare const LuiStaticMessage: (props: ILuiStaticMessage) => React.JSX.Element;
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export interface ILuiStaticMessage {
|
|
3
|
+
level: 'success' | 'info' | 'warning' | 'error';
|
|
4
|
+
closable?: boolean;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
icon?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export declare const LuiStaticMessage: (props: ILuiStaticMessage) => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React, { ChangeEvent } from 'react';
|
|
2
|
-
import './../../scss/Components/LuiSwitchButton/LuiSwitchButton.scss';
|
|
3
|
-
export declare const LuiSwitchButton: (props: {
|
|
4
|
-
checked: boolean;
|
|
5
|
-
onChange: (event: ChangeEvent<HTMLInputElement>) => any;
|
|
6
|
-
disabled?: boolean
|
|
7
|
-
small?: boolean
|
|
8
|
-
}) => React.JSX.Element;
|
|
1
|
+
import React, { ChangeEvent } from 'react';
|
|
2
|
+
import './../../scss/Components/LuiSwitchButton/LuiSwitchButton.scss';
|
|
3
|
+
export declare const LuiSwitchButton: (props: {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
onChange: (event: ChangeEvent<HTMLInputElement>) => any;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
small?: boolean;
|
|
8
|
+
}) => React.JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React, { ButtonHTMLAttributes, MouseEvent } from 'react';
|
|
2
|
-
export interface LuiTabProps {
|
|
3
|
-
onClick: (e: MouseEvent) => void | (() => void);
|
|
4
|
-
active: boolean;
|
|
5
|
-
inError?: boolean;
|
|
6
|
-
inWarning?: boolean;
|
|
7
|
-
id: string;
|
|
8
|
-
ariaControls: string;
|
|
9
|
-
titleAttribute?: string;
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
buttonProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'id' | 'aria-selected' | 'aria-controls' | 'title' | 'onClick' | 'children'>;
|
|
12
|
-
}
|
|
13
|
-
export declare const LuiTab: React.FC<React.PropsWithChildren<LuiTabProps>>;
|
|
1
|
+
import React, { ButtonHTMLAttributes, MouseEvent } from 'react';
|
|
2
|
+
export interface LuiTabProps {
|
|
3
|
+
onClick: (e: MouseEvent) => void | (() => void);
|
|
4
|
+
active: boolean;
|
|
5
|
+
inError?: boolean;
|
|
6
|
+
inWarning?: boolean;
|
|
7
|
+
id: string;
|
|
8
|
+
ariaControls: string;
|
|
9
|
+
titleAttribute?: string;
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
buttonProps?: Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'id' | 'aria-selected' | 'aria-controls' | 'title' | 'onClick' | 'children'>;
|
|
12
|
+
}
|
|
13
|
+
export declare const LuiTab: React.FC<React.PropsWithChildren<LuiTabProps>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ILuiTabsContext {
|
|
3
|
-
activePanel: string | null;
|
|
4
|
-
setActivePanel: (activePanel: string) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const LuiTabsContext: React.Context<ILuiTabsContext>;
|
|
7
|
-
export declare const LuiTabs: React.FC<React.PropsWithChildren<{
|
|
8
|
-
defaultPanel: string;
|
|
9
|
-
}>>;
|
|
10
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ILuiTabsContext {
|
|
3
|
+
activePanel: string | null;
|
|
4
|
+
setActivePanel: (activePanel: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const LuiTabsContext: React.Context<ILuiTabsContext>;
|
|
7
|
+
export declare const LuiTabs: React.FC<React.PropsWithChildren<{
|
|
8
|
+
defaultPanel: string;
|
|
9
|
+
}>>;
|
|
10
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const LuiTabsGroup: React.FC<React.PropsWithChildren<{
|
|
3
|
-
ariaLabel: string;
|
|
4
|
-
justify?: boolean;
|
|
5
|
-
}>>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const LuiTabsGroup: React.FC<React.PropsWithChildren<{
|
|
3
|
+
ariaLabel: string;
|
|
4
|
+
justify?: boolean;
|
|
5
|
+
}>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type LuiTabsPanelMode = 'lazy' | 'eager';
|
|
3
|
-
interface LuiTabsPanelProps {
|
|
4
|
-
panel: string;
|
|
5
|
-
mode?: LuiTabsPanelMode;
|
|
6
|
-
}
|
|
7
|
-
export declare const LuiTabsPanel: React.FC<React.PropsWithChildren<LuiTabsPanelProps>>;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type LuiTabsPanelMode = 'lazy' | 'eager';
|
|
3
|
+
interface LuiTabsPanelProps {
|
|
4
|
+
panel: string;
|
|
5
|
+
mode?: LuiTabsPanelMode;
|
|
6
|
+
}
|
|
7
|
+
export declare const LuiTabsPanel: React.FC<React.PropsWithChildren<LuiTabsPanelProps>>;
|
|
8
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LuiTabProps } from '../LuiTab/LuiTab';
|
|
3
|
-
interface LuiTabsPanelSwitch extends Omit<LuiTabProps, 'id' | 'ariaControls' | 'active' | 'onClick' | 'children'> {
|
|
4
|
-
targetPanel: string;
|
|
5
|
-
setActivePanel?: (targetPanel: string) => {};
|
|
6
|
-
}
|
|
7
|
-
export declare const LuiTabsPanelSwitch: React.FC<React.PropsWithChildren<LuiTabsPanelSwitch>>;
|
|
8
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LuiTabProps } from '../LuiTab/LuiTab';
|
|
3
|
+
interface LuiTabsPanelSwitch extends Omit<LuiTabProps, 'id' | 'ariaControls' | 'active' | 'onClick' | 'children'> {
|
|
4
|
+
targetPanel: string;
|
|
5
|
+
setActivePanel?: (targetPanel: string) => {};
|
|
6
|
+
}
|
|
7
|
+
export declare const LuiTabsPanelSwitch: React.FC<React.PropsWithChildren<LuiTabsPanelSwitch>>;
|
|
8
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type ILuiToastMessageLevels = 'success' | 'info' | 'warning' | 'error';
|
|
3
|
-
interface ILuiToastMessageProps {
|
|
4
|
-
/** "success" | "info" | "warning" | "error" */
|
|
5
|
-
level: ILuiToastMessageLevels;
|
|
6
|
-
/** 0 means it will not disolve @default 4000 */
|
|
7
|
-
displayTimeout?: number;
|
|
8
|
-
/** allows the consumer to control when Toast fades @default true */
|
|
9
|
-
display?: boolean;
|
|
10
|
-
/** adds an X in the corner @default false */
|
|
11
|
-
requireDismiss?: boolean;
|
|
12
|
-
/** called when all said and done, allows the consumer to remove from React Dom */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
/** delay before calling onClose, defaults to displayTimeout */
|
|
15
|
-
onCloseDelay?: number;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
type?: 'button' | 'submit' | 'reset';
|
|
18
|
-
}
|
|
19
|
-
export declare const LuiToastMessage: React.FC<React.PropsWithChildren<ILuiToastMessageProps>>;
|
|
20
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ILuiToastMessageLevels = 'success' | 'info' | 'warning' | 'error';
|
|
3
|
+
interface ILuiToastMessageProps {
|
|
4
|
+
/** "success" | "info" | "warning" | "error" */
|
|
5
|
+
level: ILuiToastMessageLevels;
|
|
6
|
+
/** 0 means it will not disolve @default 4000 */
|
|
7
|
+
displayTimeout?: number;
|
|
8
|
+
/** allows the consumer to control when Toast fades @default true */
|
|
9
|
+
display?: boolean;
|
|
10
|
+
/** adds an X in the corner @default false */
|
|
11
|
+
requireDismiss?: boolean;
|
|
12
|
+
/** called when all said and done, allows the consumer to remove from React Dom */
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
/** delay before calling onClose, defaults to displayTimeout */
|
|
15
|
+
onCloseDelay?: number;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
type?: 'button' | 'submit' | 'reset';
|
|
18
|
+
}
|
|
19
|
+
export declare const LuiToastMessage: React.FC<React.PropsWithChildren<ILuiToastMessageProps>>;
|
|
20
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TippyProps } from '@tippyjs/react';
|
|
3
|
-
/**
|
|
4
|
-
* @see https://atomiks.github.io/tippyjs/
|
|
5
|
-
*/
|
|
6
|
-
export type ILuiTooltipProperties = TippyProps & {
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated use "content" instead.
|
|
9
|
-
*/
|
|
10
|
-
message?: TippyProps['content'];
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated use "theme" instead.
|
|
13
|
-
*/
|
|
14
|
-
mode?: 'default' | 'info' | 'error' | 'default-withDelay' | 'info-withDelay' | 'error-withDelay';
|
|
15
|
-
};
|
|
16
|
-
export declare const LuiTooltip: (props: ILuiTooltipProperties) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TippyProps } from '@tippyjs/react';
|
|
3
|
+
/**
|
|
4
|
+
* @see https://atomiks.github.io/tippyjs/
|
|
5
|
+
*/
|
|
6
|
+
export type ILuiTooltipProperties = TippyProps & {
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use "content" instead.
|
|
9
|
+
*/
|
|
10
|
+
message?: TippyProps['content'];
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use "theme" instead.
|
|
13
|
+
*/
|
|
14
|
+
mode?: 'default' | 'info' | 'error' | 'default-withDelay' | 'info-withDelay' | 'error-withDelay';
|
|
15
|
+
};
|
|
16
|
+
export declare const LuiTooltip: (props: ILuiTooltipProperties) => React.JSX.Element;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { JSX, ReactNode } from 'react';
|
|
2
|
-
interface IFrameConfig {
|
|
3
|
-
url: string;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
title: string;
|
|
7
|
-
iframeWrapperClass?: string;
|
|
8
|
-
iFrameProps?: Partial<JSX.IntrinsicElements['iframe']>;
|
|
9
|
-
}
|
|
10
|
-
type SplashModalProps = {
|
|
11
|
-
header: string;
|
|
12
|
-
wrapperClass?: string;
|
|
13
|
-
id: string;
|
|
14
|
-
releaseVersion: string;
|
|
15
|
-
enabled: boolean;
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
} & ({
|
|
18
|
-
bigImage: string;
|
|
19
|
-
smallImage: string;
|
|
20
|
-
iframe?: never;
|
|
21
|
-
} | {
|
|
22
|
-
bigImage?: never;
|
|
23
|
-
smallImage?: never;
|
|
24
|
-
iframe: IFrameConfig;
|
|
25
|
-
});
|
|
26
|
-
export declare const LuiUpdatesSplashModal: (props: SplashModalProps) => JSX.Element;
|
|
27
|
-
export {};
|
|
1
|
+
import { JSX, ReactNode } from 'react';
|
|
2
|
+
interface IFrameConfig {
|
|
3
|
+
url: string;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
title: string;
|
|
7
|
+
iframeWrapperClass?: string;
|
|
8
|
+
iFrameProps?: Partial<JSX.IntrinsicElements['iframe']>;
|
|
9
|
+
}
|
|
10
|
+
type SplashModalProps = {
|
|
11
|
+
header: string;
|
|
12
|
+
wrapperClass?: string;
|
|
13
|
+
id: string;
|
|
14
|
+
releaseVersion: string;
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
} & ({
|
|
18
|
+
bigImage: string;
|
|
19
|
+
smallImage: string;
|
|
20
|
+
iframe?: never;
|
|
21
|
+
} | {
|
|
22
|
+
bigImage?: never;
|
|
23
|
+
smallImage?: never;
|
|
24
|
+
iframe: IFrameConfig;
|
|
25
|
+
});
|
|
26
|
+
export declare const LuiUpdatesSplashModal: (props: SplashModalProps) => JSX.Element;
|
|
27
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { LuiButton } from '../../LuiButton/LuiButton';
|
|
3
|
-
import './Control.scss';
|
|
4
|
-
type ButtonProps = Partial<ComponentPropsWithRef<typeof LuiButton>>;
|
|
5
|
-
type Props = {
|
|
6
|
-
side: 'primary' | 'secondary';
|
|
7
|
-
} & ButtonProps;
|
|
8
|
-
export declare const Control: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
export {};
|
|
1
|
+
import React, { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { LuiButton } from '../../LuiButton/LuiButton';
|
|
3
|
+
import './Control.scss';
|
|
4
|
+
type ButtonProps = Partial<ComponentPropsWithRef<typeof LuiButton>>;
|
|
5
|
+
type Props = {
|
|
6
|
+
side: 'primary' | 'secondary';
|
|
7
|
+
} & ButtonProps;
|
|
8
|
+
export declare const Control: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { RefObject } from 'react';
|
|
2
|
-
type Side = 'primary' | 'secondary';
|
|
3
|
-
export declare const ControlIcon: ({ parent, side, }: {
|
|
4
|
-
side: Side;
|
|
5
|
-
parent: RefObject<HTMLButtonElement | null>;
|
|
6
|
-
}) => React.JSX.Element | null;
|
|
7
|
-
export {};
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
type Side = 'primary' | 'secondary';
|
|
3
|
+
export declare const ControlIcon: ({ parent, side, }: {
|
|
4
|
+
side: Side;
|
|
5
|
+
parent: RefObject<HTMLButtonElement | null>;
|
|
6
|
+
}) => React.JSX.Element | null;
|
|
7
|
+
export {};
|