@once-ui-system/core 1.7.6 → 1.7.8
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/components/Accordion.d.ts +6 -3
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion.js +43 -15
- package/dist/components/Accordion.js.map +1 -1
- package/dist/data/emoji-data.json +0 -8
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.js +24 -8
- package/dist/modules/code/CodeBlock.impl.js.map +1 -1
- package/dist/modules/data/rechartsLoader.d.ts.map +1 -1
- package/dist/modules/data/rechartsLoader.js +8 -2
- package/dist/modules/data/rechartsLoader.js.map +1 -1
- package/dist/modules/media/MediaUpload.impl.d.ts.map +1 -1
- package/dist/modules/media/MediaUpload.impl.js +8 -1
- package/dist/modules/media/MediaUpload.impl.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/src/__tests__/Dialog.test.d.ts +0 -1
- package/dist/src/components/Accordion.d.ts +0 -21
- package/dist/src/components/AccordionGroup.d.ts +0 -15
- package/dist/src/components/Animation.d.ts +0 -33
- package/dist/src/components/Arrow.d.ts +0 -10
- package/dist/src/components/ArrowNavigationContext.d.ts +0 -32
- package/dist/src/components/AutoScroll.d.ts +0 -13
- package/dist/src/components/Avatar.d.ts +0 -20
- package/dist/src/components/AvatarGroup.d.ts +0 -13
- package/dist/src/components/Background.d.ts +0 -48
- package/dist/src/components/Badge.d.ts +0 -16
- package/dist/src/components/Banner.d.ts +0 -5
- package/dist/src/components/BlobFx.d.ts +0 -7
- package/dist/src/components/BlockQuote.d.ts +0 -20
- package/dist/src/components/Button.d.ts +0 -26
- package/dist/src/components/Card.d.ts +0 -12
- package/dist/src/components/Carousel.d.ts +0 -31
- package/dist/src/components/CelebrationFx.d.ts +0 -16
- package/dist/src/components/Checkbox.d.ts +0 -10
- package/dist/src/components/Chip.d.ts +0 -16
- package/dist/src/components/ClientFlex.d.ts +0 -12
- package/dist/src/components/ClientGrid.d.ts +0 -12
- package/dist/src/components/ColorInput.d.ts +0 -10
- package/dist/src/components/Column.d.ts +0 -6
- package/dist/src/components/CompareImage.d.ts +0 -15
- package/dist/src/components/ContextMenu.d.ts +0 -21
- package/dist/src/components/CountFx.d.ts +0 -14
- package/dist/src/components/CountdownFx.d.ts +0 -10
- package/dist/src/components/Cursor.d.ts +0 -7
- package/dist/src/components/CursorCard.d.ts +0 -12
- package/dist/src/components/DateInput.d.ts +0 -17
- package/dist/src/components/DatePicker.d.ts +0 -32
- package/dist/src/components/DateRangeInput.d.ts +0 -14
- package/dist/src/components/DateRangePicker.d.ts +0 -16
- package/dist/src/components/Dialog.d.ts +0 -20
- package/dist/src/components/Dropdown.d.ts +0 -12
- package/dist/src/components/DropdownWrapper.d.ts +0 -28
- package/dist/src/components/ElementType.d.ts +0 -13
- package/dist/src/components/EmojiPicker.d.ts +0 -15
- package/dist/src/components/EmojiPickerDropdown.d.ts +0 -10
- package/dist/src/components/Fade.d.ts +0 -18
- package/dist/src/components/Feedback.d.ts +0 -15
- package/dist/src/components/Flex.d.ts +0 -10
- package/dist/src/components/FlipFx.d.ts +0 -16
- package/dist/src/components/GlitchFx.d.ts +0 -11
- package/dist/src/components/Grid.d.ts +0 -10
- package/dist/src/components/HoloFx.d.ts +0 -31
- package/dist/src/components/Hover.d.ts +0 -13
- package/dist/src/components/HoverCard.d.ts +0 -4
- package/dist/src/components/Icon.d.ts +0 -17
- package/dist/src/components/IconButton.d.ts +0 -22
- package/dist/src/components/InfiniteScroll.d.ts +0 -15
- package/dist/src/components/InlineCode.d.ts +0 -9
- package/dist/src/components/Input.d.ts +0 -23
- package/dist/src/components/InteractiveDetails.d.ts +0 -14
- package/dist/src/components/Kbd.d.ts +0 -11
- package/dist/src/components/Line.d.ts +0 -8
- package/dist/src/components/List.d.ts +0 -10
- package/dist/src/components/ListItem.d.ts +0 -9
- package/dist/src/components/Logo.d.ts +0 -17
- package/dist/src/components/LogoCloud.d.ts +0 -13
- package/dist/src/components/Mask.d.ts +0 -14
- package/dist/src/components/MasonryGrid.d.ts +0 -21
- package/dist/src/components/MatrixFx.d.ts +0 -26
- package/dist/src/components/Media.d.ts +0 -25
- package/dist/src/components/Modal.d.ts +0 -10
- package/dist/src/components/NavIcon.d.ts +0 -10
- package/dist/src/components/NumberInput.d.ts +0 -12
- package/dist/src/components/OTPInput.d.ts +0 -12
- package/dist/src/components/OgCard.d.ts +0 -33
- package/dist/src/components/Option.d.ts +0 -20
- package/dist/src/components/Particle.d.ts +0 -20
- package/dist/src/components/PasswordInput.d.ts +0 -3
- package/dist/src/components/ProgressBar.d.ts +0 -14
- package/dist/src/components/Pulse.d.ts +0 -12
- package/dist/src/components/RadioButton.d.ts +0 -14
- package/dist/src/components/RevealFx.d.ts +0 -15
- package/dist/src/components/Row.d.ts +0 -6
- package/dist/src/components/ScrollContainer.d.ts +0 -8
- package/dist/src/components/ScrollLock.integration.test.d.ts +0 -1
- package/dist/src/components/ScrollToTop.d.ts +0 -6
- package/dist/src/components/Scroller.d.ts +0 -13
- package/dist/src/components/SegmentedControl.d.ts +0 -17
- package/dist/src/components/Select.d.ts +0 -18
- package/dist/src/components/ShineFx.d.ts +0 -12
- package/dist/src/components/Skeleton.d.ts +0 -12
- package/dist/src/components/Slider.d.ts +0 -16
- package/dist/src/components/SmartLink.d.ts +0 -17
- package/dist/src/components/Spinner.d.ts +0 -10
- package/dist/src/components/SplitView.d.ts +0 -15
- package/dist/src/components/SplitView.js +0 -79
- package/dist/src/components/StatusIndicator.d.ts +0 -11
- package/dist/src/components/StyleOverlay.d.ts +0 -9
- package/dist/src/components/StylePanel.d.ts +0 -7
- package/dist/src/components/Swiper.d.ts +0 -16
- package/dist/src/components/Switch.d.ts +0 -16
- package/dist/src/components/Table.d.ts +0 -15
- package/dist/src/components/Tag.d.ts +0 -15
- package/dist/src/components/TagInput.d.ts +0 -8
- package/dist/src/components/Textarea.d.ts +0 -23
- package/dist/src/components/ThemeSwitcher.d.ts +0 -3
- package/dist/src/components/TiltFx.d.ts +0 -9
- package/dist/src/components/Timeline.d.ts +0 -17
- package/dist/src/components/Toast.d.ts +0 -11
- package/dist/src/components/Toaster.d.ts +0 -18
- package/dist/src/components/ToggleButton.d.ts +0 -24
- package/dist/src/components/Tooltip.d.ts +0 -12
- package/dist/src/components/TypeFx.d.ts +0 -14
- package/dist/src/components/User.d.ts +0 -15
- package/dist/src/components/UserMenu.d.ts +0 -12
- package/dist/src/components/WeatherFx.d.ts +0 -17
- package/dist/src/components/index.d.ts +0 -120
- package/dist/src/contexts/DataThemeProvider.d.ts +0 -25
- package/dist/src/contexts/ThemeProvider.d.ts +0 -48
- package/dist/src/contexts/ToastProvider.d.ts +0 -23
- package/dist/src/contexts/index.d.ts +0 -5
- package/dist/src/index.d.ts +0 -9
- package/dist/src/modules/code/CodeBlock.d.ts +0 -5
- package/dist/src/modules/code/CodeBlock.impl.d.ts +0 -33
- package/dist/src/modules/data/BarChart.d.ts +0 -5
- package/dist/src/modules/data/BarChart.impl.d.ts +0 -11
- package/dist/src/modules/data/ChartHeader.d.ts +0 -13
- package/dist/src/modules/data/ChartStatus.d.ts +0 -9
- package/dist/src/modules/data/DataTooltip.d.ts +0 -15
- package/dist/src/modules/data/Gradient.d.ts +0 -31
- package/dist/src/modules/data/Legend.d.ts +0 -14
- package/dist/src/modules/data/LineBarChart.d.ts +0 -5
- package/dist/src/modules/data/LineBarChart.impl.d.ts +0 -11
- package/dist/src/modules/data/LineChart.d.ts +0 -5
- package/dist/src/modules/data/LineChart.impl.d.ts +0 -16
- package/dist/src/modules/data/LinearGauge.d.ts +0 -17
- package/dist/src/modules/data/PieChart.d.ts +0 -5
- package/dist/src/modules/data/PieChart.impl.d.ts +0 -17
- package/dist/src/modules/data/RadialGauge.d.ts +0 -24
- package/dist/src/modules/data/Swatch.d.ts +0 -8
- package/dist/src/modules/data/index.d.ts +0 -13
- package/dist/src/modules/data/interfaces.d.ts +0 -52
- package/dist/src/modules/data/utils/formatDate.d.ts +0 -11
- package/dist/src/modules/index.d.ts +0 -7
- package/dist/src/modules/media/MediaUpload.d.ts +0 -5
- package/dist/src/modules/media/MediaUpload.impl.d.ts +0 -23
- package/dist/src/modules/navigation/HeadingLink.d.ts +0 -10
- package/dist/src/modules/navigation/HeadingNav.d.ts +0 -7
- package/dist/src/modules/navigation/Kbar.d.ts +0 -33
- package/dist/src/modules/navigation/MegaMenu.d.ts +0 -27
- package/dist/src/modules/navigation/MobileMegaMenu.d.ts +0 -27
- package/dist/src/modules/navigation/index.d.ts +0 -5
- package/dist/src/utils/MissingDependency.d.ts +0 -6
- package/dist/src/utils/index.d.ts +0 -2
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex, MaskProps } from ".";
|
|
3
|
-
import { DisplayProps } from "../interfaces";
|
|
4
|
-
import { SpacingToken } from "../types";
|
|
5
|
-
interface GradientProps {
|
|
6
|
-
display?: boolean;
|
|
7
|
-
opacity?: DisplayProps["opacity"];
|
|
8
|
-
x?: number;
|
|
9
|
-
y?: number;
|
|
10
|
-
width?: number;
|
|
11
|
-
height?: number;
|
|
12
|
-
tilt?: number;
|
|
13
|
-
colorStart?: string;
|
|
14
|
-
colorEnd?: string;
|
|
15
|
-
}
|
|
16
|
-
interface DotsProps {
|
|
17
|
-
display?: boolean;
|
|
18
|
-
opacity?: DisplayProps["opacity"];
|
|
19
|
-
color?: string;
|
|
20
|
-
size?: SpacingToken;
|
|
21
|
-
}
|
|
22
|
-
interface GridProps {
|
|
23
|
-
display?: boolean;
|
|
24
|
-
opacity?: DisplayProps["opacity"];
|
|
25
|
-
color?: string;
|
|
26
|
-
width?: string;
|
|
27
|
-
height?: string;
|
|
28
|
-
}
|
|
29
|
-
interface LinesProps {
|
|
30
|
-
display?: boolean;
|
|
31
|
-
opacity?: DisplayProps["opacity"];
|
|
32
|
-
size?: SpacingToken;
|
|
33
|
-
thickness?: number;
|
|
34
|
-
angle?: number;
|
|
35
|
-
color?: string;
|
|
36
|
-
}
|
|
37
|
-
interface BackgroundProps extends React.ComponentProps<typeof Flex> {
|
|
38
|
-
gradient?: GradientProps;
|
|
39
|
-
dots?: DotsProps;
|
|
40
|
-
grid?: GridProps;
|
|
41
|
-
lines?: LinesProps;
|
|
42
|
-
mask?: MaskProps;
|
|
43
|
-
className?: string;
|
|
44
|
-
style?: React.CSSProperties;
|
|
45
|
-
children?: React.ReactNode;
|
|
46
|
-
}
|
|
47
|
-
declare const Background: React.ForwardRefExoticComponent<Omit<BackgroundProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
-
export { Background };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
import { IconName } from "../icons";
|
|
4
|
-
export interface BadgeProps extends React.ComponentProps<typeof Flex> {
|
|
5
|
-
title?: string;
|
|
6
|
-
icon?: IconName;
|
|
7
|
-
arrow?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
href?: string;
|
|
10
|
-
effect?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
id?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLDivElement | HTMLAnchorElement>>;
|
|
16
|
-
export { Badge };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Column } from ".";
|
|
2
|
-
interface BlockQuoteProps extends React.ComponentProps<typeof Column> {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
preline?: React.ReactNode;
|
|
5
|
-
subline?: React.ReactNode;
|
|
6
|
-
separator?: "top" | "bottom" | "both" | "none";
|
|
7
|
-
author?: {
|
|
8
|
-
name?: React.ReactNode;
|
|
9
|
-
avatar?: string;
|
|
10
|
-
};
|
|
11
|
-
link?: {
|
|
12
|
-
href: string;
|
|
13
|
-
label: string;
|
|
14
|
-
};
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
className?: string;
|
|
17
|
-
align?: "center" | "left" | "right";
|
|
18
|
-
}
|
|
19
|
-
declare const BlockQuote: import("react").ForwardRefExoticComponent<Omit<BlockQuoteProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
-
export { BlockQuote };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { IconName } from "../icons";
|
|
3
|
-
interface CommonProps {
|
|
4
|
-
variant?: "primary" | "secondary" | "tertiary" | "danger";
|
|
5
|
-
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
6
|
-
radius?: "none" | "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
|
7
|
-
label?: string;
|
|
8
|
-
weight?: "default" | "strong";
|
|
9
|
-
rounded?: boolean;
|
|
10
|
-
prefixIcon?: IconName;
|
|
11
|
-
suffixIcon?: IconName;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
fillWidth?: boolean;
|
|
15
|
-
horizontal?: "start" | "center" | "end" | "between";
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
href?: string;
|
|
18
|
-
className?: string;
|
|
19
|
-
style?: React.CSSProperties;
|
|
20
|
-
id?: string;
|
|
21
|
-
arrowIcon?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export type ButtonProps = CommonProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
24
|
-
export type AnchorProps = CommonProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
25
|
-
declare const Button: React.ForwardRefExoticComponent<(ButtonProps | AnchorProps) & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
-
export { Button };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
interface CardProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
href?: string;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
fillHeight?: boolean;
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { Card };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { SpacingToken } from "@/types";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
interface CarouselItem {
|
|
4
|
-
slide: string | React.ReactNode;
|
|
5
|
-
alt?: string;
|
|
6
|
-
}
|
|
7
|
-
interface ThumbnailItem {
|
|
8
|
-
scaling?: number;
|
|
9
|
-
height?: SpacingToken | number;
|
|
10
|
-
sizes?: string;
|
|
11
|
-
}
|
|
12
|
-
interface CarouselProps extends React.ComponentProps<typeof Flex> {
|
|
13
|
-
items: CarouselItem[];
|
|
14
|
-
controls?: boolean;
|
|
15
|
-
priority?: boolean;
|
|
16
|
-
fill?: boolean;
|
|
17
|
-
indicator?: "line" | "thumbnail" | false;
|
|
18
|
-
translateY?: SpacingToken | number;
|
|
19
|
-
aspectRatio?: string;
|
|
20
|
-
sizes?: string;
|
|
21
|
-
revealedByDefault?: boolean;
|
|
22
|
-
thumbnail?: ThumbnailItem;
|
|
23
|
-
play?: {
|
|
24
|
-
auto?: boolean;
|
|
25
|
-
interval?: number;
|
|
26
|
-
controls?: boolean;
|
|
27
|
-
progress?: boolean;
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
declare const Carousel: React.FC<CarouselProps>;
|
|
31
|
-
export { Carousel };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
type CelebrationType = "confetti" | "fireworks";
|
|
4
|
-
interface CelebrationFxProps extends React.ComponentProps<typeof Flex> {
|
|
5
|
-
type?: CelebrationType;
|
|
6
|
-
speed?: number;
|
|
7
|
-
colors?: string[];
|
|
8
|
-
intensity?: number;
|
|
9
|
-
duration?: number;
|
|
10
|
-
trigger?: "mount" | "hover" | "manual" | "click";
|
|
11
|
-
active?: boolean;
|
|
12
|
-
reducedMotion?: boolean | "auto";
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const CelebrationFx: React.ForwardRefExoticComponent<Omit<CelebrationFxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export { CelebrationFx };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { InteractiveDetailsProps } from ".";
|
|
3
|
-
interface CheckboxProps extends Omit<InteractiveDetailsProps, "onClick">, React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
-
isChecked?: boolean;
|
|
5
|
-
isIndeterminate?: boolean;
|
|
6
|
-
onToggle?: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const Checkbox: React.FC<CheckboxProps>;
|
|
9
|
-
export { Checkbox };
|
|
10
|
-
export type { CheckboxProps };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, MouseEventHandler } from "react";
|
|
2
|
-
import { IconButtonProps, Flex } from ".";
|
|
3
|
-
import { IconName } from "../icons";
|
|
4
|
-
interface ChipProps extends React.ComponentProps<typeof Flex> {
|
|
5
|
-
label: string;
|
|
6
|
-
selected?: boolean;
|
|
7
|
-
prefixIcon?: IconName;
|
|
8
|
-
onRemove?: () => void;
|
|
9
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
iconButtonProps?: Partial<IconButtonProps>;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const Chip: React.FC<ChipProps>;
|
|
16
|
-
export { Chip };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FlexProps, StyleProps, DisplayProps, FlexBreakpointProps } from "../interfaces";
|
|
2
|
-
interface ClientFlexProps extends FlexProps, StyleProps, DisplayProps {
|
|
3
|
-
cursor?: StyleProps["cursor"];
|
|
4
|
-
xl?: FlexBreakpointProps;
|
|
5
|
-
l?: FlexBreakpointProps;
|
|
6
|
-
m?: FlexBreakpointProps;
|
|
7
|
-
s?: FlexBreakpointProps;
|
|
8
|
-
xs?: FlexBreakpointProps;
|
|
9
|
-
hide?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const ClientFlex: import("react").ForwardRefExoticComponent<ClientFlexProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { ClientFlex };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GridProps, StyleProps, DisplayProps, GridBreakpointProps } from "../interfaces";
|
|
2
|
-
interface ClientGridProps extends GridProps, StyleProps, DisplayProps {
|
|
3
|
-
cursor?: StyleProps["cursor"];
|
|
4
|
-
xl?: GridBreakpointProps;
|
|
5
|
-
l?: GridBreakpointProps;
|
|
6
|
-
m?: GridBreakpointProps;
|
|
7
|
-
s?: GridBreakpointProps;
|
|
8
|
-
xs?: GridBreakpointProps;
|
|
9
|
-
hide?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const ClientGrid: import("react").ForwardRefExoticComponent<ClientGridProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { ClientGrid };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { InputProps } from ".";
|
|
3
|
-
interface ColorInputProps extends Omit<InputProps, "onChange" | "value"> {
|
|
4
|
-
value: string;
|
|
5
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
-
supportAlpha?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const ColorInput: React.ForwardRefExoticComponent<ColorInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
9
|
-
export { ColorInput };
|
|
10
|
-
export type { ColorInputProps };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Flex } from ".";
|
|
2
|
-
export interface ColumnProps extends React.ComponentProps<typeof Flex> {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
}
|
|
5
|
-
declare const Column: import("react").ForwardRefExoticComponent<Omit<ColumnProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export { Column };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Flex } from ".";
|
|
2
|
-
interface SideContent {
|
|
3
|
-
src: string | React.ReactNode;
|
|
4
|
-
alt?: string;
|
|
5
|
-
}
|
|
6
|
-
interface CompareImageProps extends React.ComponentProps<typeof Flex> {
|
|
7
|
-
leftContent: SideContent;
|
|
8
|
-
rightContent: SideContent;
|
|
9
|
-
aspectRatio?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const CompareImage: {
|
|
12
|
-
({ leftContent, rightContent, aspectRatio, ...rest }: CompareImageProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export { CompareImage };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Placement } from "@floating-ui/react-dom";
|
|
3
|
-
export interface ContextMenuProps {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
dropdown: ReactNode;
|
|
6
|
-
placement?: Placement;
|
|
7
|
-
fillWidth?: boolean;
|
|
8
|
-
minWidth?: number;
|
|
9
|
-
maxWidth?: number;
|
|
10
|
-
minHeight?: number;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
className?: string;
|
|
13
|
-
onSelect?: (value: string) => void;
|
|
14
|
-
closeAfterClick?: boolean;
|
|
15
|
-
isOpen?: boolean;
|
|
16
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
17
|
-
selectedOption?: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const ContextMenu: React.ForwardRefExoticComponent<ContextMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
export { ContextMenu };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Text } from ".";
|
|
3
|
-
export interface CountFxProps extends React.ComponentProps<typeof Text> {
|
|
4
|
-
value: number;
|
|
5
|
-
speed?: number;
|
|
6
|
-
easing?: "linear" | "ease-out" | "ease-in-out";
|
|
7
|
-
format?: (value: number) => string;
|
|
8
|
-
separator?: string;
|
|
9
|
-
decimals?: number;
|
|
10
|
-
effect?: "simple" | "wheel" | "smooth";
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const CountFx: React.FC<CountFxProps>;
|
|
14
|
-
export { CountFx };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { CountFxProps } from ".";
|
|
3
|
-
export interface CountdownFxProps extends Omit<CountFxProps, 'value' | 'format' | 'separator' | 'effect'> {
|
|
4
|
-
targetDate: Date | string;
|
|
5
|
-
format?: "HH:MM:SS" | "DD:HH:MM:SS" | "MM:SS";
|
|
6
|
-
effect?: CountFxProps['effect'];
|
|
7
|
-
onComplete?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const CountdownFx: React.FC<CountdownFxProps>;
|
|
10
|
-
export { CountdownFx };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Placement } from "@floating-ui/react-dom";
|
|
3
|
-
import { Flex } from ".";
|
|
4
|
-
export interface CursorCardProps extends React.ComponentProps<typeof Flex> {
|
|
5
|
-
trigger?: ReactNode;
|
|
6
|
-
overlay?: ReactNode;
|
|
7
|
-
placement?: Placement;
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
declare const CursorCard: React.ForwardRefExoticComponent<Omit<CursorCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { CursorCard };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Input } from ".";
|
|
3
|
-
interface DateInputProps extends Omit<React.ComponentProps<typeof Input>, "onChange" | "value"> {
|
|
4
|
-
id: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
value?: Date;
|
|
8
|
-
onChange?: (date: Date) => void;
|
|
9
|
-
minHeight?: number;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
timePicker?: boolean;
|
|
13
|
-
minDate?: Date;
|
|
14
|
-
maxDate?: Date;
|
|
15
|
-
}
|
|
16
|
-
export declare const DateInput: React.FC<DateInputProps>;
|
|
17
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
export interface DatePickerProps extends Omit<React.ComponentProps<typeof Flex>, "onChange"> {
|
|
4
|
-
value?: Date;
|
|
5
|
-
onChange?: (date: Date) => void;
|
|
6
|
-
minDate?: Date;
|
|
7
|
-
maxDate?: Date;
|
|
8
|
-
previousMonth?: boolean;
|
|
9
|
-
nextMonth?: boolean;
|
|
10
|
-
timePicker?: boolean;
|
|
11
|
-
defaultDate?: Date;
|
|
12
|
-
defaultTime?: {
|
|
13
|
-
hours: number;
|
|
14
|
-
minutes: number;
|
|
15
|
-
};
|
|
16
|
-
size?: "s" | "m" | "l";
|
|
17
|
-
isNested?: boolean;
|
|
18
|
-
className?: string;
|
|
19
|
-
style?: React.CSSProperties;
|
|
20
|
-
currentMonth?: number;
|
|
21
|
-
currentYear?: number;
|
|
22
|
-
onMonthChange?: (increment: number) => void;
|
|
23
|
-
range?: {
|
|
24
|
-
startDate?: Date;
|
|
25
|
-
endDate?: Date;
|
|
26
|
-
};
|
|
27
|
-
onHover?: (date: Date | null) => void;
|
|
28
|
-
autoFocus?: boolean;
|
|
29
|
-
isOpen?: boolean;
|
|
30
|
-
}
|
|
31
|
-
declare const DatePicker: React.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
-
export { DatePicker };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Input, DateRange } from ".";
|
|
3
|
-
interface DateRangeInputProps extends Omit<React.ComponentProps<typeof Input>, "onChange" | "value" | "label"> {
|
|
4
|
-
id: string;
|
|
5
|
-
startLabel: string;
|
|
6
|
-
endLabel: string;
|
|
7
|
-
value?: DateRange;
|
|
8
|
-
onChange?: (range: DateRange) => void;
|
|
9
|
-
minHeight?: number;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
}
|
|
13
|
-
export declare const DateRangeInput: React.FC<DateRangeInputProps>;
|
|
14
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
export interface DateRange {
|
|
4
|
-
startDate: Date | undefined;
|
|
5
|
-
endDate: Date | undefined;
|
|
6
|
-
}
|
|
7
|
-
export interface DateRangePickerProps extends Omit<React.ComponentProps<typeof Flex>, "onChange"> {
|
|
8
|
-
value?: DateRange;
|
|
9
|
-
onChange?: (range: DateRange) => void;
|
|
10
|
-
minDate?: Date;
|
|
11
|
-
maxDate?: Date;
|
|
12
|
-
dual?: boolean;
|
|
13
|
-
size?: "s" | "m" | "l";
|
|
14
|
-
}
|
|
15
|
-
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
16
|
-
export { DateRangePicker };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
interface DialogProps extends Omit<React.ComponentProps<typeof Flex>, "title"> {
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
title: ReactNode | string;
|
|
7
|
-
description?: ReactNode;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
footer?: ReactNode;
|
|
10
|
-
base?: boolean;
|
|
11
|
-
stack?: boolean;
|
|
12
|
-
onHeightChange?: (height: number) => void;
|
|
13
|
-
minHeight?: number;
|
|
14
|
-
closeOnClickaway?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const DialogProvider: React.FC<{
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
}>;
|
|
19
|
-
declare const Dialog: React.FC<DialogProps>;
|
|
20
|
-
export { Dialog };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Row } from ".";
|
|
3
|
-
interface DropdownProps extends Omit<React.ComponentProps<typeof Row>, "onSelect"> {
|
|
4
|
-
selectedOption?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
onEscape?: () => void;
|
|
7
|
-
onSelect?: (event: string) => void;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const Dropdown: React.ForwardRefExoticComponent<Omit<DropdownProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export { Dropdown };
|
|
12
|
-
export type { DropdownProps };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Placement } from "@floating-ui/react-dom";
|
|
3
|
-
import { NavigationLayout } from "../hooks/useArrowNavigation";
|
|
4
|
-
export interface DropdownWrapperProps {
|
|
5
|
-
fillWidth?: boolean;
|
|
6
|
-
minWidth?: number;
|
|
7
|
-
maxWidth?: number;
|
|
8
|
-
minHeight?: number;
|
|
9
|
-
placement?: Placement;
|
|
10
|
-
trigger: ReactNode;
|
|
11
|
-
dropdown: ReactNode;
|
|
12
|
-
selectedOption?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
className?: string;
|
|
15
|
-
onSelect?: (value: string) => void;
|
|
16
|
-
closeAfterClick?: boolean;
|
|
17
|
-
handleArrowNavigation?: boolean;
|
|
18
|
-
isOpen?: boolean;
|
|
19
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
20
|
-
isNested?: boolean;
|
|
21
|
-
navigationLayout?: NavigationLayout;
|
|
22
|
-
columns?: number | string;
|
|
23
|
-
optionsCount?: number;
|
|
24
|
-
dropdownId?: string;
|
|
25
|
-
disableTriggerClick?: boolean;
|
|
26
|
-
}
|
|
27
|
-
declare const DropdownWrapper: React.ForwardRefExoticComponent<DropdownWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
export { DropdownWrapper };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
interface ElementTypeProps {
|
|
3
|
-
href?: string;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
onLinkClick?: () => void;
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
style?: React.CSSProperties;
|
|
9
|
-
type?: "button" | "submit" | "reset";
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}
|
|
12
|
-
declare const ElementType: React.ForwardRefExoticComponent<Omit<ElementTypeProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
13
|
-
export { ElementType };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Flex } from ".";
|
|
2
|
-
import { StyleProps, gridSize } from "../";
|
|
3
|
-
export interface EmojiPickerProps extends Omit<React.ComponentProps<typeof Flex>, "onSelect"> {
|
|
4
|
-
onSelect: (emoji: string) => void;
|
|
5
|
-
onClose?: () => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
background?: StyleProps["background"];
|
|
8
|
-
columns?: gridSize;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
declare const EmojiPicker: {
|
|
12
|
-
({ onSelect, onClose, className, background, columns, style, ...flex }: EmojiPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
export { EmojiPicker };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DropdownWrapper } from ".";
|
|
3
|
-
import { StyleProps, gridSize } from "..";
|
|
4
|
-
export interface EmojiPickerDropdownProps extends Omit<React.ComponentProps<typeof DropdownWrapper>, "dropdown"> {
|
|
5
|
-
onSelect: (emoji: string) => void;
|
|
6
|
-
background?: StyleProps["background"];
|
|
7
|
-
columns?: gridSize;
|
|
8
|
-
}
|
|
9
|
-
declare const EmojiPickerDropdown: React.FC<EmojiPickerDropdownProps>;
|
|
10
|
-
export { EmojiPickerDropdown };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
import { ColorScheme, ColorWeight, SpacingToken } from "../types";
|
|
4
|
-
export type BaseColor = `${ColorScheme}-${ColorWeight}` | `${ColorScheme}-alpha-${ColorWeight}` | "surface" | "overlay" | "page" | "transparent";
|
|
5
|
-
interface FadeProps extends React.ComponentProps<typeof Flex> {
|
|
6
|
-
className?: string;
|
|
7
|
-
to?: "bottom" | "top" | "left" | "right";
|
|
8
|
-
base?: BaseColor;
|
|
9
|
-
blur?: number;
|
|
10
|
-
pattern?: {
|
|
11
|
-
display?: boolean;
|
|
12
|
-
size?: SpacingToken;
|
|
13
|
-
};
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
children?: ReactNode;
|
|
16
|
-
}
|
|
17
|
-
declare const Fade: React.ForwardRefExoticComponent<Omit<FadeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export { Fade };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
interface FeedbackProps extends Omit<React.ComponentProps<typeof Flex>, "title"> {
|
|
4
|
-
variant?: "info" | "danger" | "warning" | "success";
|
|
5
|
-
icon?: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
showCloseButton?: boolean;
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
declare const Feedback: React.ForwardRefExoticComponent<Omit<FeedbackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
-
export { Feedback };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FlexProps, StyleProps, SpacingProps, SizeProps, CommonProps, DisplayProps, FlexBreakpointProps } from "../interfaces";
|
|
2
|
-
interface SmartFlexProps extends FlexProps, StyleProps, SpacingProps, SizeProps, CommonProps, DisplayProps {
|
|
3
|
-
xl?: FlexBreakpointProps;
|
|
4
|
-
l?: FlexBreakpointProps;
|
|
5
|
-
m?: FlexBreakpointProps;
|
|
6
|
-
s?: FlexBreakpointProps;
|
|
7
|
-
xs?: FlexBreakpointProps;
|
|
8
|
-
}
|
|
9
|
-
declare const Flex: import("react").ForwardRefExoticComponent<SmartFlexProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export { Flex };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
export interface FlipFxProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
-
flipDirection?: "horizontal" | "vertical";
|
|
5
|
-
timing?: number;
|
|
6
|
-
flipped?: boolean;
|
|
7
|
-
onFlip?: (flipped: boolean) => void;
|
|
8
|
-
disableClickFlip?: boolean;
|
|
9
|
-
autoFlipInterval?: number;
|
|
10
|
-
front: React.ReactNode;
|
|
11
|
-
back: React.ReactNode;
|
|
12
|
-
className?: string;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
}
|
|
15
|
-
declare const FlipFx: React.ForwardRefExoticComponent<Omit<FlipFxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
export { FlipFx };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Flex } from ".";
|
|
3
|
-
interface GlitchFxProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
speed?: "slow" | "medium" | "fast";
|
|
6
|
-
interval?: number;
|
|
7
|
-
trigger?: "instant" | "hover" | "custom";
|
|
8
|
-
continuous?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const GlitchFx: React.ForwardRefExoticComponent<Omit<GlitchFxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export { GlitchFx };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { GridProps, StyleProps, SpacingProps, SizeProps, CommonProps, DisplayProps, GridBreakpointProps } from "../interfaces";
|
|
2
|
-
interface SmartGridProps extends GridProps, StyleProps, SpacingProps, SizeProps, CommonProps, DisplayProps {
|
|
3
|
-
xl?: GridBreakpointProps;
|
|
4
|
-
l?: GridBreakpointProps;
|
|
5
|
-
m?: GridBreakpointProps;
|
|
6
|
-
s?: GridBreakpointProps;
|
|
7
|
-
xs?: GridBreakpointProps;
|
|
8
|
-
}
|
|
9
|
-
declare const Grid: import("react").ForwardRefExoticComponent<SmartGridProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export { Grid };
|