@once-ui-system/core 1.6.4 → 1.7.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.
- package/dist/components/Avatar.d.ts +1 -0
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/BlobFx.d.ts +8 -0
- package/dist/components/BlobFx.d.ts.map +1 -0
- package/dist/components/BlobFx.js +82 -0
- package/dist/components/BlobFx.js.map +1 -0
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Button.module.scss +62 -32
- package/dist/components/ContextMenu.d.ts +1 -0
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu.js +8 -4
- package/dist/components/ContextMenu.js.map +1 -1
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js +27 -5
- package/dist/components/Dialog.js.map +1 -1
- package/dist/components/Dropdown.d.ts +1 -0
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown.js +4 -2
- package/dist/components/Dropdown.js.map +1 -1
- package/dist/components/FadingLettersFx.d.ts +15 -0
- package/dist/components/FadingLettersFx.d.ts.map +1 -0
- package/dist/components/FadingLettersFx.js +27 -0
- package/dist/components/FadingLettersFx.js.map +1 -0
- package/dist/components/FadingLettersFx.module.scss +71 -0
- package/dist/components/IconButton.d.ts +5 -2
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +6 -4
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/IconButton.module.scss +14 -0
- package/dist/components/Input.d.ts +3 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +19 -6
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Input.module.scss +64 -10
- package/dist/components/Media.d.ts +5 -1
- package/dist/components/Media.d.ts.map +1 -1
- package/dist/components/Media.js +20 -7
- package/dist/components/Media.js.map +1 -1
- package/dist/components/Modal.d.ts +11 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/Modal.js +72 -0
- package/dist/components/Modal.js.map +1 -0
- package/dist/components/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput.js +1 -1
- package/dist/components/NumberInput.js.map +1 -1
- package/dist/components/ScrollContainer.d.ts +9 -0
- package/dist/components/ScrollContainer.d.ts.map +1 -0
- package/dist/components/ScrollContainer.js +67 -0
- package/dist/components/ScrollContainer.js.map +1 -0
- package/dist/components/ServerFlex.d.ts.map +1 -1
- package/dist/components/ServerFlex.js +3 -3
- package/dist/components/ServerFlex.js.map +1 -1
- package/dist/components/ServerGrid.d.ts.map +1 -1
- package/dist/components/ServerGrid.js +2 -2
- package/dist/components/ServerGrid.js.map +1 -1
- package/dist/components/SplitView.d.ts +16 -0
- package/dist/components/SplitView.d.ts.map +1 -0
- package/dist/components/SplitView.js +80 -0
- package/dist/components/SplitView.js.map +1 -0
- package/dist/components/SplitView.module.scss +18 -0
- package/dist/components/StylePanel.d.ts.map +1 -1
- package/dist/components/StylePanel.js +10 -10
- package/dist/components/StylePanel.js.map +1 -1
- package/dist/components/TagInput.d.ts +1 -2
- package/dist/components/TagInput.d.ts.map +1 -1
- package/dist/components/TagInput.js.map +1 -1
- package/dist/components/Textarea.d.ts +2 -0
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea.js +18 -8
- package/dist/components/Textarea.js.map +1 -1
- package/dist/components/ThemeInit.d.ts.map +1 -1
- package/dist/components/ThemeInit.js +39 -40
- package/dist/components/ThemeInit.js.map +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline.js +50 -6
- package/dist/components/Timeline.js.map +1 -1
- package/dist/components/ToggleButton.d.ts +2 -1
- package/dist/components/ToggleButton.d.ts.map +1 -1
- package/dist/components/ToggleButton.js +3 -3
- package/dist/components/ToggleButton.js.map +1 -1
- package/dist/components/ToggleButton.module.scss +27 -8
- package/dist/components/TypeFx.d.ts.map +1 -1
- package/dist/components/TypeFx.js +66 -87
- package/dist/components/TypeFx.js.map +1 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +9 -1
- package/dist/components/index.js.map +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/css/styles.css.map +1 -1
- package/dist/css/tokens.css +1 -1
- package/dist/css/tokens.css.map +1 -1
- package/dist/interfaces.d.ts +1 -0
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.d.ts +3 -31
- package/dist/modules/code/CodeBlock.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts +34 -0
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -0
- package/dist/modules/code/CodeBlock.impl.js +487 -0
- package/dist/modules/code/CodeBlock.impl.js.map +1 -0
- package/dist/modules/code/CodeBlock.js +10 -483
- package/dist/modules/code/CodeBlock.js.map +1 -1
- package/dist/modules/data/BarChart.d.ts +1 -8
- package/dist/modules/data/BarChart.d.ts.map +1 -1
- package/dist/modules/data/BarChart.impl.d.ts +12 -0
- package/dist/modules/data/BarChart.impl.d.ts.map +1 -0
- package/dist/modules/data/BarChart.impl.js +137 -0
- package/dist/modules/data/BarChart.impl.js.map +1 -0
- package/dist/modules/data/BarChart.js +9 -132
- package/dist/modules/data/BarChart.js.map +1 -1
- package/dist/modules/data/DataTooltip.d.ts +2 -2
- package/dist/modules/data/DataTooltip.d.ts.map +1 -1
- package/dist/modules/data/Legend.d.ts +1 -1
- package/dist/modules/data/Legend.d.ts.map +1 -1
- package/dist/modules/data/LineBarChart.d.ts +1 -8
- package/dist/modules/data/LineBarChart.d.ts.map +1 -1
- package/dist/modules/data/LineBarChart.impl.d.ts +12 -0
- package/dist/modules/data/LineBarChart.impl.d.ts.map +1 -0
- package/dist/modules/data/LineBarChart.impl.js +142 -0
- package/dist/modules/data/LineBarChart.impl.js.map +1 -0
- package/dist/modules/data/LineBarChart.js +9 -137
- package/dist/modules/data/LineBarChart.js.map +1 -1
- package/dist/modules/data/LineChart.d.ts +1 -13
- package/dist/modules/data/LineChart.d.ts.map +1 -1
- package/dist/modules/data/LineChart.impl.d.ts +17 -0
- package/dist/modules/data/LineChart.impl.d.ts.map +1 -0
- package/dist/modules/data/LineChart.impl.js +148 -0
- package/dist/modules/data/LineChart.impl.js.map +1 -0
- package/dist/modules/data/LineChart.js +9 -143
- package/dist/modules/data/LineChart.js.map +1 -1
- package/dist/modules/data/PieChart.d.ts +4 -16
- package/dist/modules/data/PieChart.d.ts.map +1 -1
- package/dist/modules/data/PieChart.impl.d.ts +18 -0
- package/dist/modules/data/PieChart.impl.d.ts.map +1 -0
- package/dist/modules/data/PieChart.impl.js +102 -0
- package/dist/modules/data/PieChart.impl.js.map +1 -0
- package/dist/modules/data/PieChart.js +11 -97
- package/dist/modules/data/PieChart.js.map +1 -1
- package/dist/modules/media/MediaUpload.d.ts +2 -20
- package/dist/modules/media/MediaUpload.d.ts.map +1 -1
- package/dist/modules/media/MediaUpload.impl.d.ts +24 -0
- package/dist/modules/media/MediaUpload.impl.d.ts.map +1 -0
- package/dist/modules/media/MediaUpload.impl.js +92 -0
- package/dist/modules/media/MediaUpload.impl.js.map +1 -0
- package/dist/modules/media/MediaUpload.js +10 -88
- package/dist/modules/media/MediaUpload.js.map +1 -1
- package/dist/modules/navigation/Kbar.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.js +1 -1
- package/dist/modules/navigation/Kbar.js.map +1 -1
- package/dist/package.json +17 -6
- package/dist/src/__tests__/Dialog.test.d.ts +1 -0
- package/dist/src/components/Accordion.d.ts +21 -0
- package/dist/src/components/AccordionGroup.d.ts +15 -0
- package/dist/src/components/Animation.d.ts +33 -0
- package/dist/src/components/Arrow.d.ts +10 -0
- package/dist/src/components/ArrowNavigationContext.d.ts +32 -0
- package/dist/src/components/AutoScroll.d.ts +13 -0
- package/dist/src/components/Avatar.d.ts +20 -0
- package/dist/src/components/AvatarGroup.d.ts +13 -0
- package/dist/src/components/Background.d.ts +48 -0
- package/dist/src/components/Badge.d.ts +16 -0
- package/dist/src/components/Banner.d.ts +5 -0
- package/dist/src/components/BlobFx.d.ts +7 -0
- package/dist/src/components/BlockQuote.d.ts +20 -0
- package/dist/src/components/Button.d.ts +26 -0
- package/dist/src/components/Card.d.ts +12 -0
- package/dist/src/components/Carousel.d.ts +31 -0
- package/dist/src/components/CelebrationFx.d.ts +16 -0
- package/dist/src/components/Checkbox.d.ts +10 -0
- package/dist/src/components/Chip.d.ts +16 -0
- package/dist/src/components/ClientFlex.d.ts +12 -0
- package/dist/src/components/ClientGrid.d.ts +12 -0
- package/dist/src/components/ColorInput.d.ts +10 -0
- package/dist/src/components/Column.d.ts +6 -0
- package/dist/src/components/CompareImage.d.ts +15 -0
- package/dist/src/components/ContextMenu.d.ts +21 -0
- package/dist/src/components/CountFx.d.ts +14 -0
- package/dist/src/components/CountdownFx.d.ts +10 -0
- package/dist/src/components/Cursor.d.ts +7 -0
- package/dist/src/components/CursorCard.d.ts +12 -0
- package/dist/src/components/DateInput.d.ts +17 -0
- package/dist/src/components/DatePicker.d.ts +32 -0
- package/dist/src/components/DateRangeInput.d.ts +14 -0
- package/dist/src/components/DateRangePicker.d.ts +16 -0
- package/dist/src/components/Dialog.d.ts +19 -0
- package/dist/src/components/Dropdown.d.ts +12 -0
- package/dist/src/components/DropdownWrapper.d.ts +28 -0
- package/dist/src/components/ElementType.d.ts +13 -0
- package/dist/src/components/EmojiPicker.d.ts +15 -0
- package/dist/src/components/EmojiPickerDropdown.d.ts +10 -0
- package/dist/src/components/Fade.d.ts +18 -0
- package/dist/src/components/Feedback.d.ts +15 -0
- package/dist/src/components/Flex.d.ts +10 -0
- package/dist/src/components/FlipFx.d.ts +16 -0
- package/dist/src/components/GlitchFx.d.ts +11 -0
- package/dist/src/components/Grid.d.ts +10 -0
- package/dist/src/components/HoloFx.d.ts +31 -0
- package/dist/src/components/Hover.d.ts +13 -0
- package/dist/src/components/HoverCard.d.ts +4 -0
- package/dist/src/components/Icon.d.ts +17 -0
- package/dist/src/components/IconButton.d.ts +22 -0
- package/dist/src/components/InfiniteScroll.d.ts +15 -0
- package/dist/src/components/InlineCode.d.ts +9 -0
- package/dist/src/components/Input.d.ts +23 -0
- package/dist/src/components/InteractiveDetails.d.ts +14 -0
- package/dist/src/components/Kbd.d.ts +11 -0
- package/dist/src/components/Line.d.ts +8 -0
- package/dist/src/components/List.d.ts +10 -0
- package/dist/src/components/ListItem.d.ts +9 -0
- package/dist/src/components/Logo.d.ts +17 -0
- package/dist/src/components/LogoCloud.d.ts +13 -0
- package/dist/src/components/Mask.d.ts +14 -0
- package/dist/src/components/MasonryGrid.d.ts +21 -0
- package/dist/src/components/MatrixFx.d.ts +26 -0
- package/dist/src/components/Media.d.ts +25 -0
- package/dist/src/components/Modal.d.ts +10 -0
- package/dist/src/components/NavIcon.d.ts +10 -0
- package/dist/src/components/NumberInput.d.ts +12 -0
- package/dist/src/components/OTPInput.d.ts +12 -0
- package/dist/src/components/OgCard.d.ts +33 -0
- package/dist/src/components/Option.d.ts +20 -0
- package/dist/src/components/Particle.d.ts +20 -0
- package/dist/src/components/PasswordInput.d.ts +3 -0
- package/dist/src/components/ProgressBar.d.ts +14 -0
- package/dist/src/components/Pulse.d.ts +12 -0
- package/dist/src/components/RadioButton.d.ts +14 -0
- package/dist/src/components/RevealFx.d.ts +15 -0
- package/dist/src/components/Row.d.ts +6 -0
- package/dist/src/components/ScrollContainer.d.ts +8 -0
- package/dist/src/components/ScrollLock.integration.test.d.ts +1 -0
- package/dist/src/components/ScrollToTop.d.ts +6 -0
- package/dist/src/components/Scroller.d.ts +13 -0
- package/dist/src/components/SegmentedControl.d.ts +17 -0
- package/dist/src/components/Select.d.ts +18 -0
- package/dist/src/components/ShineFx.d.ts +12 -0
- package/dist/src/components/Skeleton.d.ts +12 -0
- package/dist/src/components/Slider.d.ts +16 -0
- package/dist/src/components/SmartLink.d.ts +17 -0
- package/dist/src/components/Spinner.d.ts +10 -0
- package/dist/src/components/SplitView.d.ts +15 -0
- package/dist/src/components/SplitView.js +79 -0
- package/dist/src/components/StatusIndicator.d.ts +11 -0
- package/dist/src/components/StyleOverlay.d.ts +9 -0
- package/dist/src/components/StylePanel.d.ts +7 -0
- package/dist/src/components/Swiper.d.ts +16 -0
- package/dist/src/components/Switch.d.ts +16 -0
- package/dist/src/components/Table.d.ts +15 -0
- package/dist/src/components/Tag.d.ts +15 -0
- package/dist/src/components/TagInput.d.ts +8 -0
- package/dist/src/components/Textarea.d.ts +22 -0
- package/dist/src/components/ThemeSwitcher.d.ts +3 -0
- package/dist/src/components/TiltFx.d.ts +9 -0
- package/dist/src/components/Timeline.d.ts +17 -0
- package/dist/src/components/Toast.d.ts +11 -0
- package/dist/src/components/Toaster.d.ts +12 -0
- package/dist/src/components/ToggleButton.d.ts +23 -0
- package/dist/src/components/Tooltip.d.ts +12 -0
- package/dist/src/components/TypeFx.d.ts +14 -0
- package/dist/src/components/User.d.ts +15 -0
- package/dist/src/components/UserMenu.d.ts +12 -0
- package/dist/src/components/WeatherFx.d.ts +17 -0
- package/dist/src/components/index.d.ts +120 -0
- package/dist/src/contexts/DataThemeProvider.d.ts +25 -0
- package/dist/src/contexts/ThemeProvider.d.ts +48 -0
- package/dist/src/contexts/ToastProvider.d.ts +17 -0
- package/dist/src/contexts/index.d.ts +5 -0
- package/dist/src/data/emoji-data.json +16062 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/modules/code/CodeBlock.d.ts +5 -0
- package/dist/src/modules/code/CodeBlock.impl.d.ts +33 -0
- package/dist/src/modules/data/BarChart.d.ts +5 -0
- package/dist/src/modules/data/BarChart.impl.d.ts +11 -0
- package/dist/src/modules/data/ChartHeader.d.ts +13 -0
- package/dist/src/modules/data/ChartStatus.d.ts +9 -0
- package/dist/src/modules/data/DataTooltip.d.ts +15 -0
- package/dist/src/modules/data/Gradient.d.ts +31 -0
- package/dist/src/modules/data/Legend.d.ts +14 -0
- package/dist/src/modules/data/LineBarChart.d.ts +5 -0
- package/dist/src/modules/data/LineBarChart.impl.d.ts +11 -0
- package/dist/src/modules/data/LineChart.d.ts +5 -0
- package/dist/src/modules/data/LineChart.impl.d.ts +16 -0
- package/dist/src/modules/data/LinearGauge.d.ts +17 -0
- package/dist/src/modules/data/PieChart.d.ts +5 -0
- package/dist/src/modules/data/PieChart.impl.d.ts +17 -0
- package/dist/src/modules/data/RadialGauge.d.ts +24 -0
- package/dist/src/modules/data/Swatch.d.ts +8 -0
- package/dist/src/modules/data/index.d.ts +13 -0
- package/dist/src/modules/data/interfaces.d.ts +52 -0
- package/dist/src/modules/data/utils/formatDate.d.ts +11 -0
- package/dist/src/modules/index.d.ts +7 -0
- package/dist/src/modules/media/MediaUpload.d.ts +5 -0
- package/dist/src/modules/media/MediaUpload.impl.d.ts +23 -0
- package/dist/src/modules/navigation/HeadingLink.d.ts +10 -0
- package/dist/src/modules/navigation/HeadingNav.d.ts +7 -0
- package/dist/src/modules/navigation/Kbar.d.ts +33 -0
- package/dist/src/modules/navigation/MegaMenu.d.ts +27 -0
- package/dist/src/modules/navigation/MobileMegaMenu.d.ts +27 -0
- package/dist/src/modules/navigation/index.d.ts +5 -0
- package/dist/src/utils/MissingDependency.d.ts +6 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/styles/size.scss +20 -0
- package/dist/test/dialogTestUtils.d.ts +2 -0
- package/dist/test/dialogTestUtils.d.ts.map +1 -0
- package/dist/test/dialogTestUtils.js +12 -0
- package/dist/test/dialogTestUtils.js.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/test/setup.js +59 -0
- package/dist/test/setup.js.map +1 -0
- package/dist/tokens/layout.scss +5 -0
- package/dist/utils/MissingDependency.d.ts +7 -0
- package/dist/utils/MissingDependency.d.ts.map +1 -0
- package/dist/utils/MissingDependency.js +6 -0
- package/dist/utils/MissingDependency.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +35 -13
- package/tsconfig.vitest.json +20 -0
- package/vitest.config.ts +19 -0
|
@@ -0,0 +1,32 @@
|
|
|
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 };
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 };
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
}
|
|
15
|
+
export declare const DialogProvider: React.FC<{
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
}>;
|
|
18
|
+
declare const Dialog: React.FC<DialogProps>;
|
|
19
|
+
export { Dialog };
|
|
@@ -0,0 +1,12 @@
|
|
|
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 };
|
|
@@ -0,0 +1,28 @@
|
|
|
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 };
|
|
@@ -0,0 +1,13 @@
|
|
|
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 };
|
|
@@ -0,0 +1,15 @@
|
|
|
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 };
|
|
@@ -0,0 +1,10 @@
|
|
|
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 };
|
|
@@ -0,0 +1,18 @@
|
|
|
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 };
|
|
@@ -0,0 +1,15 @@
|
|
|
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 };
|
|
@@ -0,0 +1,10 @@
|
|
|
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 };
|
|
@@ -0,0 +1,16 @@
|
|
|
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 };
|
|
@@ -0,0 +1,11 @@
|
|
|
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 };
|
|
@@ -0,0 +1,10 @@
|
|
|
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 };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
import { CSSProperties } from "react";
|
|
4
|
+
interface MaskOptions {
|
|
5
|
+
maskPosition?: string;
|
|
6
|
+
}
|
|
7
|
+
interface HoloFxProps extends React.ComponentProps<typeof Flex> {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
reducedMotion?: boolean | "auto";
|
|
10
|
+
shine?: {
|
|
11
|
+
opacity?: number;
|
|
12
|
+
filter?: string;
|
|
13
|
+
blending?: CSSProperties["mixBlendMode"];
|
|
14
|
+
mask?: MaskOptions;
|
|
15
|
+
};
|
|
16
|
+
burn?: {
|
|
17
|
+
opacity?: number;
|
|
18
|
+
filter?: string;
|
|
19
|
+
blending?: CSSProperties["mixBlendMode"];
|
|
20
|
+
mask?: MaskOptions;
|
|
21
|
+
};
|
|
22
|
+
texture?: {
|
|
23
|
+
opacity?: number;
|
|
24
|
+
filter?: string;
|
|
25
|
+
blending?: CSSProperties["mixBlendMode"];
|
|
26
|
+
image?: string;
|
|
27
|
+
mask?: MaskOptions;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
declare const HoloFx: React.FC<HoloFxProps>;
|
|
31
|
+
export { HoloFx };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
export interface HoverProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
trigger: ReactNode;
|
|
5
|
+
overlay: ReactNode;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
delay?: number;
|
|
8
|
+
hideDelay?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
touch?: "disable" | "enable" | "display";
|
|
11
|
+
}
|
|
12
|
+
declare const Hover: React.ForwardRefExoticComponent<Omit<HoverProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export { Hover };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AnimationProps } from ".";
|
|
2
|
+
type HoverCardProps = Omit<AnimationProps, 'triggerType' | 'portal'>;
|
|
3
|
+
declare const HoverCard: import("react").ForwardRefExoticComponent<Omit<HoverCardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { HoverCard };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { IconName } from "../icons";
|
|
3
|
+
import { ColorScheme, ColorWeight } from "../types";
|
|
4
|
+
import { Flex } from ".";
|
|
5
|
+
interface IconProps extends React.ComponentProps<typeof Flex> {
|
|
6
|
+
name: IconName;
|
|
7
|
+
onBackground?: `${ColorScheme}-${ColorWeight}`;
|
|
8
|
+
onSolid?: `${ColorScheme}-${ColorWeight}`;
|
|
9
|
+
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
10
|
+
decorative?: boolean;
|
|
11
|
+
tooltip?: ReactNode;
|
|
12
|
+
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
export { Icon };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { IconName } from "../icons";
|
|
3
|
+
interface CommonProps {
|
|
4
|
+
icon?: IconName;
|
|
5
|
+
id?: string;
|
|
6
|
+
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
7
|
+
radius?: "none" | "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
|
8
|
+
rounded?: boolean;
|
|
9
|
+
tooltip?: ReactNode;
|
|
10
|
+
tooltipPosition?: "top" | "bottom" | "left" | "right";
|
|
11
|
+
variant?: "primary" | "secondary" | "tertiary" | "danger" | "ghost";
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
href?: string;
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export type IconButtonProps = CommonProps & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
20
|
+
type AnchorProps = CommonProps & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
21
|
+
declare const IconButton: React.ForwardRefExoticComponent<(IconButtonProps | AnchorProps) & React.RefAttributes<HTMLButtonElement>>;
|
|
22
|
+
export { IconButton };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Row } from ".";
|
|
3
|
+
export interface InfiniteScrollProps<T> extends React.ComponentProps<typeof Row> {
|
|
4
|
+
items: T[];
|
|
5
|
+
renderItem: (item: T, index: number) => ReactNode;
|
|
6
|
+
loadMore: () => Promise<boolean>;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
threshold?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function InfiniteScroll<T>({ items, renderItem, loadMore, loading, threshold, ...flex }: InfiniteScrollProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare namespace InfiniteScroll {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
export { InfiniteScroll };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
interface InlineCodeProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
declare const InlineCode: React.ForwardRefExoticComponent<Omit<InlineCodeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export { InlineCode };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { InputHTMLAttributes, ReactNode } from "react";
|
|
2
|
+
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
id: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
height?: "xs" | "s" | "m" | "l" | "xl";
|
|
7
|
+
error?: boolean;
|
|
8
|
+
errorMessage?: ReactNode;
|
|
9
|
+
description?: ReactNode;
|
|
10
|
+
radius?: "none" | "top" | "right" | "bottom" | "left" | "top-left" | "top-right" | "bottom-right" | "bottom-left";
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
hasPrefix?: ReactNode;
|
|
14
|
+
hasSuffix?: ReactNode;
|
|
15
|
+
variant?: "default" | "ghost";
|
|
16
|
+
characterCount?: boolean;
|
|
17
|
+
cursor?: undefined | "interactive";
|
|
18
|
+
validate?: (value: ReactNode) => ReactNode | null;
|
|
19
|
+
loading?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
+
export { Input };
|
|
23
|
+
export type { InputProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconButtonProps } from ".";
|
|
3
|
+
interface InteractiveDetailsProps {
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
description?: React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
iconButtonProps?: IconButtonProps;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const InteractiveDetails: React.FC<InteractiveDetailsProps>;
|
|
13
|
+
export { InteractiveDetails };
|
|
14
|
+
export type { InteractiveDetailsProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
interface KbdProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
label?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
declare const Kbd: React.ForwardRefExoticComponent<Omit<KbdProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { Kbd };
|
|
11
|
+
export type { KbdProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
interface LineProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
vert?: boolean;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
declare const Line: React.ForwardRefExoticComponent<Omit<LineProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export { Line };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Column } from ".";
|
|
3
|
+
interface ListProps extends React.ComponentProps<typeof Column> {
|
|
4
|
+
as?: "ul" | "ol";
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
declare const List: React.ForwardRefExoticComponent<Omit<ListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { List };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Text } from ".";
|
|
3
|
+
interface ListItemProps extends React.ComponentProps<typeof Text> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
declare const ListItem: React.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
+
export { ListItem };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LogoProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
3
|
+
className?: string;
|
|
4
|
+
size?: "xs" | "s" | "m" | "l" | "xl";
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
icon?: string;
|
|
7
|
+
wordmark?: string;
|
|
8
|
+
href?: string;
|
|
9
|
+
dark?: boolean;
|
|
10
|
+
light?: boolean;
|
|
11
|
+
brand?: {
|
|
12
|
+
copy?: boolean;
|
|
13
|
+
url?: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
declare const Logo: React.FC<LogoProps>;
|
|
17
|
+
export { Logo };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Grid, Logo } from ".";
|
|
3
|
+
import type { ComponentProps } from "react";
|
|
4
|
+
type LogoProps = ComponentProps<typeof Logo>;
|
|
5
|
+
interface LogoCloudProps extends React.ComponentProps<typeof Grid> {
|
|
6
|
+
logos: LogoProps[];
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
limit?: number;
|
|
10
|
+
rotationInterval?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const LogoCloud: React.ForwardRefExoticComponent<Omit<LogoCloudProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export { LogoCloud };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
export interface MaskProps extends Omit<React.ComponentProps<typeof Flex>, "radius" | "cursor"> {
|
|
4
|
+
cursor?: boolean;
|
|
5
|
+
x?: number;
|
|
6
|
+
y?: number;
|
|
7
|
+
radius?: number;
|
|
8
|
+
reducedMotion?: boolean | "auto";
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Mask: React.ForwardRefExoticComponent<Omit<MaskProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export { Mask };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { CSSProperties, ReactNode } from "react";
|
|
3
|
+
import { SpacingToken } from "../types";
|
|
4
|
+
import { Flex } from "./Flex";
|
|
5
|
+
interface MasonryBreakpointProps {
|
|
6
|
+
columns?: number;
|
|
7
|
+
hide?: boolean;
|
|
8
|
+
}
|
|
9
|
+
interface MasonryGridProps extends Omit<React.ComponentProps<typeof Flex>, 'l' | 'm' | 's' | 'xs'> {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
gap?: SpacingToken | "-1" | undefined;
|
|
12
|
+
columns?: number;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
l?: MasonryBreakpointProps;
|
|
16
|
+
m?: MasonryBreakpointProps;
|
|
17
|
+
s?: MasonryBreakpointProps;
|
|
18
|
+
xs?: MasonryBreakpointProps;
|
|
19
|
+
}
|
|
20
|
+
declare const MasonryGrid: React.ForwardRefExoticComponent<Omit<MasonryGridProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export { MasonryGrid };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
interface BulgeConfig {
|
|
4
|
+
type?: "ripple" | "wave";
|
|
5
|
+
duration?: number;
|
|
6
|
+
intensity?: number;
|
|
7
|
+
repeat?: boolean;
|
|
8
|
+
delay?: number;
|
|
9
|
+
}
|
|
10
|
+
interface MatrixFxProps extends React.ComponentProps<typeof Flex> {
|
|
11
|
+
speed?: number;
|
|
12
|
+
colors?: string[];
|
|
13
|
+
size?: number;
|
|
14
|
+
spacing?: number;
|
|
15
|
+
revealFrom?: "center" | "top" | "bottom" | "left" | "right";
|
|
16
|
+
trigger?: "hover" | "instant" | "mount" | "click" | "manual";
|
|
17
|
+
active?: boolean;
|
|
18
|
+
flicker?: boolean;
|
|
19
|
+
bulge?: BulgeConfig;
|
|
20
|
+
fps?: number;
|
|
21
|
+
reducedMotion?: boolean | "auto";
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
declare const MatrixFx: React.ForwardRefExoticComponent<Omit<MatrixFxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export { MatrixFx };
|
|
26
|
+
export type { BulgeConfig };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
export interface MediaProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
aspectRatio?: string;
|
|
5
|
+
height?: number;
|
|
6
|
+
alt?: string;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
objectFit?: CSSProperties["objectFit"];
|
|
9
|
+
enlarge?: boolean;
|
|
10
|
+
src: string;
|
|
11
|
+
unoptimized?: boolean;
|
|
12
|
+
sizes?: string | number;
|
|
13
|
+
priority?: boolean;
|
|
14
|
+
caption?: ReactNode;
|
|
15
|
+
fill?: boolean;
|
|
16
|
+
fillWidth?: boolean;
|
|
17
|
+
loop?: boolean;
|
|
18
|
+
autoplay?: boolean;
|
|
19
|
+
sound?: boolean;
|
|
20
|
+
controls?: boolean;
|
|
21
|
+
style?: CSSProperties;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const Media: React.FC<MediaProps>;
|
|
25
|
+
export { Media };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from ".";
|
|
3
|
+
interface NavIconProps extends React.ComponentProps<typeof Flex> {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const NavIcon: React.ForwardRefExoticComponent<Omit<Partial<NavIconProps>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export { NavIcon };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Input } from ".";
|
|
3
|
+
interface NumberInputProps extends Omit<React.ComponentProps<typeof Input>, "type" | "value" | "onChange"> {
|
|
4
|
+
value?: number;
|
|
5
|
+
onChange?: (value: number) => void;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
padStart?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const NumberInput: React.ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
12
|
+
export { NumberInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface OTPInputProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
length?: number;
|
|
4
|
+
onComplete?: (code: string) => void;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
errorMessage?: React.ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
autoFocus?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const OTPInput: React.ForwardRefExoticComponent<OTPInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export { OTPInput };
|
|
12
|
+
export type { OTPInputProps };
|