@rbxts/react-clean-ui 1.0.19 → 1.0.38
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/out/Components/Chart/BarChart.d.ts +47 -0
- package/out/Components/Chart/BarChart.luau +880 -0
- package/out/Components/Chart/Pie.luau +12 -12
- package/out/Components/Chart/index.d.ts +1 -0
- package/out/Components/Chart/init.luau +3 -0
- package/out/Components/Input/Button.d.ts +9 -0
- package/out/Components/Input/Button.luau +155 -46
- package/out/Components/Input/Checkbox.luau +21 -5
- package/out/Components/Input/Increment.d.ts +11 -0
- package/out/Components/Input/Increment.luau +107 -0
- package/out/Components/Input/Increment.step.d.ts +1 -0
- package/out/Components/Input/Increment.step.luau +25 -0
- package/out/Components/Input/Input.d.ts +4 -3
- package/out/Components/Input/Input.luau +124 -17
- package/out/Components/Input/Input.validation.d.ts +3 -0
- package/out/Components/Input/Input.validation.luau +21 -0
- package/out/Components/Input/Select.d.ts +4 -3
- package/out/Components/Input/Select.luau +23 -18
- package/out/Components/Input/Slider.d.ts +1 -1
- package/out/Components/Input/Slider.luau +68 -34
- package/out/Components/Input/index.d.ts +1 -0
- package/out/Components/Input/init.luau +3 -0
- package/out/Components/Interaction/Toast.d.ts +1 -1
- package/out/Components/Interaction/Toast.luau +4 -4
- package/out/Components/Interaction/Tooltip.d.ts +1 -1
- package/out/Components/Interaction/Tooltip.luau +8 -1
- package/out/Components/Layout/Accordion.d.ts +34 -0
- package/out/Components/Layout/Accordion.luau +431 -0
- package/out/Components/Layout/Container.d.ts +4 -2
- package/out/Components/Layout/Container.luau +32 -7
- package/out/Components/Layout/Draggable.luau +1 -1
- package/out/Components/Layout/Fieldset.d.ts +1 -1
- package/out/Components/Layout/FlexItem.d.ts +2 -1
- package/out/Components/Layout/FlexItem.luau +1 -0
- package/out/Components/Layout/HStack.d.ts +2 -1
- package/out/Components/Layout/HStack.luau +1 -2
- package/out/Components/Layout/Scroller.d.ts +1 -0
- package/out/Components/Layout/Scroller.luau +1 -1
- package/out/Components/Layout/Tabs.d.ts +1 -1
- package/out/Components/Layout/Tabs.luau +37 -7
- package/out/Components/Layout/VStack.d.ts +4 -1
- package/out/Components/Layout/VStack.luau +2 -2
- package/out/Components/Layout/index.d.ts +1 -0
- package/out/Components/Layout/init.luau +3 -0
- package/out/Components/Navigation/Menu.d.ts +1 -1
- package/out/Components/Surface/Box.d.ts +5 -3
- package/out/Components/Surface/Box.luau +12 -3
- package/out/Components/Surface/Card.d.ts +8 -6
- package/out/Components/Surface/Card.luau +430 -26
- package/out/Components/Surface/Icon.d.ts +1 -1
- package/out/Components/Surface/Icon.luau +43 -4
- package/out/Components/Typography/Text.d.ts +1 -0
- package/out/Components/Typography/Text.luau +135 -13
- package/out/Contexts/row.context.d.ts +1 -1
- package/out/Contexts/theme.context.d.ts +2 -2
- package/out/Helpers/color.helper.d.ts +5 -3
- package/out/Helpers/color.helper.luau +62 -34
- package/out/Helpers/create-ui-story.d.ts +8 -6
- package/out/Helpers/create-ui-story.luau +48 -5
- package/out/Helpers/css.helper.d.ts +28 -2
- package/out/Helpers/css.helper.luau +208 -0
- package/out/Helpers/index.d.ts +1 -0
- package/out/Helpers/init.luau +3 -0
- package/out/Helpers/size.helper.d.ts +3 -1
- package/out/Helpers/size.helper.luau +10 -9
- package/out/Helpers/spacing.helper.d.ts +3 -3
- package/out/Helpers/typography.helper.d.ts +2 -2
- package/out/Interfaces/css.types.d.ts +28 -0
- package/out/Interfaces/css.types.luau +17 -0
- package/out/Interfaces/element.props.d.ts +61 -0
- package/out/Interfaces/element.props.luau +1 -0
- package/out/Interfaces/index.d.ts +4 -2
- package/out/Interfaces/init.luau +9 -3
- package/out/Interfaces/responsive.types.d.ts +26 -0
- package/out/Interfaces/semantics.d.ts +3 -0
- package/out/Interfaces/semantics.luau +2 -0
- package/out/Providers/app.provider.d.ts +2 -2
- package/out/Providers/theme.provider.d.ts +2 -2
- package/out/Theme/index.d.ts +1 -0
- package/out/Theme/theme.factory.d.ts +3 -3
- package/out/Theme/theme.style.d.ts +48 -0
- package/out/Theme/theme.style.luau +1 -0
- package/out/Theme/theme.template.d.ts +90 -36
- package/out/Theme/themes/dark.theme.d.ts +1 -1
- package/out/Theme/themes/dark.theme.luau +73 -1
- package/out/Theme/themes/default.theme.d.ts +2 -2
- package/out/Theme/themes/default.theme.luau +122 -12
- package/out/Theme/themes/index.d.ts +1 -0
- package/out/Theme/themes/init.luau +3 -0
- package/out/Theme/themes/sandstone.theme.d.ts +1 -1
- package/out/Theme/themes/sandstone.theme.luau +81 -10
- package/out/Theme/themes/wooden.theme.d.ts +1 -0
- package/out/Theme/themes/wooden.theme.luau +443 -0
- package/out/index.d.ts +8 -8
- package/package.json +20 -6
- package/out/Interfaces/clean.element.props.d.ts +0 -114
- /package/out/{Interfaces/userinput.d.ts → Helpers/input.helper.d.ts} +0 -0
- /package/out/{Interfaces/userinput.luau → Helpers/input.helper.luau} +0 -0
- /package/out/Interfaces/{clean.element.props.luau → responsive.types.luau} +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from "@rbxts/react";
|
|
2
|
+
export interface BarChartLineStyle {
|
|
3
|
+
color?: Color3;
|
|
4
|
+
transparency?: number;
|
|
5
|
+
thickness?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface BarChartAxis extends BarChartLineStyle {
|
|
8
|
+
size?: number;
|
|
9
|
+
spacing?: number;
|
|
10
|
+
tickColor?: Color3;
|
|
11
|
+
tickTransparency?: number;
|
|
12
|
+
tickThickness?: number;
|
|
13
|
+
tickSize?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface BarChartXAxis extends BarChartAxis {
|
|
16
|
+
gap?: number;
|
|
17
|
+
}
|
|
18
|
+
export interface BarChartGridLines extends BarChartLineStyle {
|
|
19
|
+
values?: number[];
|
|
20
|
+
}
|
|
21
|
+
export interface BarChartYAxis extends BarChartAxis {
|
|
22
|
+
ticks?: number;
|
|
23
|
+
gridLines?: BarChartGridLines;
|
|
24
|
+
}
|
|
25
|
+
export interface BarChartTooltips {
|
|
26
|
+
combined?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface BarChartDataset {
|
|
29
|
+
values: number[];
|
|
30
|
+
labels?: string[];
|
|
31
|
+
color?: Color3;
|
|
32
|
+
colors?: Color3[];
|
|
33
|
+
}
|
|
34
|
+
export interface BarChartData {
|
|
35
|
+
labels: string[];
|
|
36
|
+
datasets: BarChartDataset[];
|
|
37
|
+
colors?: Color3[];
|
|
38
|
+
stacked?: boolean;
|
|
39
|
+
unstackedTransparency?: number;
|
|
40
|
+
tooltips?: BarChartTooltips;
|
|
41
|
+
xAxis?: BarChartXAxis | false;
|
|
42
|
+
yAxis?: BarChartYAxis | false;
|
|
43
|
+
}
|
|
44
|
+
export interface BarChartProps {
|
|
45
|
+
data: BarChartData;
|
|
46
|
+
}
|
|
47
|
+
export declare function BarChart(props: BarChartProps): React.JSX.Element;
|