@ssa-ui-kit/templates 3.19.1 → 3.20.1

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.
@@ -1,3 +1,4 @@
1
- export declare const Content: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core/dist/components/CardContent/CardContent").CardProps & {
2
- theme?: import("@emotion/react").Theme;
3
- }, {}, {}>;
1
+ import type { ComponentProps } from 'react';
2
+ import { type StyledComponent } from '@emotion/styled';
3
+ import { CardContent } from '@ssa-ui-kit/core';
4
+ export declare const Content: StyledComponent<ComponentProps<typeof CardContent>>;
@@ -1,2 +1,2 @@
1
1
  import { BotsNavigationProps } from './types';
2
- export declare const BotsNavigation: ({ handleRunStateClick, externalState, }: BotsNavigationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const BotsNavigation: ({ handleRunStateClick, value, }: BotsNavigationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { ButtonGroupItem } from '@ssa-ui-kit/core';
2
2
  export type BotsNavigationProps = {
3
3
  handleRunStateClick: (item: ButtonGroupItem) => void;
4
- externalState?: ButtonGroupItem;
4
+ value?: ButtonGroupItem;
5
5
  };
@@ -1,7 +1,7 @@
1
1
  import { ButtonGroupItem } from '@ssa-ui-kit/core';
2
2
  import { PeriodRange, RequestPeriod } from '../../../../../types';
3
3
  export declare const usePeriodFilter: (period: RequestPeriod, onClick: (period: RequestPeriod) => void) => {
4
- selectedItem: ButtonGroupItem;
4
+ selectedItem: string | number;
5
5
  initialRange: PeriodRange | undefined;
6
6
  isOpen: boolean;
7
7
  onButtonClick: (item: ButtonGroupItem) => void;
@@ -1,2 +1,2 @@
1
1
  import { Button } from '@ssa-ui-kit/core';
2
- export type ReadAllButtonProps = Pick<React.ComponentProps<typeof Button>, 'onClick' | 'text' | 'isDisabled'>;
2
+ export type ReadAllButtonProps = Pick<React.ComponentProps<typeof Button>, 'onClick' | 'text' | 'disabled'>;
@@ -1,6 +1,4 @@
1
- export declare const EventInfoCell: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- } & import("@ssa-ui-kit/core/dist/components/TableCell/types").TableCellProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
5
- theme?: import("@emotion/react").Theme;
6
- }, {}, {}>;
1
+ import type { ComponentProps } from 'react';
2
+ import { type StyledComponent } from '@emotion/styled';
3
+ import { HRTableCell } from '../..';
4
+ export declare const EventInfoCell: StyledComponent<ComponentProps<typeof HRTableCell>>;
@@ -1,2 +1,5 @@
1
1
  import React from 'react';
2
- export declare const EventInfoPopoverTrigger: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLElement> & import("@ssa-ui-kit/core/dist/components/TableRow/types").TableRowProps & React.RefAttributes<HTMLTableRowElement> & Omit<React.HTMLProps<HTMLElement> & import("@ssa-ui-kit/core").ButtonProps & import("@ssa-ui-kit/core/dist/components/Popover/types").PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
2
+ import { PopoverTrigger, TableRow } from '@ssa-ui-kit/core';
3
+ type EventInfoPopoverTriggerProps = React.HTMLProps<HTMLElement> & Parameters<typeof TableRow>[0] & Parameters<typeof PopoverTrigger>[0];
4
+ export declare const EventInfoPopoverTrigger: React.ForwardRefExoticComponent<EventInfoPopoverTriggerProps & React.RefAttributes<HTMLElement>>;
5
+ export {};
@@ -1,6 +1,4 @@
1
- export declare const HRTableCell: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- } & import("@ssa-ui-kit/core/dist/components/TableCell/types").TableCellProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
5
- theme?: import("@emotion/react").Theme;
6
- }, {}, {}>;
1
+ import type { ComponentProps } from 'react';
2
+ import { type StyledComponent } from '@emotion/styled';
3
+ import { TableCell } from '@ssa-ui-kit/core';
4
+ export declare const HRTableCell: StyledComponent<ComponentProps<typeof TableCell>>;
@@ -1,3 +1,4 @@
1
- export declare const Content: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core/dist/components/CardContent/CardContent").CardProps & {
2
- theme?: import("@emotion/react").Theme;
3
- }, {}, {}>;
1
+ import type { ComponentProps } from 'react';
2
+ import { type StyledComponent } from '@emotion/styled';
3
+ import { CardContent } from '@ssa-ui-kit/core';
4
+ export declare const Content: StyledComponent<ComponentProps<typeof CardContent>>;