@doist/reactist 17.7.0 → 17.8.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.
@@ -1,35 +0,0 @@
1
- import * as React from 'react';
2
- import * as ModalComponents from './modal';
3
- import type { DeprecatedModalProps, DeprecatedModalHeaderProps, DeprecatedModalFooterProps } from './modal';
4
- declare function Link({ children, ...props }: JSX.IntrinsicElements['a']): JSX.Element;
5
- declare type ModalStoryState = Pick<DeprecatedModalProps, 'width' | 'height'> & {
6
- button: 'true' | 'false' | 'custom';
7
- withScrollableContent: boolean;
8
- };
9
- declare function ModalStoryStateProvider({ initialState, children, }: {
10
- initialState?: ModalStoryState;
11
- children: React.ReactNode;
12
- }): JSX.Element;
13
- declare function ScrollableContent({ label, count }: {
14
- label?: string;
15
- count?: number;
16
- }): JSX.Element;
17
- declare function ModalOptionsForm({ title }: {
18
- title?: React.ReactNode;
19
- }): JSX.Element;
20
- declare function ModalButton({ variant, size, children, }: {
21
- variant: 'primary' | 'secondary';
22
- size?: 'small';
23
- children: NonNullable<React.ReactNode>;
24
- }): JSX.Element;
25
- declare namespace ModalButton {
26
- var displayName: string;
27
- }
28
- declare type WithOptionals<Props, Keys extends keyof Props> = Omit<Props, Keys> & Partial<Pick<Props, Keys>>;
29
- declare function Modal(props: WithOptionals<DeprecatedModalProps, 'isOpen' | 'onDismiss' | 'width' | 'height'>): JSX.Element;
30
- declare function ModalHeader(props: WithOptionals<DeprecatedModalHeaderProps, 'withDivider' | 'button'>): JSX.Element;
31
- declare const ModalBody: typeof ModalComponents.DeprecatedModalBody;
32
- declare function ModalFooter(props: WithOptionals<DeprecatedModalFooterProps, 'withDivider'>): JSX.Element;
33
- declare function ModalActions(props: WithOptionals<DeprecatedModalFooterProps, 'withDivider'>): JSX.Element;
34
- export { Link, ModalStoryStateProvider, ModalOptionsForm, ModalButton as Button, ScrollableContent };
35
- export { Modal, ModalHeader, ModalBody, ModalFooter, ModalActions };