@cube-dev/ui-kit 0.1.1 → 0.1.5
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/cjs/components/GridProvider.d.ts +4 -4
- package/dist/cjs/components/{Action.d.ts → actions/Action.d.ts} +1 -1
- package/dist/{mjs/atoms → cjs/components/actions}/Button/Button.d.ts +1 -1
- package/dist/cjs/{atoms → components/actions}/Button/Submit.d.ts +0 -0
- package/dist/{mjs/atoms → cjs/components/actions}/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/cjs/{atoms → components/content}/Avatar/Avatar.d.ts +3 -3
- package/dist/cjs/{atoms → components/content}/Badge/Badge.d.ts +2 -2
- package/dist/cjs/{atoms → components/content}/Card/Card.d.ts +1 -1
- package/dist/{mjs/components → cjs/components/content}/Content.d.ts +1 -1
- package/dist/{mjs/components → cjs/components/content}/Divider.d.ts +1 -1
- package/dist/cjs/components/{Footer.d.ts → content/Footer.d.ts} +1 -1
- package/dist/cjs/components/{Header.d.ts → content/Header.d.ts} +1 -1
- package/dist/cjs/components/{Paragraph.d.ts → content/Paragraph.d.ts} +1 -1
- package/dist/cjs/{atoms → components/content}/Placeholder/Placeholder.d.ts +3 -3
- package/dist/{mjs/atoms → cjs/components/content}/PrismCode/PrismCode.d.ts +1 -1
- package/dist/cjs/{atoms → components/content}/Skeleton/Skeleton.d.ts +14 -2
- package/dist/cjs/components/content/Text.d.ts +32 -0
- package/dist/cjs/components/{Title.d.ts → content/Title.d.ts} +5 -5
- package/dist/cjs/{atoms → components/forms}/Checkbox/Checkbox.d.ts +2 -2
- package/dist/{mjs/atoms → cjs/components/forms}/Checkbox/CheckboxGroup.d.ts +2 -2
- package/dist/cjs/{atoms → components/forms}/Checkbox/context.d.ts +0 -0
- package/dist/cjs/components/{FieldWrapper.d.ts → forms/FieldWrapper.d.ts} +5 -5
- package/dist/cjs/{atoms → components/forms}/Form/Field.d.ts +1 -1
- package/dist/{mjs/atoms → cjs/components/forms}/Form/Form.d.ts +2 -2
- package/dist/cjs/components/forms/Form/index.d.ts +4 -0
- package/dist/cjs/{atoms → components/forms}/Form/useForm.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/Form/validation.d.ts +0 -0
- package/dist/cjs/components/{Label.d.ts → forms/Label.d.ts} +5 -5
- package/dist/cjs/{atoms → components/forms}/NumberInput/NumberInput.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/NumberInput/StepButton.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/PasswordInput/PasswordInput.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/RadioGroup/Radio.d.ts +4 -4
- package/dist/cjs/{atoms → components/forms}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/RadioGroup/context.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/SearchInput/SearchInput.d.ts +0 -0
- package/dist/{mjs/atoms → cjs/components/forms}/Switch/Switch.d.ts +5 -5
- package/dist/cjs/{atoms → components/forms}/TextArea/TextArea.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/TextInput/TextInput.d.ts +0 -0
- package/dist/cjs/{atoms → components/forms}/TextInput/TextInputBase.d.ts +7 -7
- package/dist/cjs/components/{Flex.d.ts → layout/Flex.d.ts} +1 -1
- package/dist/{mjs/components → cjs/components/layout}/Flow.d.ts +1 -1
- package/dist/cjs/components/{Grid.d.ts → layout/Grid.d.ts} +1 -1
- package/dist/{mjs/components → cjs/components/layout}/Prefix.d.ts +1 -1
- package/dist/cjs/components/{Space.d.ts → layout/Space.d.ts} +1 -1
- package/dist/cjs/components/{Suffix.d.ts → layout/Suffix.d.ts} +1 -1
- package/dist/cjs/{atoms → components/navigation}/Link/Link.d.ts +1 -1
- package/dist/{mjs/molecules → cjs/components/navigation}/Tabs/Tabs.d.ts +4 -4
- package/dist/{mjs/molecules → cjs/components/organisms}/Alert/Alert.d.ts +2 -2
- package/dist/cjs/{molecules → components/organisms}/CopySnippet/CopySnippet.d.ts +7 -5
- package/dist/cjs/{molecules → components/organisms}/DirectoryTree/DirectoryTree.d.ts +2 -1
- package/dist/cjs/{molecules → components/organisms}/FileTabs/FileTabs.d.ts +4 -4
- package/dist/{mjs/molecules → cjs/components/organisms}/Modal/Modal.d.ts +1 -1
- package/dist/cjs/{molecules → components/organisms}/SearchResults/SearchResults.d.ts +1 -1
- package/dist/cjs/{molecules → components/organisms}/StatsCard/StatsCard.d.ts +1 -1
- package/dist/{mjs/molecules → cjs/components/organisms}/TopBar/TopBar.d.ts +1 -1
- package/dist/{mjs/atoms → cjs/components/other}/Base64Upload/Base64Upload.d.ts +1 -1
- package/dist/cjs/{atoms → components/other}/CloudLogo/CloudLogo.d.ts +1 -1
- package/dist/cjs/{molecules → components/overlays}/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/{mjs/atoms → cjs/components/overlays}/Dialog/Dialog.d.ts +1 -1
- package/dist/cjs/{atoms → components/overlays}/Dialog/DialogContainer.d.ts +0 -0
- package/dist/{mjs/atoms → cjs/components/overlays}/Dialog/DialogTrigger.d.ts +3 -3
- package/dist/{mjs/atoms → cjs/components/overlays}/Dialog/api.d.ts +1 -1
- package/dist/cjs/{atoms → components/overlays}/Dialog/context.d.ts +0 -0
- package/dist/cjs/components/overlays/Dialog/index.d.ts +10 -0
- package/dist/cjs/{atoms → components/overlays}/Modal/Modal.d.ts +4 -4
- package/dist/cjs/{atoms → components/overlays}/Modal/OpenTransition.d.ts +0 -0
- package/dist/cjs/{atoms → components/overlays}/Modal/Overlay.d.ts +0 -0
- package/dist/{mjs/atoms → cjs/components/overlays}/Modal/Popover.d.ts +2 -2
- package/dist/cjs/{atoms → components/overlays}/Modal/Tray.d.ts +3 -3
- package/dist/cjs/{atoms → components/overlays}/Modal/Underlay.d.ts +0 -0
- package/dist/cjs/{atoms → components/overlays}/Modal/index.d.ts +0 -0
- package/dist/cjs/{molecules → components/overlays}/Notification/Notification.d.ts +1 -1
- package/dist/cjs/components/overlays/OverlayWrapper.d.ts +11 -0
- package/dist/{mjs/atoms → cjs/components/overlays}/Tooltip/Tooltip.d.ts +4 -4
- package/dist/cjs/{atoms → components/overlays}/Tooltip/TooltipTrigger.d.ts +0 -0
- package/dist/{mjs/atoms → cjs/components/overlays}/Tooltip/context.d.ts +4 -2
- package/dist/{mjs/atoms → cjs/components/pickers}/ComboBox/ComboBox.d.ts +2 -2
- package/dist/{mjs/atoms → cjs/components/pickers}/Select/Select.d.ts +13 -12
- package/dist/cjs/{atoms → components/status}/LoadingAnimation/LoadingAnimation.d.ts +1 -1
- package/dist/{mjs/atoms → cjs/components/status}/Spin/Spin.d.ts +1 -1
- package/dist/cjs/components/types.d.ts +17 -17
- package/dist/cjs/index.d.ts +129 -73
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/provider.d.ts +2 -2
- package/dist/cjs/providers/Styles.d.ts +2 -2
- package/dist/cjs/services/notification.d.ts +1 -1
- package/dist/cjs/shared/form.d.ts +2 -2
- package/dist/cjs/styles/types.d.ts +5 -5
- package/dist/cjs/utils/react/mapProps.d.ts +1 -1
- package/dist/cjs/utils/renderStyles.d.ts +4 -4
- package/dist/cjs/utils/responsive.d.ts +2 -2
- package/dist/cjs/utils/styles.d.ts +41 -41
- package/dist/cjs/utils/transitions.d.ts +7 -5
- package/dist/mjs/components/GridProvider.d.ts +4 -4
- package/dist/mjs/components/{Action.d.ts → actions/Action.d.ts} +1 -1
- package/dist/{cjs/atoms → mjs/components/actions}/Button/Button.d.ts +1 -1
- package/dist/mjs/{atoms → components/actions}/Button/Submit.d.ts +0 -0
- package/dist/{cjs/atoms → mjs/components/actions}/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/dist/mjs/{atoms → components/content}/Avatar/Avatar.d.ts +3 -3
- package/dist/mjs/{atoms → components/content}/Badge/Badge.d.ts +2 -2
- package/dist/mjs/{atoms → components/content}/Card/Card.d.ts +1 -1
- package/dist/{cjs/components → mjs/components/content}/Content.d.ts +1 -1
- package/dist/{cjs/components → mjs/components/content}/Divider.d.ts +1 -1
- package/dist/mjs/components/{Footer.d.ts → content/Footer.d.ts} +1 -1
- package/dist/mjs/components/{Header.d.ts → content/Header.d.ts} +1 -1
- package/dist/mjs/components/{Paragraph.d.ts → content/Paragraph.d.ts} +1 -1
- package/dist/mjs/{atoms → components/content}/Placeholder/Placeholder.d.ts +3 -3
- package/dist/{cjs/atoms → mjs/components/content}/PrismCode/PrismCode.d.ts +1 -1
- package/dist/mjs/{atoms → components/content}/Skeleton/Skeleton.d.ts +14 -2
- package/dist/mjs/components/content/Text.d.ts +32 -0
- package/dist/mjs/components/{Title.d.ts → content/Title.d.ts} +5 -5
- package/dist/mjs/{atoms → components/forms}/Checkbox/Checkbox.d.ts +2 -2
- package/dist/{cjs/atoms → mjs/components/forms}/Checkbox/CheckboxGroup.d.ts +2 -2
- package/dist/mjs/{atoms → components/forms}/Checkbox/context.d.ts +0 -0
- package/dist/mjs/components/{FieldWrapper.d.ts → forms/FieldWrapper.d.ts} +5 -5
- package/dist/mjs/{atoms → components/forms}/Form/Field.d.ts +1 -1
- package/dist/{cjs/atoms → mjs/components/forms}/Form/Form.d.ts +2 -2
- package/dist/mjs/components/forms/Form/index.d.ts +4 -0
- package/dist/mjs/{atoms → components/forms}/Form/useForm.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/Form/validation.d.ts +0 -0
- package/dist/mjs/components/{Label.d.ts → forms/Label.d.ts} +5 -5
- package/dist/mjs/{atoms → components/forms}/NumberInput/NumberInput.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/NumberInput/StepButton.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/PasswordInput/PasswordInput.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/RadioGroup/Radio.d.ts +4 -4
- package/dist/mjs/{atoms → components/forms}/RadioGroup/RadioGroup.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/RadioGroup/context.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/SearchInput/SearchInput.d.ts +0 -0
- package/dist/{cjs/atoms → mjs/components/forms}/Switch/Switch.d.ts +5 -5
- package/dist/mjs/{atoms → components/forms}/TextArea/TextArea.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/TextInput/TextInput.d.ts +0 -0
- package/dist/mjs/{atoms → components/forms}/TextInput/TextInputBase.d.ts +7 -7
- package/dist/mjs/components/{Flex.d.ts → layout/Flex.d.ts} +1 -1
- package/dist/{cjs/components → mjs/components/layout}/Flow.d.ts +1 -1
- package/dist/mjs/components/{Grid.d.ts → layout/Grid.d.ts} +1 -1
- package/dist/{cjs/components → mjs/components/layout}/Prefix.d.ts +1 -1
- package/dist/mjs/components/{Space.d.ts → layout/Space.d.ts} +1 -1
- package/dist/mjs/components/{Suffix.d.ts → layout/Suffix.d.ts} +1 -1
- package/dist/mjs/{atoms → components/navigation}/Link/Link.d.ts +1 -1
- package/dist/{cjs/molecules → mjs/components/navigation}/Tabs/Tabs.d.ts +4 -4
- package/dist/{cjs/molecules → mjs/components/organisms}/Alert/Alert.d.ts +2 -2
- package/dist/mjs/{molecules → components/organisms}/CopySnippet/CopySnippet.d.ts +7 -5
- package/dist/mjs/{molecules → components/organisms}/DirectoryTree/DirectoryTree.d.ts +2 -1
- package/dist/mjs/{molecules → components/organisms}/FileTabs/FileTabs.d.ts +4 -4
- package/dist/{cjs/molecules → mjs/components/organisms}/Modal/Modal.d.ts +1 -1
- package/dist/mjs/{molecules → components/organisms}/SearchResults/SearchResults.d.ts +1 -1
- package/dist/mjs/{molecules → components/organisms}/StatsCard/StatsCard.d.ts +1 -1
- package/dist/{cjs/molecules → mjs/components/organisms}/TopBar/TopBar.d.ts +1 -1
- package/dist/{cjs/atoms → mjs/components/other}/Base64Upload/Base64Upload.d.ts +1 -1
- package/dist/mjs/{atoms → components/other}/CloudLogo/CloudLogo.d.ts +1 -1
- package/dist/mjs/{molecules → components/overlays}/AlertDialog/AlertDialog.d.ts +2 -2
- package/dist/{cjs/atoms → mjs/components/overlays}/Dialog/Dialog.d.ts +1 -1
- package/dist/mjs/{atoms → components/overlays}/Dialog/DialogContainer.d.ts +0 -0
- package/dist/{cjs/atoms → mjs/components/overlays}/Dialog/DialogTrigger.d.ts +3 -3
- package/dist/{cjs/atoms → mjs/components/overlays}/Dialog/api.d.ts +1 -1
- package/dist/mjs/{atoms → components/overlays}/Dialog/context.d.ts +0 -0
- package/dist/mjs/components/overlays/Dialog/index.d.ts +10 -0
- package/dist/mjs/{atoms → components/overlays}/Modal/Modal.d.ts +4 -4
- package/dist/mjs/{atoms → components/overlays}/Modal/OpenTransition.d.ts +0 -0
- package/dist/mjs/{atoms → components/overlays}/Modal/Overlay.d.ts +0 -0
- package/dist/{cjs/atoms → mjs/components/overlays}/Modal/Popover.d.ts +2 -2
- package/dist/mjs/{atoms → components/overlays}/Modal/Tray.d.ts +3 -3
- package/dist/mjs/{atoms → components/overlays}/Modal/Underlay.d.ts +0 -0
- package/dist/mjs/{atoms → components/overlays}/Modal/index.d.ts +0 -0
- package/dist/mjs/{molecules → components/overlays}/Notification/Notification.d.ts +1 -1
- package/dist/mjs/components/overlays/OverlayWrapper.d.ts +11 -0
- package/dist/{cjs/atoms → mjs/components/overlays}/Tooltip/Tooltip.d.ts +4 -4
- package/dist/mjs/{atoms → components/overlays}/Tooltip/TooltipTrigger.d.ts +0 -0
- package/dist/{cjs/atoms → mjs/components/overlays}/Tooltip/context.d.ts +4 -2
- package/dist/{cjs/atoms → mjs/components/pickers}/ComboBox/ComboBox.d.ts +2 -2
- package/dist/{cjs/atoms → mjs/components/pickers}/Select/Select.d.ts +13 -12
- package/dist/mjs/{atoms → components/status}/LoadingAnimation/LoadingAnimation.d.ts +1 -1
- package/dist/{cjs/atoms → mjs/components/status}/Spin/Spin.d.ts +1 -1
- package/dist/mjs/components/types.d.ts +17 -17
- package/dist/mjs/index.d.ts +129 -73
- package/dist/mjs/index.js +4 -4
- package/dist/mjs/index.js.map +1 -1
- package/dist/mjs/provider.d.ts +2 -2
- package/dist/mjs/providers/Styles.d.ts +2 -2
- package/dist/mjs/services/notification.d.ts +1 -1
- package/dist/mjs/shared/form.d.ts +2 -2
- package/dist/mjs/styles/types.d.ts +5 -5
- package/dist/mjs/utils/react/mapProps.d.ts +1 -1
- package/dist/mjs/utils/renderStyles.d.ts +4 -4
- package/dist/mjs/utils/responsive.d.ts +2 -2
- package/dist/mjs/utils/styles.d.ts +41 -41
- package/dist/mjs/utils/transitions.d.ts +7 -5
- package/package.json +9 -4
- package/dist/cjs/atoms/Dialog/index.d.ts +0 -8
- package/dist/cjs/atoms/Form/index.d.ts +0 -3
- package/dist/cjs/components/OverlayWrapper.d.ts +0 -8
- package/dist/cjs/components/Text.d.ts +0 -32
- package/dist/mjs/atoms/Dialog/index.d.ts +0 -8
- package/dist/mjs/atoms/Form/index.d.ts +0 -3
- package/dist/mjs/components/OverlayWrapper.d.ts +0 -8
- package/dist/mjs/components/Text.d.ts +0 -32
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CubeButtonProps } from '../../
|
|
3
|
-
import { CubeDialogProps } from '
|
|
2
|
+
import { CubeButtonProps } from '../../actions/Button/Button';
|
|
3
|
+
import { CubeDialogProps } from '../Dialog/Dialog';
|
|
4
4
|
export interface CubeAlertDialogProps extends CubeDialogProps {
|
|
5
5
|
/** Whether the dialog is an important prompt */
|
|
6
6
|
danger?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BaseProps } from '../../
|
|
2
|
+
import { BaseProps } from '../../types';
|
|
3
3
|
import { AriaDialogProps } from '@react-types/dialog';
|
|
4
4
|
export interface CubeDialogProps extends Omit<BaseProps, 'role'>, AriaDialogProps {
|
|
5
5
|
type?: 'modal' | 'popover' | 'fullscreen' | 'fullscreenTakeover' | 'panel' | 'tray';
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement, RefObject } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Styles } from '../../../styles/types';
|
|
3
3
|
export declare type CubeDialogClose = (close: () => void) => ReactElement;
|
|
4
|
-
export interface
|
|
4
|
+
export interface CubeDialogTriggerProps {
|
|
5
5
|
/** The Dialog and its trigger element. See the DialogTrigger [Content section](#content) for more information on what to provide as children. */
|
|
6
6
|
children: [ReactElement, CubeDialogClose | ReactElement];
|
|
7
7
|
/**
|
|
@@ -24,7 +24,7 @@ export interface DialogTriggerProps {
|
|
|
24
24
|
/** The screen breakpoint for the mobile type */
|
|
25
25
|
mobileViewport?: number;
|
|
26
26
|
/** The style map for the overlay **/
|
|
27
|
-
styles?:
|
|
27
|
+
styles?: Styles;
|
|
28
28
|
}
|
|
29
29
|
declare function DialogTrigger(props: any): JSX.Element;
|
|
30
30
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CubeAlertDialogProps } from '
|
|
1
|
+
import { CubeAlertDialogProps } from '../AlertDialog/AlertDialog';
|
|
2
2
|
import { CubeDialogContainerProps } from './DialogContainer';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
4
|
export interface DialogData extends Omit<CubeDialogContainerProps, 'onDismiss'>, Omit<CubeAlertDialogProps, 'type' | 'id'> {
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CubeDialogProps } from './Dialog';
|
|
3
|
+
import { CubeDialogTriggerProps, DialogTrigger } from './DialogTrigger';
|
|
4
|
+
import { CubeDialogContainerProps, DialogContainer } from './DialogContainer';
|
|
5
|
+
declare const _Dialog: import("react").ForwardRefExoticComponent<CubeDialogProps & import("react").RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>> & {
|
|
6
|
+
confirm: (options: any) => void;
|
|
7
|
+
info: (options: any) => void;
|
|
8
|
+
};
|
|
9
|
+
export { _Dialog as Dialog, DialogContainer, DialogTrigger };
|
|
10
|
+
export type { CubeDialogProps, CubeDialogTriggerProps, CubeDialogContainerProps, };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { BaseProps } from '../../
|
|
2
|
+
import { Styles } from '../../../styles/types';
|
|
3
|
+
import { BaseProps } from '../../types';
|
|
4
4
|
import { ModalProps } from '@react-types/overlays';
|
|
5
|
-
export declare const OVERLAY_WRAPPER_STYLES:
|
|
5
|
+
export declare const OVERLAY_WRAPPER_STYLES: Styles;
|
|
6
6
|
export interface CubeModalProps extends ModalProps {
|
|
7
7
|
qa?: BaseProps['qa'];
|
|
8
8
|
onClose?: () => void;
|
|
9
9
|
type?: 'modal' | 'fullscreen' | 'fullscreenTakeover';
|
|
10
|
-
styles?:
|
|
10
|
+
styles?: Styles;
|
|
11
11
|
}
|
|
12
12
|
declare let _Modal: import("react").ForwardRefExoticComponent<CubeModalProps & import("react").RefAttributes<unknown>>;
|
|
13
13
|
export { _Modal as Modal };
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import { OverlayProps } from '@react-types/overlays';
|
|
3
|
-
import { BaseProps } from '../../
|
|
4
|
-
import { PlacementAxis } from '
|
|
3
|
+
import { BaseProps } from '../../types';
|
|
4
|
+
import { PlacementAxis } from '../../../shared';
|
|
5
5
|
export interface CubePopoverProps extends BaseProps, Omit<OverlayProps, 'children'> {
|
|
6
6
|
placement?: PlacementAxis;
|
|
7
7
|
arrowProps?: HTMLAttributes<HTMLElement>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { BaseProps } from '../../
|
|
2
|
+
import { Styles } from '../../../styles/types';
|
|
3
|
+
import { BaseProps } from '../../types';
|
|
4
4
|
import { TrayProps } from '@react-types/overlays';
|
|
5
5
|
export interface CubeTrayProps extends TrayProps {
|
|
6
6
|
qa?: BaseProps['qa'];
|
|
7
7
|
onClose?: () => void;
|
|
8
8
|
isFixedHeight?: boolean;
|
|
9
9
|
isNonModal?: boolean;
|
|
10
|
-
styles?:
|
|
10
|
+
styles?: Styles;
|
|
11
11
|
}
|
|
12
12
|
declare let _Tray: import("react").ForwardRefExoticComponent<CubeTrayProps & import("react").RefAttributes<unknown>>;
|
|
13
13
|
export { _Tray as Tray };
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CubeCardProps } from '../../
|
|
2
|
+
import { CubeCardProps } from '../../content/Card/Card';
|
|
3
3
|
export interface CubeNotificationProps extends CubeCardProps {
|
|
4
4
|
type?: 'success' | 'note' | 'danger';
|
|
5
5
|
onClose?: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface CubeOverlayWrapperProps {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
placement?: 'start' | 'end' | 'right' | 'left' | 'top' | 'bottom';
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
childrenOnly?: boolean;
|
|
7
|
+
minOffset?: string | number;
|
|
8
|
+
minScale?: string;
|
|
9
|
+
withoutTransition?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare function OverlayWrapper({ isOpen, placement, minOffset, minScale, withoutTransition, children, childrenOnly, }: CubeOverlayWrapperProps): JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { BaseProps, ContainerStyleProps } from '../../
|
|
2
|
+
import { Styles } from '../../../styles/types';
|
|
3
|
+
import { BaseProps, ContainerStyleProps } from '../../types';
|
|
4
4
|
import { AriaTooltipProps } from '@react-types/tooltip';
|
|
5
|
-
import { PlacementAxis } from '
|
|
5
|
+
import { PlacementAxis } from '../../../shared';
|
|
6
6
|
export interface CubeTooltipProps extends BaseProps, ContainerStyleProps, AriaTooltipProps {
|
|
7
|
-
tipStyles?:
|
|
7
|
+
tipStyles?: Styles;
|
|
8
8
|
showIcon?: boolean;
|
|
9
9
|
placement?: PlacementAxis;
|
|
10
10
|
}
|
|
File without changes
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React, { HTMLAttributes, RefObject } from 'react';
|
|
2
2
|
import { TooltipTriggerState } from '@react-stately/tooltip';
|
|
3
|
-
import { PlacementAxis } from '
|
|
4
|
-
import { Props } from '../../
|
|
3
|
+
import { PlacementAxis } from '../../../shared';
|
|
4
|
+
import { Props } from '../../types';
|
|
5
5
|
interface TooltipContextProps {
|
|
6
6
|
state?: TooltipTriggerState;
|
|
7
7
|
ref?: RefObject<HTMLDivElement>;
|
|
8
8
|
placement?: PlacementAxis;
|
|
9
9
|
arrowProps?: HTMLAttributes<HTMLElement>;
|
|
10
10
|
overlayProps?: Props;
|
|
11
|
+
minScale?: string | number;
|
|
12
|
+
minOffset?: string | number;
|
|
11
13
|
}
|
|
12
14
|
export declare const TooltipContext: React.Context<TooltipContextProps>;
|
|
13
15
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { CubeSelectBaseProps } from '../Select/Select';
|
|
3
3
|
import { CollectionBase, KeyboardDelegate, LoadingState } from '@react-types/shared';
|
|
4
4
|
import { ComboBoxProps } from '@react-types/combobox';
|
|
5
|
-
export interface CubeComboBoxProps<T> extends
|
|
5
|
+
export interface CubeComboBoxProps<T> extends Omit<CubeSelectBaseProps<T>, 'onOpenChange'>, ComboBoxProps<T>, CollectionBase<T> {
|
|
6
6
|
multiLine?: boolean;
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
inputRef?: RefObject<HTMLInputElement | HTMLTextAreaElement>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { BasePropsWithoutChildren, BlockStyleProps, OuterStyleProps, Props } from '../../
|
|
2
|
+
import { Styles } from '../../../styles/types';
|
|
3
|
+
import { BasePropsWithoutChildren, BlockStyleProps, OuterStyleProps, Props } from '../../types';
|
|
4
4
|
import { AriaSelectProps } from '@react-types/select';
|
|
5
|
-
import { FormFieldProps } from '
|
|
6
|
-
export interface
|
|
5
|
+
import { FormFieldProps } from '../../../shared';
|
|
6
|
+
export interface CubeSelectBaseProps<T> extends BasePropsWithoutChildren, OuterStyleProps, FormFieldProps, BlockStyleProps, AriaSelectProps<T> {
|
|
7
7
|
prefix?: ReactNode;
|
|
8
8
|
suffix?: ReactNode;
|
|
9
9
|
triggerRef?: RefObject<HTMLButtonElement>;
|
|
@@ -11,18 +11,19 @@ export interface CubeSelectProps extends BasePropsWithoutChildren, OuterStylePro
|
|
|
11
11
|
loadingIndicator?: ReactNode;
|
|
12
12
|
overlayOffset?: number;
|
|
13
13
|
hideTrigger?: boolean;
|
|
14
|
-
inputStyles?:
|
|
15
|
-
optionStyles?:
|
|
16
|
-
triggerStyles?:
|
|
17
|
-
listBoxStyles?:
|
|
18
|
-
overlayStyles?:
|
|
14
|
+
inputStyles?: Styles;
|
|
15
|
+
optionStyles?: Styles;
|
|
16
|
+
triggerStyles?: Styles;
|
|
17
|
+
listBoxStyles?: Styles;
|
|
18
|
+
overlayStyles?: Styles;
|
|
19
19
|
direction?: 'top' | 'bottom';
|
|
20
20
|
shouldFlip?: boolean;
|
|
21
21
|
inputProps?: Props;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface CubeSelectProps<T> extends CubeSelectBaseProps<T> {
|
|
24
24
|
popoverRef?: RefObject<HTMLInputElement>;
|
|
25
|
-
|
|
25
|
+
/** The ref for the list box. */
|
|
26
|
+
listBoxRef?: RefObject<HTMLElement>;
|
|
26
27
|
}
|
|
27
28
|
export declare function ListBoxPopup({ state, popoverRef, listBoxRef, listBoxStyles, overlayStyles, optionStyles, overlayProps: parentOverlayProps, disallowEmptySelection, shouldUseVirtualFocus, placement, ...otherProps }: {
|
|
28
29
|
[x: string]: any;
|
|
@@ -37,7 +38,7 @@ export declare function ListBoxPopup({ state, popoverRef, listBoxRef, listBoxSty
|
|
|
37
38
|
shouldUseVirtualFocus?: boolean | undefined;
|
|
38
39
|
placement: any;
|
|
39
40
|
}): JSX.Element;
|
|
40
|
-
declare const _Select: import("react").ForwardRefExoticComponent<
|
|
41
|
+
declare const _Select: import("react").ForwardRefExoticComponent<CubeSelectProps<object> & import("react").RefAttributes<import("@react-types/shared").DOMRefValue<HTMLDivElement>>> & {
|
|
41
42
|
Item: <T>(props: import("@react-types/shared").ItemProps<T>) => JSX.Element;
|
|
42
43
|
};
|
|
43
44
|
export { _Select as Select };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AllHTMLAttributes, CSSProperties, JSXElementConstructor, ReactElement, ReactNodeArray, ReactPortal } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Styles } from '../styles/types';
|
|
3
3
|
import { BASE_STYLES, BLOCK_STYLES, COLOR_STYLES, CONTAINER_STYLES, DIMENSION_STYLES, FLOW_STYLES, OUTER_STYLES, POSITION_STYLES, TEXT_STYLES } from '../styles/list';
|
|
4
4
|
export interface BasePropsWithoutChildren extends Pick<AllHTMLAttributes<HTMLElement>, 'className' | 'role' | 'id'> {
|
|
5
5
|
/** QA ID for e2e testing **/
|
|
@@ -8,7 +8,7 @@ export interface BasePropsWithoutChildren extends Pick<AllHTMLAttributes<HTMLEle
|
|
|
8
8
|
qaVal?: string | number;
|
|
9
9
|
/** The tag name of the element **/
|
|
10
10
|
/** The style map **/
|
|
11
|
-
styles?:
|
|
11
|
+
styles?: Styles;
|
|
12
12
|
/** The list of responsive points in pixels **/
|
|
13
13
|
breakpoints?: number[];
|
|
14
14
|
/** Whether the element has the block layout outside **/
|
|
@@ -40,24 +40,24 @@ export interface BaseProps extends BasePropsWithoutChildren {
|
|
|
40
40
|
export interface AllBaseProps<K extends keyof HTMLElementTagNameMap = 'div'> extends BaseProps, Omit<AllHTMLAttributes<HTMLElementTagNameMap[K]>, 'style'> {
|
|
41
41
|
as?: K;
|
|
42
42
|
}
|
|
43
|
-
export declare type BaseStyleProps = Pick<
|
|
44
|
-
export declare type PositionStyleProps = Pick<
|
|
45
|
-
export declare type BlockStyleProps = Pick<
|
|
46
|
-
export declare type ColorStyleProps = Pick<
|
|
47
|
-
export declare type TextStyleProps = Pick<
|
|
48
|
-
export declare type DimensionStyleProps = Pick<
|
|
49
|
-
export declare type FlowStyleProps = Pick<
|
|
50
|
-
export declare type ContainerStyleProps = Pick<
|
|
51
|
-
export declare type OuterStyleProps = Pick<
|
|
43
|
+
export declare type BaseStyleProps = Pick<Styles, typeof BASE_STYLES[number]>;
|
|
44
|
+
export declare type PositionStyleProps = Pick<Styles, typeof POSITION_STYLES[number]>;
|
|
45
|
+
export declare type BlockStyleProps = Pick<Styles, typeof BLOCK_STYLES[number]>;
|
|
46
|
+
export declare type ColorStyleProps = Pick<Styles, typeof COLOR_STYLES[number]>;
|
|
47
|
+
export declare type TextStyleProps = Pick<Styles, typeof TEXT_STYLES[number]>;
|
|
48
|
+
export declare type DimensionStyleProps = Pick<Styles, typeof DIMENSION_STYLES[number]>;
|
|
49
|
+
export declare type FlowStyleProps = Pick<Styles, typeof FLOW_STYLES[number]>;
|
|
50
|
+
export declare type ContainerStyleProps = Pick<Styles, typeof CONTAINER_STYLES[number]>;
|
|
51
|
+
export declare type OuterStyleProps = Pick<Styles, typeof OUTER_STYLES[number]>;
|
|
52
52
|
export declare type ShortItemsStyles = {
|
|
53
|
-
align?:
|
|
54
|
-
justify?:
|
|
53
|
+
align?: Styles['alignItems'];
|
|
54
|
+
justify?: Styles['justifyItems'];
|
|
55
55
|
};
|
|
56
56
|
export declare type ShortGridStyles = {
|
|
57
|
-
template?:
|
|
58
|
-
columns?:
|
|
59
|
-
rows?:
|
|
60
|
-
areas?:
|
|
57
|
+
template?: Styles['gridTemplate'];
|
|
58
|
+
columns?: Styles['gridColumns'];
|
|
59
|
+
rows?: Styles['gridRows'];
|
|
60
|
+
areas?: Styles['gridAreas'];
|
|
61
61
|
};
|
|
62
62
|
export interface Props {
|
|
63
63
|
[key: string]: any;
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,102 +1,158 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Field } from './
|
|
3
|
-
import { Text } from './components/Text';
|
|
4
|
-
import { Title } from './components/Title';
|
|
5
|
-
import { Paragraph } from './components/Paragraph';
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { CubeFormProps, Field, useFormProps } from './components/forms/Form';
|
|
3
|
+
import { CubeTextProps, Text } from './components/content/Text';
|
|
4
|
+
import { CubeTitleProps, Title } from './components/content/Title';
|
|
5
|
+
import { CubeParagraphProps, Paragraph } from './components/content/Paragraph';
|
|
6
|
+
import { ButtonGroup } from './components/actions/ButtonGroup/ButtonGroup';
|
|
7
|
+
declare const _Button: import("react").ForwardRefExoticComponent<import("./components/actions/Button/Button").CubeButtonProps & import("react").RefAttributes<import("@react-types/shared").FocusableRefValue<HTMLElement, HTMLElement>>> & {
|
|
8
|
+
Group: import("react").ForwardRefExoticComponent<import("./components/layout/Space").CubeSpaceProps & import("react").RefAttributes<unknown>>;
|
|
9
|
+
};
|
|
10
|
+
declare const Form: import("react").ForwardRefExoticComponent<CubeFormProps & import("react").RefAttributes<unknown>> & {
|
|
11
|
+
useForm: typeof import("./components/forms/Form").useForm;
|
|
8
12
|
} & {
|
|
9
13
|
Item: typeof Field;
|
|
10
14
|
};
|
|
11
15
|
export { Item } from '@react-stately/collections';
|
|
12
16
|
export { Base } from './components/Base';
|
|
13
17
|
export { Block } from './components/Block';
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
18
|
+
export type { CubeBlockProps } from './components/Block';
|
|
19
|
+
export { Action } from './components/actions/Action';
|
|
20
|
+
export type { CubeActionProps } from './components/actions/Action';
|
|
21
|
+
export { Grid } from './components/layout/Grid';
|
|
22
|
+
export type { CubeGridProps } from './components/layout/Grid';
|
|
23
|
+
export { Flex } from './components/layout/Flex';
|
|
24
|
+
export type { CubeFlexProps } from './components/layout/Flex';
|
|
25
|
+
export { Link } from './components/navigation/Link/Link';
|
|
26
|
+
export { Space } from './components/layout/Space';
|
|
27
|
+
export type { CubeSpaceProps } from './components/layout/Space';
|
|
28
|
+
export { Flow } from './components/layout/Flow';
|
|
29
|
+
export type { CubeFlowProps } from './components/layout/Flow';
|
|
20
30
|
export { Root } from './components/Root';
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
31
|
+
export type { CubeRootProps } from './components/Root';
|
|
32
|
+
export { PrismCode } from './components/content/PrismCode/PrismCode';
|
|
33
|
+
export type { CubePrismCodeProps } from './components/content/PrismCode/PrismCode';
|
|
34
|
+
export { Prefix } from './components/layout/Prefix';
|
|
35
|
+
export type { CubePrefixProps } from './components/layout/Prefix';
|
|
36
|
+
export { Suffix } from './components/layout/Suffix';
|
|
37
|
+
export type { CubeSuffixProps } from './components/layout/Suffix';
|
|
38
|
+
export { Divider } from './components/content/Divider';
|
|
39
|
+
export type { CubeDividerProps } from './components/content/Divider';
|
|
25
40
|
export { GridProvider } from './components/GridProvider';
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
41
|
+
export type { CubeGridProviderProps } from './components/GridProvider';
|
|
42
|
+
export { Content } from './components/content/Content';
|
|
43
|
+
export type { CubeContentProps } from './components/content/Content';
|
|
44
|
+
export { Header } from './components/content/Header';
|
|
45
|
+
export type { CubeHeaderProps } from './components/content/Header';
|
|
46
|
+
export { Footer } from './components/content/Footer';
|
|
47
|
+
export type { CubeFooterProps } from './components/content/Footer';
|
|
48
|
+
export { FieldWrapper } from './components/forms/FieldWrapper';
|
|
49
|
+
export type { CubeFieldWrapperProps } from './components/forms/FieldWrapper';
|
|
50
|
+
export { LoadingAnimation } from './components/status/LoadingAnimation/LoadingAnimation';
|
|
51
|
+
export type { CubeLoadingAnimationProps } from './components/status/LoadingAnimation/LoadingAnimation';
|
|
52
|
+
export { Spin } from './components/status/Spin/Spin';
|
|
53
|
+
export type { CubeSpinProps } from './components/status/Spin/Spin';
|
|
54
|
+
export { Base64Upload } from './components/other/Base64Upload/Base64Upload';
|
|
55
|
+
export type { CubeBase64UploadProps } from './components/other/Base64Upload/Base64Upload';
|
|
56
|
+
export { Card } from './components/content/Card/Card';
|
|
57
|
+
export type { CubeCardProps } from './components/content/Card/Card';
|
|
58
|
+
export { _Button as Button, ButtonGroup };
|
|
59
|
+
export type { CubeButtonProps } from './components/actions/Button/Button';
|
|
60
|
+
export { Placeholder } from './components/content/Placeholder/Placeholder';
|
|
61
|
+
export type { CubePlaceholderProps } from './components/content/Placeholder/Placeholder';
|
|
62
|
+
export { Skeleton } from './components/content/Skeleton/Skeleton';
|
|
63
|
+
export type { CubeSkeletonProps } from './components/content/Skeleton/Skeleton';
|
|
64
|
+
export { CloudLogo } from './components/other/CloudLogo/CloudLogo';
|
|
65
|
+
export { Badge } from './components/content/Badge/Badge';
|
|
66
|
+
export type { CubeBadgeProps } from './components/content/Badge/Badge';
|
|
67
|
+
export { SearchInput } from './components/forms/SearchInput/SearchInput';
|
|
68
|
+
export type { CubeSearchInputProps } from './components/forms/SearchInput/SearchInput';
|
|
69
|
+
export { Submit } from './components/actions/Button/Submit';
|
|
70
|
+
export type { CubeTextInputBaseProps } from './components/forms/TextInput/TextInputBase';
|
|
71
|
+
export type { CubeTextInputBaseProps as CubeTextInputProps } from './components/forms/TextInput/TextInputBase';
|
|
72
|
+
export { TextInput } from './components/forms/TextInput/TextInput';
|
|
73
|
+
export { TextArea } from './components/forms/TextArea/TextArea';
|
|
74
|
+
export type { CubeTextAreaProps } from './components/forms/TextArea/TextArea';
|
|
75
|
+
export { PasswordInput } from './components/forms/PasswordInput/PasswordInput';
|
|
76
|
+
export { Checkbox } from './components/forms/Checkbox/Checkbox';
|
|
77
|
+
export type { CubeCheckboxProps } from './components/forms/Checkbox/Checkbox';
|
|
78
|
+
export { CheckboxGroup } from './components/forms/Checkbox/CheckboxGroup';
|
|
79
|
+
export type { CubeCheckboxGroupProps } from './components/forms/Checkbox/CheckboxGroup';
|
|
80
|
+
export { Switch } from './components/forms/Switch/Switch';
|
|
81
|
+
export type { CubeSwitchProps } from './components/forms/Switch/Switch';
|
|
82
|
+
export { Radio } from './components/forms/RadioGroup/Radio';
|
|
83
|
+
export type { CubeRadioProps } from './components/forms/RadioGroup/Radio';
|
|
84
|
+
export { Form, Field, useFormProps };
|
|
85
|
+
export type { CubeFormProps };
|
|
86
|
+
export { ComboBox } from './components/pickers/ComboBox/ComboBox';
|
|
87
|
+
export type { CubeComboBoxProps } from './components/pickers/ComboBox/ComboBox';
|
|
88
|
+
export { Select, ListBoxPopup } from './components/pickers/Select/Select';
|
|
89
|
+
export type { CubeSelectProps, CubeSelectBaseProps, } from './components/pickers/Select/Select';
|
|
90
|
+
export { NumberInput } from './components/forms/NumberInput/NumberInput';
|
|
91
|
+
export type { CubeNumberInputProps } from './components/forms/NumberInput/NumberInput';
|
|
92
|
+
export { Avatar } from './components/content/Avatar/Avatar';
|
|
93
|
+
export type { CubeAvatarProps } from './components/content/Avatar/Avatar';
|
|
94
|
+
export { Dialog, DialogTrigger, DialogContainer, } from './components/overlays/Dialog';
|
|
95
|
+
export type { CubeDialogTriggerProps, CubeDialogContainerProps, CubeDialogProps, } from './components/overlays/Dialog';
|
|
96
|
+
export { Tooltip } from './components/overlays/Tooltip/Tooltip';
|
|
97
|
+
export type { CubeTooltipProps } from './components/overlays/Tooltip/Tooltip';
|
|
98
|
+
export { TooltipTrigger } from './components/overlays/Tooltip/TooltipTrigger';
|
|
99
|
+
export type { CubeTooltipTriggerProps } from './components/overlays/Tooltip/TooltipTrigger';
|
|
100
|
+
export { TopBar } from './components/organisms/TopBar/TopBar';
|
|
101
|
+
export type { CubeTopbarProps } from './components/organisms/TopBar/TopBar';
|
|
102
|
+
export { Alert } from './components/organisms/Alert/Alert';
|
|
103
|
+
export type { CubeAlertProps } from './components/organisms/Alert/Alert';
|
|
104
|
+
export { DirectoryTree } from './components/organisms/DirectoryTree/DirectoryTree';
|
|
105
|
+
export type { CubeDirectoryTreeProps } from './components/organisms/DirectoryTree/DirectoryTree';
|
|
106
|
+
export { Tabs } from './components/navigation/Tabs/Tabs';
|
|
107
|
+
export type { CubeTabsProps } from './components/navigation/Tabs/Tabs';
|
|
108
|
+
export { FileTabs } from './components/organisms/FileTabs/FileTabs';
|
|
109
|
+
export type { CubeFileTabProps } from './components/organisms/FileTabs/FileTabs';
|
|
110
|
+
export { Modal } from './components/organisms/Modal/Modal';
|
|
111
|
+
export type { CubeModalProps } from './components/organisms/Modal/Modal';
|
|
112
|
+
export { CopySnippet } from './components/organisms/CopySnippet/CopySnippet';
|
|
113
|
+
export type { CubeCopySnippetProps } from './components/organisms/CopySnippet/CopySnippet';
|
|
114
|
+
export { StatsCard } from './components/organisms/StatsCard/StatsCard';
|
|
115
|
+
export type { CubeStatsCard } from './components/organisms/StatsCard/StatsCard';
|
|
116
|
+
export { AlertDialog } from './components/overlays/AlertDialog/AlertDialog';
|
|
117
|
+
export type { CubeAlertDialogProps } from './components/overlays/AlertDialog/AlertDialog';
|
|
118
|
+
export { SearchResults } from './components/organisms/SearchResults/SearchResults';
|
|
119
|
+
export type { CubeSearchResultsProps } from './components/organisms/SearchResults/SearchResults';
|
|
67
120
|
export { notification } from './services/notification';
|
|
121
|
+
export type { CubeNotificationOptions } from './services/notification';
|
|
68
122
|
export * from './providers/Responsive';
|
|
69
123
|
export declare const Typography: {
|
|
70
|
-
Text: import("react").ForwardRefExoticComponent<
|
|
71
|
-
Minor:
|
|
72
|
-
Danger:
|
|
73
|
-
Success:
|
|
74
|
-
Strong:
|
|
75
|
-
Selection:
|
|
124
|
+
Text: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>> & {
|
|
125
|
+
Minor: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
126
|
+
Danger: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
127
|
+
Success: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
128
|
+
Strong: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
129
|
+
Selection: import("react").ForwardRefExoticComponent<CubeTextProps & import("react").RefAttributes<unknown>>;
|
|
76
130
|
};
|
|
77
|
-
Title: import("react").ForwardRefExoticComponent<
|
|
78
|
-
Danger: (
|
|
79
|
-
Success: (
|
|
131
|
+
Title: import("react").ForwardRefExoticComponent<CubeTitleProps & import("react").RefAttributes<unknown>> & {
|
|
132
|
+
Danger: import("react").ForwardRefExoticComponent<CubeTitleProps & import("react").RefAttributes<unknown>>;
|
|
133
|
+
Success: import("react").ForwardRefExoticComponent<CubeTitleProps & import("react").RefAttributes<unknown>>;
|
|
80
134
|
};
|
|
81
|
-
Paragraph: import("react").ForwardRefExoticComponent<
|
|
135
|
+
Paragraph: import("react").ForwardRefExoticComponent<CubeParagraphProps & import("react").RefAttributes<unknown>>;
|
|
82
136
|
};
|
|
83
137
|
export { Text, Title, Paragraph };
|
|
138
|
+
export type { CubeTextProps, CubeTitleProps, CubeParagraphProps };
|
|
84
139
|
export { useContextStyles, StyleProvider } from './providers/Styles';
|
|
85
|
-
export { Provider
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
140
|
+
export { Provider } from './provider';
|
|
141
|
+
export type { useProviderProps } from './provider';
|
|
142
|
+
declare const Input: import("react").ForwardRefExoticComponent<import("./components/forms/TextInput/TextInputBase").CubeTextInputBaseProps & import("react").RefAttributes<unknown>> & {
|
|
143
|
+
Text: import("react").ForwardRefExoticComponent<import("./components/forms/TextInput/TextInputBase").CubeTextInputBaseProps & import("react").RefAttributes<unknown>>;
|
|
144
|
+
Password: import("react").ForwardRefExoticComponent<import("./components/forms/TextInput/TextInputBase").CubeTextInputBaseProps & import("react").RefAttributes<unknown>> & {
|
|
89
145
|
cubeInputType: string;
|
|
90
146
|
};
|
|
91
147
|
Number: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<unknown>> & {
|
|
92
148
|
cubeInputType: string;
|
|
93
149
|
};
|
|
94
|
-
TextArea: import("react").ForwardRefExoticComponent<import("./
|
|
150
|
+
TextArea: import("react").ForwardRefExoticComponent<import("./components/forms/TextArea/TextArea").CubeTextAreaProps & import("react").RefAttributes<unknown>> & {
|
|
95
151
|
cubeInputType: string;
|
|
96
152
|
};
|
|
97
153
|
};
|
|
98
154
|
export { Input };
|
|
99
|
-
export
|
|
155
|
+
export type { TagName, TagNameProps, AllBaseProps, BaseProps, BaseStyleProps, DimensionStyleProps, ColorStyleProps, OuterStyleProps, PositionStyleProps, TextStyleProps, BlockStyleProps, ContainerStyleProps, BasePropsWithoutChildren, Props, FlowStyleProps, ShortItemsStyles, ShortGridStyles, } from './components/types';
|
|
100
156
|
export * from './styles/types';
|
|
101
157
|
export * from './styles/list';
|
|
102
158
|
export { ModalProvider } from '@react-aria/overlays';
|