@ssa-ui-kit/core 1.0.0 → 1.0.2
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/.storybook/style.css +9 -0
- package/dist/components/AccordionGroup/AccordionContent.d.ts +6 -1
- package/dist/components/AccordionGroup/AccordionContext.d.ts +1 -0
- package/dist/components/AccordionGroup/stories/helpers.d.ts +1 -1
- package/dist/components/AddNewAccountCard/types.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -2
- package/dist/components/Badge/BadgeBase.d.ts +3 -2
- package/dist/components/Badge/helpers.d.ts +5 -4
- package/dist/components/Badge/types.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +1 -0
- package/dist/components/Button/ButtonBase.d.ts +3 -2
- package/dist/components/Button/fixtures.d.ts +33 -32
- package/dist/components/Button/helpers.d.ts +5 -4
- package/dist/components/Card/CardBase.d.ts +4 -3
- package/dist/components/Card/types.d.ts +1 -0
- package/dist/components/CardContent/CardContent.d.ts +1 -0
- package/dist/components/CardContent/CardContentBase.d.ts +4 -3
- package/dist/components/CardHeader/CardHeader.d.ts +1 -0
- package/dist/components/CardHeader/CardHeaderBase.d.ts +5 -4
- package/dist/components/CardList/types.d.ts +1 -0
- package/dist/components/Checkbox/CheckboxBase.d.ts +1 -1
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarBase.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarItem.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarLink.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarList.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavBarWrapper.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/CollapsibleNavToggleWrapper.d.ts +4 -3
- package/dist/components/CollapsibleNavBar/NavBarAccordionContent.d.ts +9 -4
- package/dist/components/CollapsibleNavBar/NavBarItemWithSubMenu.d.ts +1 -1
- package/dist/components/CollapsibleNavBar/NavBarItemWithoutSubMenu.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/NavBarPopover.d.ts +2 -1
- package/dist/components/CollapsibleNavBar/TriggerIcon.d.ts +3 -3
- package/dist/components/CollapsibleNavBar/types.d.ts +1 -0
- package/dist/components/ColorPicker/styles.d.ts +3 -2
- package/dist/components/Dropdown/types.d.ts +1 -0
- package/dist/components/DropdownArrow/DropdownArrow.d.ts +3 -2
- package/dist/components/DropdownBase/DropdownBase.d.ts +3 -2
- package/dist/components/DropdownOption/DropdownOption.d.ts +2 -2
- package/dist/components/DropdownOptions/types.d.ts +1 -0
- package/dist/components/DropdownToggle/DropdownToggle.d.ts +3 -2
- package/dist/components/Filters/FilterBlockWrapper.d.ts +7 -6
- package/dist/components/Filters/Filters.d.ts +13 -2
- package/dist/components/Filters/FiltersContext.d.ts +13 -3
- package/dist/components/Filters/FiltersWrapper.d.ts +4 -3
- package/dist/components/Filters/hooks/useVisibility.d.ts +1 -0
- package/dist/components/Form/Form.d.ts +3 -2
- package/dist/components/FormAction/FormAction.d.ts +3 -2
- package/dist/components/FormGroup/FormGroup.d.ts +3 -2
- package/dist/components/FormHelperText/FormHelperTextBase.d.ts +4 -3
- package/dist/components/FormHelperText/types.d.ts +1 -0
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/icons/Archive.d.ts +2 -1
- package/dist/components/Icon/icons/ArrowDown.d.ts +2 -1
- package/dist/components/Icon/icons/ArrowUp.d.ts +2 -1
- package/dist/components/Icon/icons/Attention.d.ts +2 -1
- package/dist/components/Icon/icons/BanUser.d.ts +2 -1
- package/dist/components/Icon/icons/Bin.d.ts +2 -1
- package/dist/components/Icon/icons/Calendar.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotDown.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotLeft.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotRight.d.ts +2 -1
- package/dist/components/Icon/icons/CarrotUp.d.ts +2 -1
- package/dist/components/Icon/icons/Change.d.ts +2 -1
- package/dist/components/Icon/icons/Chart.d.ts +2 -1
- package/dist/components/Icon/icons/Check.d.ts +2 -1
- package/dist/components/Icon/icons/CheckCircle.d.ts +2 -1
- package/dist/components/Icon/icons/Circle.d.ts +2 -1
- package/dist/components/Icon/icons/Circular.d.ts +2 -1
- package/dist/components/Icon/icons/Clock.d.ts +2 -1
- package/dist/components/Icon/icons/Cogwheel.d.ts +2 -1
- package/dist/components/Icon/icons/ConfirmEmail.d.ts +2 -1
- package/dist/components/Icon/icons/Copy.d.ts +2 -1
- package/dist/components/Icon/icons/Cross.d.ts +2 -1
- package/dist/components/Icon/icons/Diet.d.ts +2 -1
- package/dist/components/Icon/icons/Edit.d.ts +2 -1
- package/dist/components/Icon/icons/Email.d.ts +2 -1
- package/dist/components/Icon/icons/Filter.d.ts +2 -1
- package/dist/components/Icon/icons/Home.d.ts +2 -1
- package/dist/components/Icon/icons/Import.d.ts +2 -1
- package/dist/components/Icon/icons/Information.d.ts +2 -1
- package/dist/components/Icon/icons/Invisible.d.ts +2 -1
- package/dist/components/Icon/icons/Lock.d.ts +2 -1
- package/dist/components/Icon/icons/LogIn.d.ts +2 -1
- package/dist/components/Icon/icons/LogOut.d.ts +2 -1
- package/dist/components/Icon/icons/Measurements.d.ts +2 -1
- package/dist/components/Icon/icons/Minus.d.ts +2 -1
- package/dist/components/Icon/icons/More.d.ts +2 -1
- package/dist/components/Icon/icons/MoreVertical.d.ts +2 -1
- package/dist/components/Icon/icons/Notification.d.ts +2 -1
- package/dist/components/Icon/icons/Pages.d.ts +2 -1
- package/dist/components/Icon/icons/Plus.d.ts +2 -1
- package/dist/components/Icon/icons/RadioOn.d.ts +2 -1
- package/dist/components/Icon/icons/Robot.d.ts +2 -1
- package/dist/components/Icon/icons/Roles.d.ts +2 -1
- package/dist/components/Icon/icons/Search.d.ts +2 -1
- package/dist/components/Icon/icons/Settings.d.ts +2 -1
- package/dist/components/Icon/icons/Sleep.d.ts +2 -1
- package/dist/components/Icon/icons/Stats.d.ts +2 -1
- package/dist/components/Icon/icons/Trainings.d.ts +2 -1
- package/dist/components/Icon/icons/UnArchive.d.ts +2 -1
- package/dist/components/Icon/icons/Union.d.ts +2 -1
- package/dist/components/Icon/icons/Unlock.d.ts +2 -1
- package/dist/components/Icon/icons/User.d.ts +2 -1
- package/dist/components/Icon/icons/Visible.d.ts +2 -1
- package/dist/components/Icon/icons/Warning.d.ts +2 -1
- package/dist/components/Icon/icons/all.d.ts +54 -0
- package/dist/components/Icon/icons/iconsList.d.ts +1 -1
- package/dist/components/Icon/types.d.ts +1 -0
- package/dist/components/Indicator/IndicatorBase.d.ts +4 -3
- package/dist/components/Indicator/types.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +1 -0
- package/dist/components/Input/InputBase.d.ts +3 -2
- package/dist/components/Input/InputGroup.d.ts +4 -3
- package/dist/components/Input/InputStatusError.d.ts +3 -2
- package/dist/components/Input/InputStatusSuccess.d.ts +3 -2
- package/dist/components/Label/LabelBase.d.ts +3 -2
- package/dist/components/LargeTab/LargeTabBase.d.ts +3 -2
- package/dist/components/Link/Link.types.d.ts +1 -0
- package/dist/components/Link/LinkBase.d.ts +3 -2
- package/dist/components/LinksTabBar/LinksTabBarBase.d.ts +3 -2
- package/dist/components/Modal/Modal.context.d.ts +1 -0
- package/dist/components/ModalDialog/types.d.ts +1 -0
- package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +1 -0
- package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +1 -0
- package/dist/components/MultipleDropdown/types.d.ts +1 -0
- package/dist/components/MultipleDropdownNotification/MultipleDropdownNotification.d.ts +4 -3
- package/dist/components/MultipleDropdownOptions/types.d.ts +1 -0
- package/dist/components/NavBar/NavBarBase.d.ts +3 -2
- package/dist/components/NavBar/NavBarItem.d.ts +3 -2
- package/dist/components/NavBar/NavBarLink.d.ts +2 -1
- package/dist/components/NavBar/NavBarList.d.ts +3 -2
- package/dist/components/NavBar/NavBarWrapper.d.ts +3 -2
- package/dist/components/NavBar/NavToggleWrapper.d.ts +3 -2
- package/dist/components/NotificationCard/NotificationCard.d.ts +1 -0
- package/dist/components/NotificationCard/types.d.ts +1 -0
- package/dist/components/NotificationMenu/types.d.ts +1 -0
- package/dist/components/Pagination/PaginationContext.d.ts +1 -0
- package/dist/components/Pagination/WithPagination.d.ts +2 -1
- package/dist/components/Pagination/types.d.ts +1 -0
- package/dist/components/PieChart/PieChartBases.d.ts +5 -4
- package/dist/components/PieChart/PieChartLegendList.d.ts +3 -2
- package/dist/components/PieChart/PieChartLegendMarker.d.ts +2 -1
- package/dist/components/PieChart/types.d.ts +1 -0
- package/dist/components/Popover/PopoverContent.d.ts +1 -1
- package/dist/components/Popover/stories/StoryComponent.d.ts +1 -1
- package/dist/components/Popover/types.d.ts +1 -0
- package/dist/components/Progress/types.d.ts +1 -0
- package/dist/components/ProgressCircle/ProgressCircleBase.d.ts +3 -2
- package/dist/components/ProgressCircle/ProgressCircleInner.d.ts +3 -2
- package/dist/components/ProgressCircle/ProgressCircleOuter.d.ts +3 -2
- package/dist/components/ProgressCircle/types.d.ts +1 -0
- package/dist/components/ProgressInfo/ProgressInfoTotals.d.ts +2 -1
- package/dist/components/ProgressLegend/types.d.ts +1 -0
- package/dist/components/ProgressLegendItem/types.d.ts +1 -0
- package/dist/components/ProgressVertical/types.d.ts +1 -0
- package/dist/components/Radio/RadioBase.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroupBase.d.ts +3 -2
- package/dist/components/RadioGroup/types.d.ts +1 -0
- package/dist/components/SearchBox/SearchBoxInput.d.ts +2 -1
- package/dist/components/SearchBox/SearchBoxWrapper.d.ts +3 -2
- package/dist/components/SearchBox/stories/StoryComponent.d.ts +1 -1
- package/dist/components/Step/Step.d.ts +7 -4
- package/dist/components/StepLabel/StepLabel.d.ts +1 -1
- package/dist/components/Stepper/types.d.ts +1 -0
- package/dist/components/Switch/SwitchBase.d.ts +3 -2
- package/dist/components/Switch/SwitchContext.d.ts +2 -1
- package/dist/components/Tab/TabBase.d.ts +3 -2
- package/dist/components/TabBar/TabBarContext.d.ts +2 -1
- package/dist/components/TabBar/stories/helpers.d.ts +9 -4
- package/dist/components/TabBar/types.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +3 -2
- package/dist/components/Table/stories/SortableTable.d.ts +1 -1
- package/dist/components/TableBody/TableBody.d.ts +3 -2
- package/dist/components/TableCell/TableCell.d.ts +4 -3
- package/dist/components/TableFilters/TableFilterTrigger.d.ts +3 -3
- package/dist/components/TableFilters/TableFilterTriggerWithNotification.d.ts +2 -2
- package/dist/components/TableFilters/TableFiltersAccordionContent.d.ts +6 -1
- package/dist/components/TableFilters/TableFiltersButtons.d.ts +2 -2
- package/dist/components/TableHead/TableHead.d.ts +3 -2
- package/dist/components/TableRow/TableRow.d.ts +3 -2
- package/dist/components/Tag/types.d.ts +1 -0
- package/dist/components/Textarea/TextareaBase.d.ts +3 -2
- package/dist/components/Tooltip/TooltipContentBase.d.ts +3 -2
- package/dist/components/Tooltip/types.d.ts +1 -0
- package/dist/components/Tooltip/useTooltipContext.d.ts +1 -0
- package/dist/components/TooltipContent/TooltipContent.d.ts +1 -0
- package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -0
- package/dist/components/Typography/types.d.ts +1 -0
- package/dist/components/WithVisibleLG/WithVisibleLG.d.ts +4 -3
- package/dist/components/WithVisibleMD/WithVisibleMD.d.ts +2 -1
- package/dist/components/WithVisibleSM/WithVisibleSM.d.ts +2 -1
- package/dist/components/WithVisibleUpToLG/WithVisibleUpToLG.d.ts +2 -1
- package/dist/components/Wrapper/Wrapper.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/safari-focus-outline.d.ts +1 -0
- package/dist/types/emotion.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/CollapsibleNavBar/stories/CollapsibleNavBar.stories.tsx +47 -25
- package/src/components/CollapsibleNavBar/stories/Layout.tsx +1 -1
- package/src/components/Filters/Filters.tsx +1 -1
- package/src/components/Icon/Icon.tsx +10 -2
- package/src/components/Icon/icons/Archive.tsx +9 -2
- package/src/components/Icon/icons/ArrowDown.tsx +9 -2
- package/src/components/Icon/icons/ArrowUp.tsx +9 -2
- package/src/components/Icon/icons/Attention.tsx +9 -2
- package/src/components/Icon/icons/BanUser.tsx +9 -2
- package/src/components/Icon/icons/Bin.tsx +9 -2
- package/src/components/Icon/icons/Calendar.tsx +9 -2
- package/src/components/Icon/icons/CarrotDown.tsx +4 -1
- package/src/components/Icon/icons/CarrotLeft.tsx +4 -1
- package/src/components/Icon/icons/CarrotRight.tsx +4 -1
- package/src/components/Icon/icons/CarrotUp.tsx +9 -2
- package/src/components/Icon/icons/Change.tsx +9 -2
- package/src/components/Icon/icons/Chart.tsx +9 -2
- package/src/components/Icon/icons/Check.tsx +9 -2
- package/src/components/Icon/icons/CheckCircle.tsx +4 -1
- package/src/components/Icon/icons/Circle.tsx +9 -2
- package/src/components/Icon/icons/Circular.tsx +9 -2
- package/src/components/Icon/icons/Clock.tsx +9 -2
- package/src/components/Icon/icons/Cogwheel.tsx +9 -2
- package/src/components/Icon/icons/ConfirmEmail.tsx +4 -1
- package/src/components/Icon/icons/Copy.tsx +9 -2
- package/src/components/Icon/icons/Cross.tsx +9 -2
- package/src/components/Icon/icons/Diet.tsx +9 -2
- package/src/components/Icon/icons/Edit.tsx +9 -2
- package/src/components/Icon/icons/Email.tsx +9 -2
- package/src/components/Icon/icons/Filter.tsx +9 -2
- package/src/components/Icon/icons/Home.tsx +9 -2
- package/src/components/Icon/icons/Import.tsx +9 -2
- package/src/components/Icon/icons/Information.tsx +4 -1
- package/src/components/Icon/icons/Invisible.tsx +9 -2
- package/src/components/Icon/icons/Lock.tsx +9 -2
- package/src/components/Icon/icons/LogIn.tsx +9 -2
- package/src/components/Icon/icons/LogOut.tsx +9 -2
- package/src/components/Icon/icons/Measurements.tsx +4 -1
- package/src/components/Icon/icons/Minus.tsx +9 -2
- package/src/components/Icon/icons/More.tsx +9 -2
- package/src/components/Icon/icons/MoreVertical.tsx +4 -1
- package/src/components/Icon/icons/Notification.tsx +4 -1
- package/src/components/Icon/icons/Pages.tsx +9 -2
- package/src/components/Icon/icons/Plus.tsx +9 -2
- package/src/components/Icon/icons/RadioOn.tsx +9 -2
- package/src/components/Icon/icons/Robot.tsx +9 -2
- package/src/components/Icon/icons/Roles.tsx +9 -2
- package/src/components/Icon/icons/Search.tsx +9 -2
- package/src/components/Icon/icons/Settings.tsx +9 -2
- package/src/components/Icon/icons/Sleep.tsx +9 -2
- package/src/components/Icon/icons/Stats.tsx +9 -2
- package/src/components/Icon/icons/Trainings.tsx +9 -2
- package/src/components/Icon/icons/UnArchive.tsx +9 -2
- package/src/components/Icon/icons/Union.tsx +9 -2
- package/src/components/Icon/icons/Unlock.tsx +9 -2
- package/src/components/Icon/icons/User.tsx +9 -2
- package/src/components/Icon/icons/Visible.tsx +9 -2
- package/src/components/Icon/icons/Warning.tsx +9 -2
- package/src/components/Icon/icons/all.ts +59 -0
- package/src/components/Icon/icons/iconsList.tsx +5 -56
- package/src/components/Icon/icons/index.tsx +12 -117
- package/src/components/Icon/types.ts +1 -0
- package/src/components/MultipleDropdownOptions/MultipleDropdownOptions.tsx +1 -1
- package/src/components/ResponsiveImage/ResponsiveImage.stories.tsx +6 -4
- package/src/components/TableFilters/styles.ts +1 -0
- package/src/components/TextField/TextField.stories.tsx +8 -1
- package/tsbuildcache +1 -1
package/.storybook/style.css
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { RenderContentProps } from './types';
|
|
2
|
-
export declare const AccordionContent: ({ isOpened, children, size, ...rest }:
|
|
3
|
+
export declare const AccordionContent: ({ isOpened, children, size, ...rest }: Pick<import("./types").AccordionProps, "id" | "size"> & Pick<import("react").AriaAttributes, "aria-labelledby"> & {
|
|
4
|
+
isOpened?: boolean | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
} & Record<string, any> & {
|
|
3
8
|
children: React.ReactNode;
|
|
4
9
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -8,5 +8,5 @@ export declare const AccordionGroupDecorator: DecoratorFunction<{
|
|
|
8
8
|
storyResult: React.ReactElement;
|
|
9
9
|
canvasElement: unknown;
|
|
10
10
|
}, Args>;
|
|
11
|
-
export declare const AccordionTemplate: (args: Pick<AccordionGroupProps,
|
|
11
|
+
export declare const AccordionTemplate: (args: Pick<AccordionGroupProps, 'size' | 'accordionsStayOpen'>) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CommonProps } from '../../types/emotion';
|
|
2
3
|
declare const Avatar: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
} & {
|
|
6
7
|
size: number;
|
|
7
8
|
image: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CommonProps } from '../../types/emotion';
|
|
2
3
|
declare const BadgeBase: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
} & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
7
|
export default BadgeBase;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { MapIconsType } from '../Icon/types';
|
|
2
3
|
export declare const sizes: Array<keyof MainSizes>;
|
|
3
4
|
export declare const colors: Array<keyof MainColors>;
|
|
@@ -6,10 +7,10 @@ export declare const icons: Array<{
|
|
|
6
7
|
icon: keyof MapIconsType;
|
|
7
8
|
}>;
|
|
8
9
|
export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
11
12
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
12
13
|
export declare const GridWrapper: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
theme?: import("@emotion/react").Theme;
|
|
14
|
-
as?:
|
|
14
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
+
as?: import("react").ElementType<any> | undefined;
|
|
15
16
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ButtonBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import Icon from '../Icon';
|
|
2
3
|
import { ButtonProps } from './types';
|
|
3
4
|
export type TestPropsType = Omit<ButtonProps, 'isDisabled' | 'startIcon' | 'endIcon'> & {
|
|
@@ -7,78 +8,78 @@ export type TestPropsType = Omit<ButtonProps, 'isDisabled' | 'startIcon' | 'endI
|
|
|
7
8
|
};
|
|
8
9
|
export declare const primaryBtnSpecs: TestPropsType[];
|
|
9
10
|
export declare const secondaryBtnSpecs: {
|
|
10
|
-
variant:
|
|
11
|
+
variant: keyof import("./types").ButtonVariants | "custom" | undefined;
|
|
11
12
|
text?: string | undefined;
|
|
12
13
|
size?: keyof MainSizes | undefined;
|
|
13
14
|
'aria-labelledby'?: string | undefined;
|
|
14
15
|
className?: string | undefined;
|
|
15
|
-
'aria-current'?: boolean | "
|
|
16
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
16
17
|
'aria-describedby'?: string | undefined;
|
|
17
18
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
18
19
|
'aria-label'?: string | undefined;
|
|
19
|
-
'aria-pressed'?: boolean | "
|
|
20
|
-
children?:
|
|
20
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
21
|
+
children?: import("react").ReactNode;
|
|
21
22
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
22
|
-
type?:
|
|
23
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
23
24
|
block?: boolean | undefined;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
startIcon?:
|
|
26
|
-
endIcon?:
|
|
25
|
+
disabled?: boolean | undefined;
|
|
26
|
+
startIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
27
|
+
endIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
27
28
|
}[];
|
|
28
29
|
export declare const tertiaryBtnSpecs: {
|
|
29
|
-
variant:
|
|
30
|
+
variant: keyof import("./types").ButtonVariants | "custom" | undefined;
|
|
30
31
|
text?: string | undefined;
|
|
31
32
|
size?: keyof MainSizes | undefined;
|
|
32
33
|
'aria-labelledby'?: string | undefined;
|
|
33
34
|
className?: string | undefined;
|
|
34
|
-
'aria-current'?: boolean | "
|
|
35
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
35
36
|
'aria-describedby'?: string | undefined;
|
|
36
37
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
37
38
|
'aria-label'?: string | undefined;
|
|
38
|
-
'aria-pressed'?: boolean | "
|
|
39
|
-
children?:
|
|
39
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
40
|
+
children?: import("react").ReactNode;
|
|
40
41
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
41
|
-
type?:
|
|
42
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
42
43
|
block?: boolean | undefined;
|
|
43
|
-
disabled?: boolean;
|
|
44
|
-
startIcon?:
|
|
45
|
-
endIcon?:
|
|
44
|
+
disabled?: boolean | undefined;
|
|
45
|
+
startIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
46
|
+
endIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
46
47
|
}[];
|
|
47
48
|
export declare const infoBtnSpecs: {
|
|
48
|
-
variant:
|
|
49
|
+
variant: keyof import("./types").ButtonVariants | "custom" | undefined;
|
|
49
50
|
text?: string | undefined;
|
|
50
51
|
size?: keyof MainSizes | undefined;
|
|
51
52
|
'aria-labelledby'?: string | undefined;
|
|
52
53
|
className?: string | undefined;
|
|
53
|
-
'aria-current'?: boolean | "
|
|
54
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
54
55
|
'aria-describedby'?: string | undefined;
|
|
55
56
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
56
57
|
'aria-label'?: string | undefined;
|
|
57
|
-
'aria-pressed'?: boolean | "
|
|
58
|
-
children?:
|
|
58
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
59
|
+
children?: import("react").ReactNode;
|
|
59
60
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
60
|
-
type?:
|
|
61
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
61
62
|
block?: boolean | undefined;
|
|
62
|
-
disabled?: boolean;
|
|
63
|
-
startIcon?:
|
|
64
|
-
endIcon?:
|
|
63
|
+
disabled?: boolean | undefined;
|
|
64
|
+
startIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
65
|
+
endIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
65
66
|
}[];
|
|
66
67
|
export declare const attentionBtnSpecs: {
|
|
67
|
-
variant:
|
|
68
|
+
variant: keyof import("./types").ButtonVariants | "custom" | undefined;
|
|
68
69
|
text?: string | undefined;
|
|
69
70
|
size?: keyof MainSizes | undefined;
|
|
70
71
|
'aria-labelledby'?: string | undefined;
|
|
71
72
|
className?: string | undefined;
|
|
72
|
-
'aria-current'?: boolean | "
|
|
73
|
+
'aria-current'?: boolean | "time" | "page" | "true" | "false" | "step" | "location" | "date" | undefined;
|
|
73
74
|
'aria-describedby'?: string | undefined;
|
|
74
75
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
75
76
|
'aria-label'?: string | undefined;
|
|
76
|
-
'aria-pressed'?: boolean | "
|
|
77
|
-
children?:
|
|
77
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
78
|
+
children?: import("react").ReactNode;
|
|
78
79
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
79
|
-
type?:
|
|
80
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
80
81
|
block?: boolean | undefined;
|
|
81
|
-
disabled?: boolean;
|
|
82
|
-
startIcon?:
|
|
83
|
-
endIcon?:
|
|
82
|
+
disabled?: boolean | undefined;
|
|
83
|
+
startIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
84
|
+
endIcon?: "search" | "visible" | "calendar" | "diet" | "home" | "measurements" | "settings" | "sleep" | "stats" | "trainings" | "plus" | "minus" | "cross" | "check" | "check-circle" | "more" | "more-vertical" | "notification" | "user" | "union" | "invisible" | "log-in" | "log-out" | "email" | "lock" | "information" | "warning" | "attention" | "carrot-down" | "carrot-up" | "carrot-left" | "carrot-right" | "radio-on" | "circle" | "arrow-up" | "arrow-down" | "filter" | "archive" | "unarchive" | "bin" | "change" | "copy" | "robot" | "chart" | "clock" | "cogwheel" | "circular" | "ban-user" | "confirm-email" | "unlock" | "edit" | "import" | "pages" | "roles" | undefined;
|
|
84
85
|
}[];
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ButtonVariants } from './types';
|
|
2
3
|
export declare const sizes: Array<keyof MainSizes>;
|
|
3
4
|
export declare const variants: Array<keyof ButtonVariants>;
|
|
4
5
|
export declare const HeaderTitle: import("@emotion/styled").StyledComponent<{
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
-
as?:
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any> | undefined;
|
|
7
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
8
9
|
export declare const GridWrapper: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any> | undefined;
|
|
11
12
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CardBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
noShadow?: boolean;
|
|
6
|
+
noShadow?: boolean | undefined;
|
|
6
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
8
|
export default CardBase;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CardContentBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
direction?: string;
|
|
6
|
+
direction?: string | undefined;
|
|
6
7
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
8
|
export default CardContentBase;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CardHeaderBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
transparent?: boolean;
|
|
6
|
-
hasIcon?: boolean;
|
|
6
|
+
transparent?: boolean | undefined;
|
|
7
|
+
hasIcon?: boolean | undefined;
|
|
7
8
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
9
|
export default CardHeaderBase;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CheckboxProps } from './types';
|
|
2
2
|
export declare const CheckboxBase: import("@emotion/styled").StyledComponent<import("../Label/types").LabelProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
} & Pick<CheckboxProps, "color">, {}, {}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavBarBase: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export default CollapsibleNavBarBase;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavBarItem: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export default CollapsibleNavBarItem;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavBarLink: import("@emotion/styled").StyledComponent<import("react-router-dom").NavLinkProps & import("react").RefAttributes<HTMLAnchorElement> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3
4
|
}, {}, {}>;
|
|
4
5
|
export default CollapsibleNavBarLink;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavBarList: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("react").ClassAttributes<HTMLUListElement> & import("react").HTMLAttributes<HTMLUListElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export default CollapsibleNavBarList;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavBarWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export default CollapsibleNavBarWrapper;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const CollapsibleNavToggleWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme;
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
6
7
|
}, {}, {}>;
|
|
7
8
|
export default CollapsibleNavToggleWrapper;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { RenderContentProps } from '../AccordionGroup';
|
|
2
|
-
export declare const NavBarAccordionContent: ({ items, accordionUniqueName, prefix, isPopover, onClick, ...rest }:
|
|
3
|
+
export declare const NavBarAccordionContent: ({ items, accordionUniqueName, prefix, isPopover, onClick, ...rest }: Pick<import("../AccordionGroup").AccordionProps, "id" | "size"> & Pick<import("react").AriaAttributes, "aria-labelledby"> & {
|
|
4
|
+
isOpened?: boolean | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
} & Record<string, any> & {
|
|
3
8
|
items: Array<{
|
|
4
9
|
path: string;
|
|
5
10
|
title: string;
|
|
6
11
|
}>;
|
|
7
12
|
accordionUniqueName: string;
|
|
8
|
-
prefix?: string;
|
|
9
|
-
isPopover?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
13
|
+
prefix?: string | undefined;
|
|
14
|
+
isPopover?: boolean | undefined;
|
|
15
|
+
onClick?: (() => void) | undefined;
|
|
11
16
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollapsibleNavBarGroup } from './types';
|
|
2
2
|
export declare const NavBarItemWithSubMenu: ({ item, onClick, }: {
|
|
3
3
|
item: CollapsibleNavBarGroup;
|
|
4
|
-
onClick?: () => void;
|
|
4
|
+
onClick?: (() => void) | undefined;
|
|
5
5
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import CollapsibleNavBarItem from './CollapsibleNavBarItem';
|
|
1
2
|
import * as T from './types';
|
|
2
3
|
export declare const NavBarItemWithoutSubMenu: ({ item, onClick, }: {
|
|
3
4
|
item: T.CollapsibleNavBarItem;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
+
onClick?: (() => void) | undefined;
|
|
5
6
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const CollapsibleNavBarPopover: ({ triggerIcon, title, content, }: {
|
|
2
3
|
triggerIcon: React.ReactElement;
|
|
3
4
|
title: string;
|
|
4
|
-
content?:
|
|
5
|
+
content?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
5
6
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MapIconsType, SVGProps } from '../Icon/types';
|
|
2
2
|
export declare const TriggerIcon: ({ iconName, iconSize, className, CustomIcon, }: {
|
|
3
3
|
iconName: keyof MapIconsType;
|
|
4
|
-
iconSize?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
CustomIcon?: (props: Omit<SVGProps,
|
|
4
|
+
iconSize?: number | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
CustomIcon?: ((props: Omit<SVGProps, 'fill'>) => JSX.Element) | undefined;
|
|
7
7
|
}) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const ColorMarker: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
6
|
active: boolean;
|
|
6
7
|
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CommonProps } from '../../types/emotion';
|
|
2
3
|
export declare const DropdownArrowBase: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
} & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
7
|
declare const DropdownArrow: ({ isUp }: {
|
|
7
8
|
isUp: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CommonProps } from '../../types/emotion';
|
|
2
3
|
declare const DropdownBase: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
} & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
7
|
export default DropdownBase;
|
|
@@ -12,7 +12,7 @@ interface DropdownItemProps extends CommonProps {
|
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
|
14
14
|
declare const DropdownOption: import("@emotion/styled").StyledComponent<{
|
|
15
|
-
theme?: Theme;
|
|
16
|
-
as?: React.ElementType;
|
|
15
|
+
theme?: Theme | undefined;
|
|
16
|
+
as?: React.ElementType<any> | undefined;
|
|
17
17
|
} & DropdownItemProps, React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
|
|
18
18
|
export default DropdownOption;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { DropdownToggleProps } from './types';
|
|
2
3
|
export declare const DropdownToggleBase: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
6
|
} & Pick<DropdownToggleProps, "colors" | "disabled" | "isOpen" | "isMultiple" | "selectedCount">, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
6
7
|
declare const DropdownToggle: ({ onClick, onFocus, isOpen, isMultiple, selectedCount, disabled, children, ariaLabelledby, ariaControls, colors, className, }: DropdownToggleProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
7
8
|
export default DropdownToggle;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export declare const FilterBlockWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
4
5
|
} & {
|
|
5
|
-
avatarSize?: number;
|
|
6
|
-
direction?: string;
|
|
7
|
-
alignItems?: string;
|
|
6
|
+
avatarSize?: number | undefined;
|
|
7
|
+
direction?: string | undefined;
|
|
8
|
+
alignItems?: string | undefined;
|
|
8
9
|
} & import("../..").CommonProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
9
|
-
theme?: import("@emotion/react").Theme;
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { TableFilterConfig } from '../TableFilters/types';
|
|
2
3
|
import { UseTableDataParameters, UseTableDataResult } from '../TableFilters/hooks/useTableData';
|
|
3
|
-
export declare const Filters: ({ checkboxData: initialState, updatedCheckboxData, handleSubmit, handleCancel, handleClear, handleDropdownChange, }: Pick<
|
|
4
|
-
|
|
4
|
+
export declare const Filters: ({ checkboxData: initialState, updatedCheckboxData, handleSubmit, handleCancel, handleClear, handleDropdownChange, }: Pick<{
|
|
5
|
+
checkboxData: TableFilterConfig;
|
|
6
|
+
wrapperRef: import("react").RefObject<HTMLElement> | undefined;
|
|
7
|
+
refsList: import("react").MutableRefObject<HTMLElement | null>[];
|
|
8
|
+
setElementRef: (groupName: string, element: HTMLElement | null) => void;
|
|
9
|
+
onCheckboxToggle: (groupName: string, name: string | number) => void;
|
|
10
|
+
onDropdownChange: (groupName: string, name: string | number) => void;
|
|
11
|
+
onSubmit: (event?: import("react").BaseSyntheticEvent<object, any, any> | undefined) => void;
|
|
12
|
+
onReset: () => void;
|
|
13
|
+
onClear: () => void;
|
|
14
|
+
}, "checkboxData"> & {
|
|
15
|
+
updatedCheckboxData?: TableFilterConfig | undefined;
|
|
5
16
|
} & Pick<UseTableDataParameters, "handleSubmit" | "handleCancel" | "handleClear" | "handleDropdownChange">) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|