@lolmath/ui 2.8.0 → 2.8.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/index.cjs +182 -173
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +205 -197
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
import { ButtonProps as ButtonProps$1, ItemProps, SelectProps as SelectProps$1, SearchFieldProps, Input, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SwitchProps, ProgressBarProps as ProgressBarProps$1, TextFieldProps, InputProps, RadioGroupProps, RadioProps, LabelProps, NumberFieldProps, Group, HeadingProps, DialogTriggerProps, ModalOverlayProps, DialogProps, TabsProps, TabListProps, TabProps, TabPanelProps, CheckboxProps, TextAreaProps, TooltipProps } from 'react-aria-components';
|
|
3
|
+
import { ButtonProps as ButtonProps$1, ItemProps, SelectProps as SelectProps$1, SearchFieldProps, Input, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, ProgressBarProps as ProgressBarProps$1, TextFieldProps, InputProps, RadioGroupProps, RadioProps, LabelProps, NumberFieldProps, Group, HeadingProps, DialogTriggerProps, ModalOverlayProps, DialogProps, TabsProps, TabListProps, TabProps, TabPanelProps, CheckboxProps, TextAreaProps, TooltipProps } from 'react-aria-components';
|
|
4
4
|
export { TooltipTrigger } from 'react-aria-components';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -20,8 +20,9 @@ interface SelectProps<T extends object> extends Omit<SelectProps$1<T>, "children
|
|
|
20
20
|
declare function Select<T extends object>({ description, errorMessage, children, ...props }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
21
21
|
declare function Item({ className, ...props }: ItemProps): react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
|
23
|
-
declare function SearchField({ inputProps, ...props }: SearchFieldProps & {
|
|
23
|
+
declare function SearchField({ inputProps, borderProps, children, ...props }: SearchFieldProps & {
|
|
24
24
|
inputProps?: ComponentProps<typeof Input>;
|
|
25
|
+
borderProps?: ComponentProps<"div">;
|
|
25
26
|
}): react_jsx_runtime.JSX.Element;
|
|
26
27
|
|
|
27
28
|
declare function Slider<T extends number | number[]>({ children, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
@@ -30,10 +31,7 @@ declare function Slider<T extends number | number[]>({ children, sliderThumbProp
|
|
|
30
31
|
sliderTrackBackgroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
31
32
|
sliderTrackForegroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
32
33
|
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
|
-
children?: React.ReactNode;
|
|
35
|
-
}
|
|
36
|
-
declare function SliderLabel({ children }: SliderLabelProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function SliderOutput(props: SliderOutputProps): react_jsx_runtime.JSX.Element;
|
|
37
35
|
|
|
38
36
|
declare function Switch({ className, placeholder, children, ...props }: SwitchProps & {
|
|
39
37
|
placeholder?: string;
|
|
@@ -64,8 +62,9 @@ interface AccordionContentProps {
|
|
|
64
62
|
}
|
|
65
63
|
declare function AccordionContent({ children }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
66
64
|
|
|
67
|
-
declare function TextField({ inputProps, ...props }: TextFieldProps & {
|
|
65
|
+
declare function TextField({ inputProps, borderProps, children, ...props }: TextFieldProps & {
|
|
68
66
|
inputProps?: InputProps;
|
|
67
|
+
borderProps?: ComponentProps<"div">;
|
|
69
68
|
}): react_jsx_runtime.JSX.Element;
|
|
70
69
|
|
|
71
70
|
declare function RadioGroup({ ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -73,7 +72,7 @@ declare function Radio({ ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
|
73
72
|
|
|
74
73
|
declare function Label({ ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
75
74
|
|
|
76
|
-
declare function NumberField({ inputProps, groupProps, ...props }: NumberFieldProps & {
|
|
75
|
+
declare function NumberField({ inputProps, groupProps, children, ...props }: NumberFieldProps & {
|
|
77
76
|
inputProps?: ComponentProps<typeof Input>;
|
|
78
77
|
groupProps?: ComponentProps<typeof Group>;
|
|
79
78
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -102,8 +101,9 @@ declare function TabPanel({ ...rest }: TabPanelProps): react_jsx_runtime.JSX.Ele
|
|
|
102
101
|
|
|
103
102
|
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
104
103
|
|
|
105
|
-
declare function TextArea({ textAreaProps, ...props }: TextFieldProps & {
|
|
104
|
+
declare function TextArea({ textAreaProps, borderProps, children, ...props }: TextFieldProps & {
|
|
106
105
|
textAreaProps?: TextAreaProps;
|
|
106
|
+
borderProps?: ComponentProps<"div">;
|
|
107
107
|
}): react_jsx_runtime.JSX.Element;
|
|
108
108
|
|
|
109
109
|
declare function Tooltip({ children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
@@ -114,4 +114,4 @@ interface CardProps extends ComponentProps<"div"> {
|
|
|
114
114
|
declare function Card({ children, className, style, borderProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
115
115
|
declare function borderInverted(r: string): string;
|
|
116
116
|
|
|
117
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Card, CardProps, Checkbox, DialogButtons, DialogTrigger, Heading, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider,
|
|
117
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Card, CardProps, Checkbox, DialogButtons, DialogTrigger, Heading, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider, SliderOutput, Spinner, Switch, Tab, TabList, TabPanel, Tabs, TextArea, TextField, Tooltip, borderInverted };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
import { ButtonProps as ButtonProps$1, ItemProps, SelectProps as SelectProps$1, SearchFieldProps, Input, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SwitchProps, ProgressBarProps as ProgressBarProps$1, TextFieldProps, InputProps, RadioGroupProps, RadioProps, LabelProps, NumberFieldProps, Group, HeadingProps, DialogTriggerProps, ModalOverlayProps, DialogProps, TabsProps, TabListProps, TabProps, TabPanelProps, CheckboxProps, TextAreaProps, TooltipProps } from 'react-aria-components';
|
|
3
|
+
import { ButtonProps as ButtonProps$1, ItemProps, SelectProps as SelectProps$1, SearchFieldProps, Input, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, ProgressBarProps as ProgressBarProps$1, TextFieldProps, InputProps, RadioGroupProps, RadioProps, LabelProps, NumberFieldProps, Group, HeadingProps, DialogTriggerProps, ModalOverlayProps, DialogProps, TabsProps, TabListProps, TabProps, TabPanelProps, CheckboxProps, TextAreaProps, TooltipProps } from 'react-aria-components';
|
|
4
4
|
export { TooltipTrigger } from 'react-aria-components';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -20,8 +20,9 @@ interface SelectProps<T extends object> extends Omit<SelectProps$1<T>, "children
|
|
|
20
20
|
declare function Select<T extends object>({ description, errorMessage, children, ...props }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
21
21
|
declare function Item({ className, ...props }: ItemProps): react_jsx_runtime.JSX.Element;
|
|
22
22
|
|
|
23
|
-
declare function SearchField({ inputProps, ...props }: SearchFieldProps & {
|
|
23
|
+
declare function SearchField({ inputProps, borderProps, children, ...props }: SearchFieldProps & {
|
|
24
24
|
inputProps?: ComponentProps<typeof Input>;
|
|
25
|
+
borderProps?: ComponentProps<"div">;
|
|
25
26
|
}): react_jsx_runtime.JSX.Element;
|
|
26
27
|
|
|
27
28
|
declare function Slider<T extends number | number[]>({ children, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
@@ -30,10 +31,7 @@ declare function Slider<T extends number | number[]>({ children, sliderThumbProp
|
|
|
30
31
|
sliderTrackBackgroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
31
32
|
sliderTrackForegroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
32
33
|
}): react_jsx_runtime.JSX.Element;
|
|
33
|
-
|
|
34
|
-
children?: React.ReactNode;
|
|
35
|
-
}
|
|
36
|
-
declare function SliderLabel({ children }: SliderLabelProps): react_jsx_runtime.JSX.Element;
|
|
34
|
+
declare function SliderOutput(props: SliderOutputProps): react_jsx_runtime.JSX.Element;
|
|
37
35
|
|
|
38
36
|
declare function Switch({ className, placeholder, children, ...props }: SwitchProps & {
|
|
39
37
|
placeholder?: string;
|
|
@@ -64,8 +62,9 @@ interface AccordionContentProps {
|
|
|
64
62
|
}
|
|
65
63
|
declare function AccordionContent({ children }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
66
64
|
|
|
67
|
-
declare function TextField({ inputProps, ...props }: TextFieldProps & {
|
|
65
|
+
declare function TextField({ inputProps, borderProps, children, ...props }: TextFieldProps & {
|
|
68
66
|
inputProps?: InputProps;
|
|
67
|
+
borderProps?: ComponentProps<"div">;
|
|
69
68
|
}): react_jsx_runtime.JSX.Element;
|
|
70
69
|
|
|
71
70
|
declare function RadioGroup({ ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
@@ -73,7 +72,7 @@ declare function Radio({ ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
|
73
72
|
|
|
74
73
|
declare function Label({ ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
75
74
|
|
|
76
|
-
declare function NumberField({ inputProps, groupProps, ...props }: NumberFieldProps & {
|
|
75
|
+
declare function NumberField({ inputProps, groupProps, children, ...props }: NumberFieldProps & {
|
|
77
76
|
inputProps?: ComponentProps<typeof Input>;
|
|
78
77
|
groupProps?: ComponentProps<typeof Group>;
|
|
79
78
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -102,8 +101,9 @@ declare function TabPanel({ ...rest }: TabPanelProps): react_jsx_runtime.JSX.Ele
|
|
|
102
101
|
|
|
103
102
|
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
104
103
|
|
|
105
|
-
declare function TextArea({ textAreaProps, ...props }: TextFieldProps & {
|
|
104
|
+
declare function TextArea({ textAreaProps, borderProps, children, ...props }: TextFieldProps & {
|
|
106
105
|
textAreaProps?: TextAreaProps;
|
|
106
|
+
borderProps?: ComponentProps<"div">;
|
|
107
107
|
}): react_jsx_runtime.JSX.Element;
|
|
108
108
|
|
|
109
109
|
declare function Tooltip({ children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
@@ -114,4 +114,4 @@ interface CardProps extends ComponentProps<"div"> {
|
|
|
114
114
|
declare function Card({ children, className, style, borderProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
115
115
|
declare function borderInverted(r: string): string;
|
|
116
116
|
|
|
117
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Card, CardProps, Checkbox, DialogButtons, DialogTrigger, Heading, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider,
|
|
117
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, Card, CardProps, Checkbox, DialogButtons, DialogTrigger, Heading, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider, SliderOutput, Spinner, Switch, Tab, TabList, TabPanel, Tabs, TextArea, TextField, Tooltip, borderInverted };
|