@moul-dev/ui 2026.8.17
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/LICENSE +21 -0
- package/README.md +149 -0
- package/dist/assets/stylex.css +2391 -0
- package/dist/favicon.svg +20 -0
- package/dist/icons.svg +24 -0
- package/dist/moul-ui.js +6662 -0
- package/dist/src/App.d.ts +2 -0
- package/dist/src/components/Alert/Alert.d.ts +14 -0
- package/dist/src/components/Alert/Alert.styles.d.ts +188 -0
- package/dist/src/components/Alert/index.d.ts +2 -0
- package/dist/src/components/AlertDialog/AlertDialog.d.ts +23 -0
- package/dist/src/components/AlertDialog/AlertDialog.styles.d.ts +35 -0
- package/dist/src/components/AlertDialog/index.d.ts +1 -0
- package/dist/src/components/AreaChart/AreaChart.d.ts +21 -0
- package/dist/src/components/AreaChart/AreaChart.styles.d.ts +7 -0
- package/dist/src/components/AreaChart/index.d.ts +2 -0
- package/dist/src/components/Avatar/Avatar.d.ts +10 -0
- package/dist/src/components/Avatar/Avatar.styles.d.ts +31 -0
- package/dist/src/components/Avatar/index.d.ts +2 -0
- package/dist/src/components/Badge/Badge.d.ts +9 -0
- package/dist/src/components/Badge/Badge.styles.d.ts +35 -0
- package/dist/src/components/Badge/index.d.ts +2 -0
- package/dist/src/components/BarChart/BarChart.d.ts +16 -0
- package/dist/src/components/BarChart/BarChart.styles.d.ts +7 -0
- package/dist/src/components/BarChart/index.d.ts +2 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +16 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.styles.d.ts +34 -0
- package/dist/src/components/Breadcrumbs/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +10 -0
- package/dist/src/components/Button/Button.styles.d.ts +148 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.d.ts +7 -0
- package/dist/src/components/ButtonGroup/ButtonGroup.styles.d.ts +9 -0
- package/dist/src/components/ButtonGroup/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +19 -0
- package/dist/src/components/Card/Card.styles.d.ts +185 -0
- package/dist/src/components/Card/CardBody.d.ts +7 -0
- package/dist/src/components/Card/CardFooter.d.ts +7 -0
- package/dist/src/components/Card/CardHeader.d.ts +7 -0
- package/dist/src/components/Card/index.d.ts +8 -0
- package/dist/src/components/ChartCommon.d.ts +1 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts +21 -0
- package/dist/src/components/ChartContainer/ChartContainer.styles.d.ts +124 -0
- package/dist/src/components/ChartContainer/index.d.ts +2 -0
- package/dist/src/components/ChartTooltip/ChartTooltip.d.ts +8 -0
- package/dist/src/components/ChartTooltip/ChartTooltip.styles.d.ts +61 -0
- package/dist/src/components/ChartTooltip/index.d.ts +2 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/src/components/Checkbox/Checkbox.styles.d.ts +94 -0
- package/dist/src/components/Checkbox/context.d.ts +5 -0
- package/dist/src/components/Checkbox/index.d.ts +2 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +13 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.styles.d.ts +18 -0
- package/dist/src/components/CheckboxGroup/index.d.ts +2 -0
- package/dist/src/components/ComboBox/ComboBox.d.ts +25 -0
- package/dist/src/components/ComboBox/ComboBox.styles.d.ts +223 -0
- package/dist/src/components/ComboBox/index.d.ts +2 -0
- package/dist/src/components/Description/Description.d.ts +8 -0
- package/dist/src/components/Description/Description.styles.d.ts +9 -0
- package/dist/src/components/Description/index.d.ts +2 -0
- package/dist/src/components/DoughnutChart/DoughnutChart.d.ts +15 -0
- package/dist/src/components/DoughnutChart/DoughnutChart.styles.d.ts +10 -0
- package/dist/src/components/DoughnutChart/index.d.ts +2 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +7 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.styles.d.ts +9 -0
- package/dist/src/components/ErrorMessage/index.d.ts +2 -0
- package/dist/src/components/FieldError/FieldError.d.ts +9 -0
- package/dist/src/components/FieldError/FieldError.styles.d.ts +9 -0
- package/dist/src/components/FieldError/index.d.ts +2 -0
- package/dist/src/components/Form/Form.d.ts +8 -0
- package/dist/src/components/Form/Form.styles.d.ts +3 -0
- package/dist/src/components/Form/index.d.ts +2 -0
- package/dist/src/components/InputOTP/InputOTP.d.ts +25 -0
- package/dist/src/components/InputOTP/InputOTP.styles.d.ts +113 -0
- package/dist/src/components/InputOTP/index.d.ts +3 -0
- package/dist/src/components/Kbd/Kbd.d.ts +7 -0
- package/dist/src/components/Kbd/Kbd.styles.d.ts +20 -0
- package/dist/src/components/Kbd/index.d.ts +2 -0
- package/dist/src/components/Label/Label.d.ts +8 -0
- package/dist/src/components/Label/Label.styles.d.ts +10 -0
- package/dist/src/components/Label/index.d.ts +2 -0
- package/dist/src/components/LineChart/LineChart.d.ts +15 -0
- package/dist/src/components/LineChart/LineChart.styles.d.ts +7 -0
- package/dist/src/components/LineChart/index.d.ts +2 -0
- package/dist/src/components/Link/Link.d.ts +9 -0
- package/dist/src/components/Link/Link.styles.d.ts +92 -0
- package/dist/src/components/Link/index.d.ts +2 -0
- package/dist/src/components/Modal/Modal.d.ts +34 -0
- package/dist/src/components/Modal/Modal.styles.d.ts +91 -0
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/NumberField/NumberField.d.ts +14 -0
- package/dist/src/components/NumberField/NumberField.styles.d.ts +147 -0
- package/dist/src/components/NumberField/index.d.ts +2 -0
- package/dist/src/components/Percentage/Percentage.styles.d.ts +70 -0
- package/dist/src/components/Percentage/PercentageBar.d.ts +11 -0
- package/dist/src/components/Percentage/PercentageCircle.d.ts +12 -0
- package/dist/src/components/Percentage/index.d.ts +4 -0
- package/dist/src/components/Popover/Popover.d.ts +15 -0
- package/dist/src/components/Popover/Popover.styles.d.ts +22 -0
- package/dist/src/components/Popover/index.d.ts +1 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +16 -0
- package/dist/src/components/RadioGroup/RadioGroup.styles.d.ts +75 -0
- package/dist/src/components/RadioGroup/index.d.ts +2 -0
- package/dist/src/components/SearchField/SearchField.d.ts +14 -0
- package/dist/src/components/SearchField/SearchField.styles.d.ts +147 -0
- package/dist/src/components/SearchField/index.d.ts +2 -0
- package/dist/src/components/Select/Select.d.ts +30 -0
- package/dist/src/components/Select/Select.styles.d.ts +171 -0
- package/dist/src/components/Select/index.d.ts +2 -0
- package/dist/src/components/Separator/Separator.d.ts +8 -0
- package/dist/src/components/Separator/Separator.styles.d.ts +20 -0
- package/dist/src/components/Separator/index.d.ts +2 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +77 -0
- package/dist/src/components/Sidebar/Sidebar.styles.d.ts +326 -0
- package/dist/src/components/Sidebar/index.d.ts +2 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +7 -0
- package/dist/src/components/Skeleton/Skeleton.styles.d.ts +17 -0
- package/dist/src/components/Skeleton/index.d.ts +2 -0
- package/dist/src/components/Slider/Slider.d.ts +21 -0
- package/dist/src/components/Slider/Slider.styles.d.ts +78 -0
- package/dist/src/components/Slider/index.d.ts +2 -0
- package/dist/src/components/Spinner/Spinner.d.ts +9 -0
- package/dist/src/components/Spinner/Spinner.styles.d.ts +20 -0
- package/dist/src/components/Spinner/index.d.ts +2 -0
- package/dist/src/components/Stat/Stat.d.ts +15 -0
- package/dist/src/components/Stat/Stat.styles.d.ts +115 -0
- package/dist/src/components/Stat/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +8 -0
- package/dist/src/components/Switch/Switch.styles.d.ts +66 -0
- package/dist/src/components/Switch/index.d.ts +2 -0
- package/dist/src/components/Table/Table.d.ts +33 -0
- package/dist/src/components/Table/Table.styles.d.ts +77 -0
- package/dist/src/components/Table/index.d.ts +2 -0
- package/dist/src/components/Tabs/Tabs.d.ts +29 -0
- package/dist/src/components/Tabs/Tabs.styles.d.ts +186 -0
- package/dist/src/components/Tabs/index.d.ts +2 -0
- package/dist/src/components/TagGroup/TagGroup.d.ts +27 -0
- package/dist/src/components/TagGroup/TagGroup.styles.d.ts +199 -0
- package/dist/src/components/TagGroup/index.d.ts +2 -0
- package/dist/src/components/TextArea/TextArea.d.ts +14 -0
- package/dist/src/components/TextArea/TextArea.styles.d.ts +63 -0
- package/dist/src/components/TextArea/index.d.ts +2 -0
- package/dist/src/components/TextField/TextField.d.ts +15 -0
- package/dist/src/components/TextField/TextField.styles.d.ts +80 -0
- package/dist/src/components/TextField/index.d.ts +2 -0
- package/dist/src/components/Toast/Toast.d.ts +28 -0
- package/dist/src/components/Toast/Toast.styles.d.ts +29 -0
- package/dist/src/components/Toast/index.d.ts +1 -0
- package/dist/src/components/ToggleButton/ToggleButton.d.ts +11 -0
- package/dist/src/components/ToggleButton/ToggleButton.styles.d.ts +223 -0
- package/dist/src/components/ToggleButton/index.d.ts +2 -0
- package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +10 -0
- package/dist/src/components/ToggleButtonGroup/ToggleButtonGroup.styles.d.ts +36 -0
- package/dist/src/components/ToggleButtonGroup/context.d.ts +8 -0
- package/dist/src/components/ToggleButtonGroup/index.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +19 -0
- package/dist/src/components/Tooltip/Tooltip.styles.d.ts +26 -0
- package/dist/src/components/Tooltip/index.d.ts +1 -0
- package/dist/src/components/TopList/TopList.d.ts +17 -0
- package/dist/src/components/TopList/TopList.styles.d.ts +43 -0
- package/dist/src/components/TopList/index.d.ts +2 -0
- package/dist/src/components/Typography/Typography.d.ts +26 -0
- package/dist/src/components/Typography/Typography.styles.d.ts +53 -0
- package/dist/src/components/Typography/index.d.ts +2 -0
- package/dist/src/index.d.ts +102 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/theme/ThemeProvider.d.ts +17 -0
- package/dist/src/tokens/tokens.stylex.d.ts +121 -0
- package/dist/src/utils/mergeProps.d.ts +1 -0
- package/dist/src/utils/warnMissingLabel.d.ts +16 -0
- package/package.json +94 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
5
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
6
|
+
}>;
|
|
7
|
+
readonly horizontal: Readonly<{
|
|
8
|
+
readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", string>;
|
|
9
|
+
readonly borderBlockStartStyle: stylex.StyleXClassNameFor<"borderBlockStartStyle", "solid">;
|
|
10
|
+
readonly borderBlockStartWidth: stylex.StyleXClassNameFor<"borderBlockStartWidth", "1px">;
|
|
11
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
12
|
+
}>;
|
|
13
|
+
readonly vertical: Readonly<{
|
|
14
|
+
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "stretch">;
|
|
15
|
+
readonly borderInlineStartColor: stylex.StyleXClassNameFor<"borderInlineStartColor", string>;
|
|
16
|
+
readonly borderInlineStartStyle: stylex.StyleXClassNameFor<"borderInlineStartStyle", "solid">;
|
|
17
|
+
readonly borderInlineStartWidth: stylex.StyleXClassNameFor<"borderInlineStartWidth", "1px">;
|
|
18
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { LinkProps as AriaLinkProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface SidebarContextValue {
|
|
5
|
+
isCollapsed: boolean;
|
|
6
|
+
selectedKey?: string;
|
|
7
|
+
onSelectionChange?: (key: string) => void;
|
|
8
|
+
variant: 'solid' | 'glass';
|
|
9
|
+
onCollapseToggle: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function useSidebar(): SidebarContextValue;
|
|
12
|
+
export interface SidebarProps {
|
|
13
|
+
isCollapsed?: boolean;
|
|
14
|
+
defaultCollapsed?: boolean;
|
|
15
|
+
onCollapseChange?: (collapsed: boolean) => void;
|
|
16
|
+
selectedKey?: string;
|
|
17
|
+
defaultSelectedKey?: string;
|
|
18
|
+
onSelectionChange?: (key: string) => void;
|
|
19
|
+
variant?: 'solid' | 'glass';
|
|
20
|
+
showCollapseToggle?: boolean;
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
className?: string;
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
}
|
|
25
|
+
export declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export interface SidebarHeaderProps {
|
|
27
|
+
style?: StyleXStyles;
|
|
28
|
+
className?: string;
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export declare const SidebarHeader: React.ForwardRefExoticComponent<SidebarHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
export interface SidebarGroupProps {
|
|
33
|
+
title?: string;
|
|
34
|
+
collapsible?: boolean;
|
|
35
|
+
defaultExpanded?: boolean;
|
|
36
|
+
isExpanded?: boolean;
|
|
37
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
38
|
+
style?: StyleXStyles;
|
|
39
|
+
className?: string;
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
}
|
|
42
|
+
export declare const SidebarGroup: React.ForwardRefExoticComponent<SidebarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export interface SidebarItemProps extends Omit<AriaLinkProps, 'style' | 'className' | 'children'> {
|
|
44
|
+
id?: string;
|
|
45
|
+
icon?: React.ReactNode;
|
|
46
|
+
isSelected?: boolean;
|
|
47
|
+
style?: StyleXStyles;
|
|
48
|
+
className?: string;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
52
|
+
export interface SidebarFooterProps {
|
|
53
|
+
showBorder?: boolean;
|
|
54
|
+
style?: StyleXStyles;
|
|
55
|
+
className?: string;
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
}
|
|
58
|
+
export declare const SidebarFooter: React.ForwardRefExoticComponent<SidebarFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
export interface SidebarDividerProps {
|
|
60
|
+
style?: StyleXStyles;
|
|
61
|
+
className?: string;
|
|
62
|
+
}
|
|
63
|
+
export declare const SidebarDivider: React.ForwardRefExoticComponent<SidebarDividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
+
export interface SidebarAsideProps {
|
|
65
|
+
style?: React.CSSProperties;
|
|
66
|
+
className?: string;
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
showCollapseToggle?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export declare const SidebarAside: React.ForwardRefExoticComponent<SidebarAsideProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
|
+
export interface SidebarMainProps {
|
|
72
|
+
style?: StyleXStyles;
|
|
73
|
+
className?: string;
|
|
74
|
+
children?: React.ReactNode;
|
|
75
|
+
}
|
|
76
|
+
export declare const SidebarMain: React.ForwardRefExoticComponent<SidebarMainProps & React.RefAttributes<HTMLDivElement>>;
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly sidebar: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly height: stylex.StyleXClassNameFor<"height", `calc(100% - ${stylex.StyleXVar<string>} * 2)`>;
|
|
7
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", string>;
|
|
8
|
+
readonly marginInlineStart: stylex.StyleXClassNameFor<"marginInlineStart", string>;
|
|
9
|
+
readonly marginInlineEnd: stylex.StyleXClassNameFor<"marginInlineEnd", 0>;
|
|
10
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
11
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "width, background-color, border-color, box-shadow">;
|
|
12
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.25s">;
|
|
13
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "cubic-bezier(0.4, 0, 0.2, 1)">;
|
|
14
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
15
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
16
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
17
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
18
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
19
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
20
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
21
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
22
|
+
}>;
|
|
23
|
+
readonly expanded: Readonly<{
|
|
24
|
+
readonly width: stylex.StyleXClassNameFor<"width", "var(--sidebar-width, 260px)">;
|
|
25
|
+
}>;
|
|
26
|
+
readonly collapsed: Readonly<{
|
|
27
|
+
readonly width: stylex.StyleXClassNameFor<"width", "var(--sidebar-collapsed-width, 72px)">;
|
|
28
|
+
}>;
|
|
29
|
+
readonly solid: Readonly<{
|
|
30
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
31
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
32
|
+
}>;
|
|
33
|
+
readonly glass: Readonly<{
|
|
34
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
35
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
36
|
+
readonly backdropFilter: stylex.StyleXClassNameFor<"backdropFilter", "blur(20px)">;
|
|
37
|
+
readonly WebkitBackdropFilter: stylex.StyleXClassNameFor<"WebkitBackdropFilter", "blur(20px)">;
|
|
38
|
+
}>;
|
|
39
|
+
readonly header: Readonly<{
|
|
40
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
41
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
42
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
43
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
44
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "64px">;
|
|
45
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
46
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
47
|
+
}>;
|
|
48
|
+
readonly headerCollapsed: Readonly<{
|
|
49
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
50
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
51
|
+
}>;
|
|
52
|
+
readonly headerContent: Readonly<{
|
|
53
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
54
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
55
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
56
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
57
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
58
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
59
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
60
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
61
|
+
}>;
|
|
62
|
+
readonly headerContentCollapsed: Readonly<{
|
|
63
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
64
|
+
}>;
|
|
65
|
+
readonly footer: Readonly<{
|
|
66
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
67
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
68
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
69
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
70
|
+
readonly borderBlockStartWidth: stylex.StyleXClassNameFor<"borderBlockStartWidth", "1px">;
|
|
71
|
+
readonly borderBlockStartStyle: stylex.StyleXClassNameFor<"borderBlockStartStyle", "solid">;
|
|
72
|
+
readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", "transparent">;
|
|
73
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
74
|
+
readonly marginTop: stylex.StyleXClassNameFor<"marginTop", "auto">;
|
|
75
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
76
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "64px">;
|
|
77
|
+
}>;
|
|
78
|
+
readonly footerBorder: Readonly<{
|
|
79
|
+
readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", string>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly footerCollapsed: Readonly<{
|
|
82
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
83
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
84
|
+
}>;
|
|
85
|
+
readonly footerContent: Readonly<{
|
|
86
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
87
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
88
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
89
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
90
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
91
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
92
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
93
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
94
|
+
}>;
|
|
95
|
+
readonly footerContentCollapsed: Readonly<{
|
|
96
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
97
|
+
}>;
|
|
98
|
+
readonly group: Readonly<{
|
|
99
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
100
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
101
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
102
|
+
readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", string>;
|
|
103
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
104
|
+
}>;
|
|
105
|
+
readonly groupCollapsed: Readonly<{
|
|
106
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
107
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
108
|
+
}>;
|
|
109
|
+
readonly groupHeader: Readonly<{
|
|
110
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
111
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
112
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
113
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
114
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
115
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
116
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
117
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
118
|
+
readonly textTransform: stylex.StyleXClassNameFor<"textTransform", "uppercase">;
|
|
119
|
+
readonly letterSpacing: stylex.StyleXClassNameFor<"letterSpacing", "0.05em">;
|
|
120
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
121
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
122
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
123
|
+
}>;
|
|
124
|
+
readonly groupHeaderCollapsible: Readonly<{
|
|
125
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
126
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
127
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
128
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
129
|
+
readonly color: stylex.StyleXVar<string>;
|
|
130
|
+
}>;
|
|
131
|
+
}>;
|
|
132
|
+
readonly groupTitle: Readonly<{
|
|
133
|
+
readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
|
|
134
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
135
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
136
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
137
|
+
}>;
|
|
138
|
+
readonly groupHeaderCollapsed: Readonly<{
|
|
139
|
+
readonly display: stylex.StyleXClassNameFor<"display", "none">;
|
|
140
|
+
}>;
|
|
141
|
+
readonly groupChevron: Readonly<{
|
|
142
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
143
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
144
|
+
readonly fill: stylex.StyleXClassNameFor<"fill", "currentColor">;
|
|
145
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform">;
|
|
146
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
147
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease">;
|
|
148
|
+
}>;
|
|
149
|
+
readonly groupChevronExpanded: Readonly<{
|
|
150
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "rotate(90deg)">;
|
|
151
|
+
}>;
|
|
152
|
+
readonly groupItems: Readonly<{
|
|
153
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
154
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
155
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
156
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
157
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "grid-template-rows, opacity">;
|
|
158
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.25s">;
|
|
159
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "cubic-bezier(0.4, 0, 0.2, 1)">;
|
|
160
|
+
readonly display: stylex.StyleXClassNameFor<"display", "grid">;
|
|
161
|
+
}>;
|
|
162
|
+
readonly groupItemsExpanded: Readonly<{
|
|
163
|
+
readonly gridTemplateRows: stylex.StyleXClassNameFor<"gridTemplateRows", "1fr">;
|
|
164
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 1>;
|
|
165
|
+
}>;
|
|
166
|
+
readonly groupItemsCollapsed: Readonly<{
|
|
167
|
+
readonly gridTemplateRows: stylex.StyleXClassNameFor<"gridTemplateRows", "0fr">;
|
|
168
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
|
|
169
|
+
readonly pointerEvents: stylex.StyleXClassNameFor<"pointerEvents", "none">;
|
|
170
|
+
}>;
|
|
171
|
+
readonly groupItemsInner: Readonly<{
|
|
172
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", 0>;
|
|
173
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
174
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
175
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
176
|
+
}>;
|
|
177
|
+
readonly item: Readonly<{
|
|
178
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
179
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
180
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
181
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
182
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
183
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
184
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
185
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
186
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
187
|
+
readonly textDecoration: stylex.StyleXClassNameFor<"textDecoration", "none">;
|
|
188
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
189
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
190
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
191
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
192
|
+
readonly height: stylex.StyleXClassNameFor<"height", "36px">;
|
|
193
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color, transform">;
|
|
194
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
195
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
196
|
+
readonly isolation: stylex.StyleXClassNameFor<"isolation", "isolate">;
|
|
197
|
+
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
198
|
+
readonly transform: "scale(0.98)";
|
|
199
|
+
}>;
|
|
200
|
+
readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
|
|
201
|
+
readonly outlineStyle: "solid";
|
|
202
|
+
readonly outlineWidth: "2px";
|
|
203
|
+
readonly outlineColor: stylex.StyleXVar<string>;
|
|
204
|
+
readonly outlineOffset: "2px";
|
|
205
|
+
}>;
|
|
206
|
+
}>;
|
|
207
|
+
readonly itemHover: Readonly<{
|
|
208
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
209
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
210
|
+
}>;
|
|
211
|
+
}>;
|
|
212
|
+
readonly itemSelected: Readonly<{
|
|
213
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
214
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
215
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
216
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
217
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
218
|
+
}>;
|
|
219
|
+
}>;
|
|
220
|
+
readonly itemCollapsed: Readonly<{
|
|
221
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
222
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", 0>;
|
|
223
|
+
readonly width: stylex.StyleXClassNameFor<"width", "36px">;
|
|
224
|
+
readonly height: stylex.StyleXClassNameFor<"height", "36px">;
|
|
225
|
+
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "center">;
|
|
226
|
+
}>;
|
|
227
|
+
readonly itemIcon: Readonly<{
|
|
228
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
229
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
230
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
231
|
+
readonly flexShrink: stylex.StyleXClassNameFor<"flexShrink", 0>;
|
|
232
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
233
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
234
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform">;
|
|
235
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
236
|
+
}>;
|
|
237
|
+
readonly itemIconSelected: Readonly<{
|
|
238
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
239
|
+
}>;
|
|
240
|
+
readonly itemLabel: Readonly<{
|
|
241
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
242
|
+
readonly textOverflow: stylex.StyleXClassNameFor<"textOverflow", "ellipsis">;
|
|
243
|
+
readonly whiteSpace: stylex.StyleXClassNameFor<"whiteSpace", "nowrap">;
|
|
244
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
245
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
246
|
+
}>;
|
|
247
|
+
readonly itemLabelCollapsed: Readonly<{
|
|
248
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0>;
|
|
249
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "translateX(-10px)">;
|
|
250
|
+
readonly width: stylex.StyleXClassNameFor<"width", 0>;
|
|
251
|
+
readonly display: stylex.StyleXClassNameFor<"display", "none">;
|
|
252
|
+
}>;
|
|
253
|
+
readonly divider: Readonly<{
|
|
254
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", string>;
|
|
255
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", string>;
|
|
256
|
+
readonly height: stylex.StyleXClassNameFor<"height", "1px">;
|
|
257
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
258
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
259
|
+
}>;
|
|
260
|
+
readonly dividerCollapsed: Readonly<{
|
|
261
|
+
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", string>;
|
|
262
|
+
}>;
|
|
263
|
+
readonly toggleButton: Readonly<{
|
|
264
|
+
readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
|
|
265
|
+
readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", string>;
|
|
266
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", string>;
|
|
267
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
268
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
269
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
270
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
271
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
272
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
273
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
274
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
275
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
276
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
277
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
278
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
279
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
280
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", string>;
|
|
281
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "transform, background-color, color, border-color">;
|
|
282
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
283
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
284
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
285
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
286
|
+
readonly color: stylex.StyleXVar<string>;
|
|
287
|
+
}>;
|
|
288
|
+
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
289
|
+
readonly transform: "scale(0.95)";
|
|
290
|
+
}>;
|
|
291
|
+
readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
|
|
292
|
+
readonly outlineStyle: "solid";
|
|
293
|
+
readonly outlineWidth: "2px";
|
|
294
|
+
readonly outlineColor: stylex.StyleXVar<string>;
|
|
295
|
+
}>;
|
|
296
|
+
}>;
|
|
297
|
+
readonly toggleButtonCollapsed: Readonly<{
|
|
298
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
299
|
+
readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", "auto">;
|
|
300
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", "auto">;
|
|
301
|
+
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "center">;
|
|
302
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", string>;
|
|
303
|
+
}>;
|
|
304
|
+
readonly layout: Readonly<{
|
|
305
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
306
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100vh">;
|
|
307
|
+
readonly maxHeight: stylex.StyleXClassNameFor<"maxHeight", "100vh">;
|
|
308
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100vw">;
|
|
309
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
310
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
311
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
312
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
313
|
+
readonly overflow: stylex.StyleXClassNameFor<"overflow", "hidden">;
|
|
314
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
315
|
+
}>;
|
|
316
|
+
readonly mainContent: Readonly<{
|
|
317
|
+
readonly flex: stylex.StyleXClassNameFor<"flex", 1>;
|
|
318
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
319
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
320
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
321
|
+
readonly overflowY: stylex.StyleXClassNameFor<"overflowY", "auto">;
|
|
322
|
+
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
323
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
324
|
+
readonly paddingBlockStart: stylex.StyleXClassNameFor<"paddingBlockStart", string>;
|
|
325
|
+
}>;
|
|
326
|
+
}>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type { SidebarAsideProps, SidebarDividerProps, SidebarFooterProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMainProps, SidebarProps, } from './Sidebar';
|
|
2
|
+
export { Sidebar, SidebarAside, SidebarDivider, SidebarFooter, SidebarGroup, SidebarHeader, SidebarItem, SidebarMain, } from './Sidebar';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
4
|
+
style?: StyleXStyles;
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
5
|
+
readonly animationPlayState: "paused";
|
|
6
|
+
}>;
|
|
7
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
8
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "1.5s">;
|
|
9
|
+
readonly animationIterationCount: stylex.StyleXClassNameFor<"animationIterationCount", "infinite">;
|
|
10
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
11
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "cubic-bezier(0.4, 0, 0.6, 1)">;
|
|
12
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
13
|
+
readonly display: stylex.StyleXClassNameFor<"display", "block">;
|
|
14
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
15
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
16
|
+
}>;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import { SliderProps as AriaSliderProps, SliderThumbProps as AriaSliderThumbProps, SliderTrackProps as AriaSliderTrackProps } from 'react-aria-components';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface SliderThumbProps extends Omit<AriaSliderThumbProps, 'style'> {
|
|
5
|
+
style?: StyleXStyles;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const SliderThumb: React.ForwardRefExoticComponent<SliderThumbProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export interface SliderTrackProps extends Omit<AriaSliderTrackProps, 'style'> {
|
|
10
|
+
style?: StyleXStyles;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const SliderTrack: React.ForwardRefExoticComponent<SliderTrackProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export interface SliderProps extends Omit<AriaSliderProps<any>, 'style'> {
|
|
15
|
+
style?: StyleXStyles;
|
|
16
|
+
className?: string;
|
|
17
|
+
label?: string;
|
|
18
|
+
getValueLabel?: (value: number[]) => string;
|
|
19
|
+
name?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly container: Readonly<{
|
|
4
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
5
|
+
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
6
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
7
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
8
|
+
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
9
|
+
}>;
|
|
10
|
+
readonly header: Readonly<{
|
|
11
|
+
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
12
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
13
|
+
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "baseline">;
|
|
14
|
+
}>;
|
|
15
|
+
readonly output: Readonly<{
|
|
16
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
17
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
18
|
+
readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
|
|
19
|
+
}>;
|
|
20
|
+
readonly track: Readonly<{
|
|
21
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
22
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
23
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
24
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
25
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
26
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", string>;
|
|
27
|
+
}>;
|
|
28
|
+
readonly trackDisabled: Readonly<{
|
|
29
|
+
readonly opacity: stylex.StyleXClassNameFor<"opacity", 0.4>;
|
|
30
|
+
}>;
|
|
31
|
+
readonly fill: Readonly<{
|
|
32
|
+
readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
|
|
33
|
+
readonly height: stylex.StyleXClassNameFor<"height", "100%">;
|
|
34
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
35
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
36
|
+
readonly top: stylex.StyleXClassNameFor<"top", 0>;
|
|
37
|
+
}>;
|
|
38
|
+
readonly thumb: Readonly<{
|
|
39
|
+
readonly position: stylex.StyleXClassNameFor<"position", "absolute">;
|
|
40
|
+
readonly top: stylex.StyleXClassNameFor<"top", "50%">;
|
|
41
|
+
readonly transform: stylex.StyleXClassNameFor<"transform", "translate(-50%, -50%)">;
|
|
42
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
43
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
44
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
45
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "2px">;
|
|
46
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
47
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
48
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
49
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", string>;
|
|
50
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
51
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
52
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "border-color, transform, box-shadow">;
|
|
53
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.1s">;
|
|
54
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
55
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
56
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
57
|
+
readonly transform: "translate(-50%, -50%) scale(1.1)";
|
|
58
|
+
}>;
|
|
59
|
+
readonly ':active': stylex.StyleXClassNameFor<":active", {
|
|
60
|
+
readonly borderColor: stylex.StyleXVar<string>;
|
|
61
|
+
readonly transform: "translate(-50%, -50%) scale(0.95)";
|
|
62
|
+
}>;
|
|
63
|
+
}>;
|
|
64
|
+
readonly thumbFocusVisible: Readonly<{
|
|
65
|
+
readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "solid">;
|
|
66
|
+
readonly outlineWidth: stylex.StyleXClassNameFor<"outlineWidth", "2px">;
|
|
67
|
+
readonly outlineOffset: stylex.StyleXClassNameFor<"outlineOffset", "2px">;
|
|
68
|
+
readonly outlineColor: stylex.StyleXClassNameFor<"outlineColor", string>;
|
|
69
|
+
}>;
|
|
70
|
+
readonly thumbDisabled: Readonly<{
|
|
71
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
72
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
73
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "not-allowed">;
|
|
74
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
75
|
+
readonly transform: "translate(-50%, -50%)";
|
|
76
|
+
}>;
|
|
77
|
+
}>;
|
|
78
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
4
|
+
style?: StyleXStyles;
|
|
5
|
+
className?: string;
|
|
6
|
+
'aria-label'?: string;
|
|
7
|
+
'aria-labelledby'?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as stylex from '@stylexjs/stylex';
|
|
2
|
+
export declare const styles: Readonly<{
|
|
3
|
+
readonly base: Readonly<{
|
|
4
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
5
|
+
readonly animationPlayState: "paused";
|
|
6
|
+
}>;
|
|
7
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
8
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
9
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
10
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", string>;
|
|
11
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "0.8s">;
|
|
12
|
+
readonly animationIterationCount: stylex.StyleXClassNameFor<"animationIterationCount", "infinite">;
|
|
13
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
14
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "linear">;
|
|
15
|
+
readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", string>;
|
|
16
|
+
readonly display: stylex.StyleXClassNameFor<"display", "inline-block">;
|
|
17
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
18
|
+
readonly width: stylex.StyleXClassNameFor<"width", string>;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface StatProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
value?: React.ReactNode;
|
|
6
|
+
variant?: 'default' | 'flat' | 'glass' | 'elevated';
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
description?: React.ReactNode;
|
|
9
|
+
trend?: string | number;
|
|
10
|
+
trendDirection?: 'up' | 'down' | 'neutral';
|
|
11
|
+
trendLabel?: React.ReactNode;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
style?: StyleXStyles;
|
|
14
|
+
}
|
|
15
|
+
export declare const Stat: React.ForwardRefExoticComponent<StatProps & React.RefAttributes<HTMLDivElement>>;
|