@lolmath/ui 3.2.1 → 3.2.3
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/es/components/accordion.d.ts +22 -0
- package/dist/es/components/accordion.js +101 -0
- package/dist/es/components/accordion.js.map +1 -0
- package/dist/es/components/button.d.ts +11 -0
- package/dist/es/components/button.js +221 -0
- package/dist/es/components/button.js.map +1 -0
- package/dist/es/components/card.d.ts +6 -0
- package/dist/es/components/card.js +51 -0
- package/dist/es/components/card.js.map +1 -0
- package/dist/es/components/checkbox.d.ts +2 -0
- package/dist/es/components/checkbox.js +53 -0
- package/dist/es/components/checkbox.js.map +1 -0
- package/dist/es/components/divider.d.ts +25 -0
- package/dist/es/components/divider.js +30 -0
- package/dist/es/components/divider.js.map +1 -0
- package/dist/es/components/modal.d.ts +13 -0
- package/dist/es/components/modal.js +97 -0
- package/dist/es/components/modal.js.map +1 -0
- package/dist/es/components/number-field.d.ts +10 -0
- package/dist/es/components/number-field.js +110 -0
- package/dist/es/components/number-field.js.map +1 -0
- package/dist/es/components/popover.d.ts +1 -0
- package/dist/es/components/popover.js +0 -0
- package/dist/es/components/progress-bar.d.ts +6 -0
- package/dist/es/components/progress-bar.js +41 -0
- package/dist/es/components/progress-bar.js.map +1 -0
- package/dist/es/components/radio-group.d.ts +3 -0
- package/dist/es/components/radio-group.js +82 -0
- package/dist/es/components/radio-group.js.map +1 -0
- package/dist/es/components/search-field.d.ts +6 -0
- package/dist/es/components/search-field.js +95 -0
- package/dist/es/components/search-field.js.map +1 -0
- package/dist/es/components/select.d.ts +11 -0
- package/dist/es/components/select.js +117 -0
- package/dist/es/components/select.js.map +1 -0
- package/dist/es/components/slider/images.d.ts +4 -0
- package/dist/es/components/slider/images.js +12 -0
- package/dist/es/components/slider/images.js.map +1 -0
- package/dist/es/components/slider/slider.d.ts +8 -0
- package/dist/es/components/slider/slider.js +169 -0
- package/dist/es/components/slider/slider.js.map +1 -0
- package/dist/es/components/spinner/images.d.ts +1 -0
- package/dist/es/components/spinner/images.js +6 -0
- package/dist/es/components/spinner/images.js.map +1 -0
- package/dist/es/components/spinner/spinner.d.ts +5 -0
- package/dist/es/components/spinner/spinner.js +23 -0
- package/dist/es/components/spinner/spinner.js.map +1 -0
- package/dist/es/components/switch.d.ts +4 -0
- package/dist/es/components/switch.js +96 -0
- package/dist/es/components/switch.js.map +1 -0
- package/dist/es/components/tabs.d.ts +6 -0
- package/dist/es/components/tabs.js +107 -0
- package/dist/es/components/tabs.js.map +1 -0
- package/dist/es/components/text-area.d.ts +6 -0
- package/dist/es/components/text-area.js +67 -0
- package/dist/es/components/text-area.js.map +1 -0
- package/dist/es/components/text-field.d.ts +6 -0
- package/dist/es/components/text-field.js +68 -0
- package/dist/es/components/text-field.js.map +1 -0
- package/dist/es/components/toggle-button.d.ts +12 -0
- package/dist/es/components/toggle-button.js +208 -0
- package/dist/es/components/toggle-button.js.map +1 -0
- package/dist/es/components/tooltip.d.ts +3 -0
- package/dist/es/components/tooltip.js +73 -0
- package/dist/es/components/tooltip.js.map +1 -0
- package/dist/es/components/typography/heading.d.ts +9 -0
- package/dist/es/components/typography/heading.js +38 -0
- package/dist/es/components/typography/heading.js.map +1 -0
- package/dist/es/components/typography/text.d.ts +17 -0
- package/dist/es/components/typography/text.js +62 -0
- package/dist/es/components/typography/text.js.map +1 -0
- package/dist/es/index.d.ts +23 -0
- package/dist/es/index.js +25 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/plugin.d.ts +4 -0
- package/dist/es/plugin.js +13 -0
- package/dist/es/plugin.js.map +1 -0
- package/dist/es/utilities/css-id.d.ts +1 -0
- package/dist/es/utilities/css-id.js +9 -0
- package/dist/es/utilities/css-id.js.map +1 -0
- package/dist/es/utilities/gradient.d.ts +8 -0
- package/dist/es/utilities/gradient.js +20 -0
- package/dist/es/utilities/gradient.js.map +1 -0
- package/dist/es/utilities/outline.d.ts +1 -0
- package/dist/es/utilities/outline.js +6 -0
- package/dist/es/utilities/outline.js.map +1 -0
- package/dist/es/utilities/resolve-class-name.d.ts +1 -0
- package/dist/es/utilities/resolve-class-name.js +8 -0
- package/dist/es/utilities/resolve-class-name.js.map +1 -0
- package/dist/es/utilities/theme.d.ts +98 -0
- package/dist/{chunk-KUMYC3II.js → es/utilities/theme.js} +3 -4
- package/dist/es/utilities/theme.js.map +1 -0
- package/dist/es/utilities/tv.d.ts +1 -0
- package/dist/es/utilities/tv.js +21 -0
- package/dist/es/utilities/tv.js.map +1 -0
- package/dist/es/utilities/view-transition.d.ts +1 -0
- package/dist/es/utilities/view-transition.js +15 -0
- package/dist/es/utilities/view-transition.js.map +1 -0
- package/dist/lib/components/accordion.d.ts +22 -0
- package/dist/lib/components/accordion.js +130 -0
- package/dist/lib/components/accordion.js.map +1 -0
- package/dist/lib/components/button.d.ts +11 -0
- package/dist/lib/components/button.js +234 -0
- package/dist/lib/components/button.js.map +1 -0
- package/dist/lib/components/card.d.ts +6 -0
- package/dist/lib/components/card.js +76 -0
- package/dist/lib/components/card.js.map +1 -0
- package/dist/lib/components/checkbox.d.ts +2 -0
- package/dist/lib/components/checkbox.js +77 -0
- package/dist/lib/components/checkbox.js.map +1 -0
- package/dist/lib/components/divider.d.ts +25 -0
- package/dist/lib/components/divider.js +54 -0
- package/dist/lib/components/divider.js.map +1 -0
- package/dist/lib/components/modal.d.ts +13 -0
- package/dist/lib/components/modal.js +118 -0
- package/dist/lib/components/modal.js.map +1 -0
- package/dist/lib/components/number-field.d.ts +10 -0
- package/dist/lib/components/number-field.js +124 -0
- package/dist/lib/components/number-field.js.map +1 -0
- package/dist/lib/components/popover.d.ts +1 -0
- package/dist/lib/components/popover.js +1 -0
- package/dist/lib/components/progress-bar.d.ts +6 -0
- package/dist/lib/components/progress-bar.js +62 -0
- package/dist/lib/components/progress-bar.js.map +1 -0
- package/dist/lib/components/radio-group.d.ts +3 -0
- package/dist/lib/components/radio-group.js +104 -0
- package/dist/lib/components/radio-group.js.map +1 -0
- package/dist/lib/components/search-field.d.ts +6 -0
- package/dist/lib/components/search-field.js +115 -0
- package/dist/lib/components/search-field.js.map +1 -0
- package/dist/lib/components/select.d.ts +11 -0
- package/dist/lib/components/select.js +129 -0
- package/dist/lib/components/select.js.map +1 -0
- package/dist/lib/components/slider/images.d.ts +4 -0
- package/dist/lib/components/slider/images.js +39 -0
- package/dist/lib/components/slider/images.js.map +1 -0
- package/dist/lib/components/slider/slider.d.ts +8 -0
- package/dist/lib/components/slider/slider.js +184 -0
- package/dist/lib/components/slider/slider.js.map +1 -0
- package/dist/lib/components/spinner/images.d.ts +1 -0
- package/dist/lib/components/spinner/images.js +30 -0
- package/dist/lib/components/spinner/images.js.map +1 -0
- package/dist/lib/components/spinner/spinner.d.ts +5 -0
- package/dist/lib/components/spinner/spinner.js +47 -0
- package/dist/lib/components/spinner/spinner.js.map +1 -0
- package/dist/lib/components/switch.d.ts +4 -0
- package/dist/lib/components/switch.js +115 -0
- package/dist/lib/components/switch.js.map +1 -0
- package/dist/lib/components/tabs.d.ts +6 -0
- package/dist/lib/components/tabs.js +129 -0
- package/dist/lib/components/tabs.js.map +1 -0
- package/dist/lib/components/text-area.d.ts +6 -0
- package/dist/lib/components/text-area.js +88 -0
- package/dist/lib/components/text-area.js.map +1 -0
- package/dist/lib/components/text-field.d.ts +6 -0
- package/dist/lib/components/text-field.js +89 -0
- package/dist/lib/components/text-field.js.map +1 -0
- package/dist/lib/components/toggle-button.d.ts +12 -0
- package/dist/lib/components/toggle-button.js +221 -0
- package/dist/lib/components/toggle-button.js.map +1 -0
- package/dist/lib/components/tooltip.d.ts +3 -0
- package/dist/lib/components/tooltip.js +98 -0
- package/dist/lib/components/tooltip.js.map +1 -0
- package/dist/lib/components/typography/heading.d.ts +9 -0
- package/dist/lib/components/typography/heading.js +62 -0
- package/dist/lib/components/typography/heading.js.map +1 -0
- package/dist/lib/components/typography/text.d.ts +17 -0
- package/dist/lib/components/typography/text.js +85 -0
- package/dist/lib/components/typography/text.js.map +1 -0
- package/dist/lib/index.d.ts +23 -0
- package/dist/lib/index.js +68 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/plugin.d.ts +4 -0
- package/dist/lib/plugin.js +47 -0
- package/dist/lib/plugin.js.map +1 -0
- package/dist/lib/utilities/css-id.d.ts +1 -0
- package/dist/lib/utilities/css-id.js +33 -0
- package/dist/lib/utilities/css-id.js.map +1 -0
- package/dist/lib/utilities/gradient.d.ts +8 -0
- package/dist/lib/utilities/gradient.js +51 -0
- package/dist/lib/utilities/gradient.js.map +1 -0
- package/dist/lib/utilities/outline.d.ts +1 -0
- package/dist/lib/utilities/outline.js +30 -0
- package/dist/lib/utilities/outline.js.map +1 -0
- package/dist/lib/utilities/resolve-class-name.d.ts +1 -0
- package/dist/lib/utilities/resolve-class-name.js +32 -0
- package/dist/lib/utilities/resolve-class-name.js.map +1 -0
- package/dist/lib/utilities/theme.d.ts +98 -0
- package/dist/{plugin.cjs → lib/utilities/theme.js} +8 -30
- package/dist/lib/utilities/theme.js.map +1 -0
- package/dist/lib/utilities/tv.d.ts +1 -0
- package/dist/lib/utilities/tv.js +45 -0
- package/dist/lib/utilities/tv.js.map +1 -0
- package/dist/lib/utilities/view-transition.d.ts +1 -0
- package/dist/lib/utilities/view-transition.js +39 -0
- package/dist/lib/utilities/view-transition.js.map +1 -0
- package/package.json +24 -15
- package/dist/chunk-KUMYC3II.js.map +0 -1
- package/dist/index.cjs +0 -1987
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -279
- package/dist/index.d.ts +0 -279
- package/dist/index.js +0 -1857
- package/dist/index.js.map +0 -1
- package/dist/plugin.cjs.map +0 -1
- package/dist/plugin.d.cts +0 -8
- package/dist/plugin.d.ts +0 -8
- package/dist/plugin.js +0 -16
- package/dist/plugin.js.map +0 -1
package/dist/index.d.cts
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
2
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import * as react from 'react';
|
|
5
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
6
|
-
import { ButtonProps as ButtonProps$1, ButtonRenderProps, CheckboxProps, HeadingProps as HeadingProps$1, DialogTriggerProps, ModalOverlayProps, DialogProps, NumberFieldProps, Input, Group, ProgressBarProps as ProgressBarProps$1, RadioGroupProps, RadioProps, SearchFieldProps, ListBoxItemProps, SelectProps as SelectProps$1, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, TabsProps, TabListProps, TabProps, TabPanelProps, TextFieldProps, TextAreaProps, InputProps, ToggleButtonProps as ToggleButtonProps$1, TooltipProps, LabelProps as LabelProps$1 } from 'react-aria-components';
|
|
7
|
-
export { Key, TooltipTrigger } from 'react-aria-components';
|
|
8
|
-
|
|
9
|
-
interface AccordionProps {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
declare function Accordion({ children, className }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare const accordionTrigger: tailwind_variants.TVReturnType<{
|
|
15
|
-
[key: string]: {
|
|
16
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
17
|
-
base?: tailwind_variants.ClassValue;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
[x: string]: {
|
|
22
|
-
[x: string]: tailwind_variants.ClassValue | {
|
|
23
|
-
base?: tailwind_variants.ClassValue;
|
|
24
|
-
};
|
|
25
|
-
} | undefined;
|
|
26
|
-
} | {}, undefined, "text-lol-grey-100 font-beaufort active:text-lol-gold-100 hover:text-lol-gold-100 flex w-full items-center py-2 text-left font-bold uppercase", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
27
|
-
[key: string]: {
|
|
28
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
29
|
-
base?: tailwind_variants.ClassValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {}>, {
|
|
33
|
-
[key: string]: {
|
|
34
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
35
|
-
base?: tailwind_variants.ClassValue;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "text-lol-grey-100 font-beaufort active:text-lol-gold-100 hover:text-lol-gold-100 flex w-full items-center py-2 text-left font-bold uppercase", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
39
|
-
[key: string]: {
|
|
40
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
41
|
-
base?: tailwind_variants.ClassValue;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
45
|
-
declare const accordionTriggerInner: tailwind_variants.TVReturnType<{
|
|
46
|
-
[key: string]: {
|
|
47
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
48
|
-
base?: tailwind_variants.ClassValue;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
} | {
|
|
52
|
-
[x: string]: {
|
|
53
|
-
[x: string]: tailwind_variants.ClassValue | {
|
|
54
|
-
base?: tailwind_variants.ClassValue;
|
|
55
|
-
};
|
|
56
|
-
} | undefined;
|
|
57
|
-
} | {}, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
58
|
-
[key: string]: {
|
|
59
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
60
|
-
base?: tailwind_variants.ClassValue;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
} | {}>, {
|
|
64
|
-
[key: string]: {
|
|
65
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
66
|
-
base?: tailwind_variants.ClassValue;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
70
|
-
[key: string]: {
|
|
71
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
72
|
-
base?: tailwind_variants.ClassValue;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
76
|
-
interface AccordionTriggerProps {
|
|
77
|
-
children: React.ReactNode;
|
|
78
|
-
className?: string;
|
|
79
|
-
}
|
|
80
|
-
declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
81
|
-
interface AccordionItemProps {
|
|
82
|
-
children: React.ReactNode;
|
|
83
|
-
value: string;
|
|
84
|
-
}
|
|
85
|
-
declare function AccordionItem({ children, value }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
86
|
-
interface AccordionContentProps {
|
|
87
|
-
children: React.ReactNode;
|
|
88
|
-
}
|
|
89
|
-
declare function AccordionContent({ children }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
90
|
-
|
|
91
|
-
type ButtonShape = "round" | "square" | "normal";
|
|
92
|
-
type ButtonPreset = "primary" | "secondary" | "text" | "hextech" | "dimmed";
|
|
93
|
-
interface ButtonProps extends ButtonProps$1 {
|
|
94
|
-
innerClassName?: string | ((values: ButtonRenderProps) => string);
|
|
95
|
-
preset?: ButtonPreset;
|
|
96
|
-
thin?: boolean;
|
|
97
|
-
shape?: ButtonShape;
|
|
98
|
-
}
|
|
99
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
100
|
-
|
|
101
|
-
interface CardProps extends ComponentProps<"div"> {
|
|
102
|
-
borderProps?: ComponentProps<"div">;
|
|
103
|
-
}
|
|
104
|
-
declare function Card({ children, className, style, borderProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
105
|
-
declare function borderInverted(r: string): string;
|
|
106
|
-
|
|
107
|
-
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
108
|
-
|
|
109
|
-
declare const divider: tailwind_variants.TVReturnType<{
|
|
110
|
-
preset: {
|
|
111
|
-
left: string;
|
|
112
|
-
right: string;
|
|
113
|
-
center: string;
|
|
114
|
-
};
|
|
115
|
-
}, undefined, "h-px grow border-0 bg-gradient-to-r", tailwind_variants_dist_config_js.TVConfig<{
|
|
116
|
-
preset: {
|
|
117
|
-
left: string;
|
|
118
|
-
right: string;
|
|
119
|
-
center: string;
|
|
120
|
-
};
|
|
121
|
-
}, {
|
|
122
|
-
preset: {
|
|
123
|
-
left: string;
|
|
124
|
-
right: string;
|
|
125
|
-
center: string;
|
|
126
|
-
};
|
|
127
|
-
}>, {
|
|
128
|
-
preset: {
|
|
129
|
-
left: string;
|
|
130
|
-
right: string;
|
|
131
|
-
center: string;
|
|
132
|
-
};
|
|
133
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
134
|
-
preset: {
|
|
135
|
-
left: string;
|
|
136
|
-
right: string;
|
|
137
|
-
center: string;
|
|
138
|
-
};
|
|
139
|
-
}, undefined, "h-px grow border-0 bg-gradient-to-r", tailwind_variants_dist_config_js.TVConfig<{
|
|
140
|
-
preset: {
|
|
141
|
-
left: string;
|
|
142
|
-
right: string;
|
|
143
|
-
center: string;
|
|
144
|
-
};
|
|
145
|
-
}, {
|
|
146
|
-
preset: {
|
|
147
|
-
left: string;
|
|
148
|
-
right: string;
|
|
149
|
-
center: string;
|
|
150
|
-
};
|
|
151
|
-
}>, unknown, unknown, undefined>>;
|
|
152
|
-
interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
153
|
-
preset?: keyof typeof divider.variants.preset;
|
|
154
|
-
hrProps?: React.HTMLAttributes<HTMLHRElement>;
|
|
155
|
-
}
|
|
156
|
-
declare function Divider({ preset, hrProps, ...rest }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
157
|
-
|
|
158
|
-
interface ModalProps extends Omit<ModalOverlayProps, "children"> {
|
|
159
|
-
modalOverlayClassName?: ModalOverlayProps["className"];
|
|
160
|
-
dialogProps?: Omit<DialogProps, "children">;
|
|
161
|
-
children?: DialogProps["children"];
|
|
162
|
-
}
|
|
163
|
-
declare function Modal({ modalOverlayClassName, dialogProps, children, className, ...modalProps }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
164
|
-
declare function DialogHeading({ className, ...props }: HeadingProps$1): react_jsx_runtime.JSX.Element;
|
|
165
|
-
declare function DialogButtons({ children }: {
|
|
166
|
-
children: React.ReactNode;
|
|
167
|
-
}): react_jsx_runtime.JSX.Element;
|
|
168
|
-
declare function DialogTrigger(props: DialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
169
|
-
|
|
170
|
-
type NumberFieldPreset = "normal" | "dimmed";
|
|
171
|
-
declare function NumberField({ inputProps, groupProps, children, preset, ...props }: NumberFieldProps & {
|
|
172
|
-
inputProps?: ComponentProps<typeof Input>;
|
|
173
|
-
groupProps?: ComponentProps<typeof Group>;
|
|
174
|
-
preset?: NumberFieldPreset;
|
|
175
|
-
}): react_jsx_runtime.JSX.Element;
|
|
176
|
-
|
|
177
|
-
interface ProgressBarProps extends Omit<ProgressBarProps$1, "children"> {
|
|
178
|
-
label?: string;
|
|
179
|
-
}
|
|
180
|
-
declare function ProgressBar({ className, label, ...props }: ProgressBarProps): JSX.Element;
|
|
181
|
-
|
|
182
|
-
declare function RadioGroup({ className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
183
|
-
declare function Radio({ className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
184
|
-
|
|
185
|
-
declare function SearchField({ inputProps, borderProps, children, ...props }: SearchFieldProps & {
|
|
186
|
-
inputProps?: ComponentProps<typeof Input>;
|
|
187
|
-
borderProps?: ComponentProps<"div">;
|
|
188
|
-
}): react_jsx_runtime.JSX.Element;
|
|
189
|
-
|
|
190
|
-
interface SelectProps<T extends object> extends Omit<SelectProps$1<T>, "children"> {
|
|
191
|
-
label?: string;
|
|
192
|
-
description?: string;
|
|
193
|
-
errorMessage?: string;
|
|
194
|
-
children?: ReactNode | ((item: T) => ReactNode);
|
|
195
|
-
}
|
|
196
|
-
declare function Select<T extends object>({ description, errorMessage, children, className, ...props }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
197
|
-
declare function Item({ className, ...props }: ListBoxItemProps): react_jsx_runtime.JSX.Element;
|
|
198
|
-
|
|
199
|
-
declare function Slider<T extends number | number[]>({ children, className, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
200
|
-
sliderTrackProps?: SliderTrackProps;
|
|
201
|
-
sliderThumbProps?: SliderThumbProps;
|
|
202
|
-
sliderTrackBackgroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
203
|
-
sliderTrackForegroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
204
|
-
}): react_jsx_runtime.JSX.Element;
|
|
205
|
-
declare function SliderOutput(props: SliderOutputProps): react_jsx_runtime.JSX.Element;
|
|
206
|
-
|
|
207
|
-
interface SpinnerProps {
|
|
208
|
-
className?: string;
|
|
209
|
-
}
|
|
210
|
-
declare function Spinner({ className }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
211
|
-
|
|
212
|
-
declare function Switch({ className, placeholder, children, ...props }: SwitchProps & {
|
|
213
|
-
placeholder?: string;
|
|
214
|
-
}): react_jsx_runtime.JSX.Element;
|
|
215
|
-
|
|
216
|
-
declare function Tabs({ onSelectionChange, ...rest }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
217
|
-
declare function TabList<T extends object>({ className, ...rest }: TabListProps<T>): react_jsx_runtime.JSX.Element;
|
|
218
|
-
declare function Tab({ children, className, ...rest }: TabProps): react_jsx_runtime.JSX.Element;
|
|
219
|
-
declare function TabPanel({ ...rest }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
220
|
-
|
|
221
|
-
declare function TextArea({ textAreaProps, borderProps, children, ...props }: TextFieldProps & {
|
|
222
|
-
textAreaProps?: TextAreaProps;
|
|
223
|
-
borderProps?: ComponentProps<"div">;
|
|
224
|
-
}): react_jsx_runtime.JSX.Element;
|
|
225
|
-
|
|
226
|
-
declare function TextField({ inputProps, borderProps, children, ...props }: TextFieldProps & {
|
|
227
|
-
inputProps?: InputProps;
|
|
228
|
-
borderProps?: ComponentProps<"div">;
|
|
229
|
-
}): react_jsx_runtime.JSX.Element;
|
|
230
|
-
|
|
231
|
-
type ToggleButtonShape = "round" | "square" | "normal";
|
|
232
|
-
type ToggleButtonPreset = "gold" | "hextech" | "dimmed";
|
|
233
|
-
interface ToggleButtonProps extends ToggleButtonProps$1 {
|
|
234
|
-
innerProps?: ComponentProps<"span">;
|
|
235
|
-
preset?: ToggleButtonPreset;
|
|
236
|
-
thin?: boolean;
|
|
237
|
-
shape?: ToggleButtonShape;
|
|
238
|
-
}
|
|
239
|
-
declare function ToggleButton({ children, className, innerProps, preset, shape, thin, ...props }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
240
|
-
|
|
241
|
-
declare function Tooltip({ children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
242
|
-
|
|
243
|
-
type HeadingColor = "gold-100" | "gold-200" | "gold-400" | "grey-100";
|
|
244
|
-
type HeadingElement = "h1" | "h2" | "h3" | "h4" | "h5";
|
|
245
|
-
interface HeadingProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> {
|
|
246
|
-
preset?: HeadingElement;
|
|
247
|
-
color?: HeadingColor;
|
|
248
|
-
as?: HeadingElement | "span";
|
|
249
|
-
}
|
|
250
|
-
declare function Heading({ as, preset, color, className, ...rest }: HeadingProps): JSX.Element;
|
|
251
|
-
|
|
252
|
-
type TextColor = "grey-100" | "grey-150" | "gold-100";
|
|
253
|
-
type TextElement = "p" | "span" | "div";
|
|
254
|
-
type TextPreset = "sm" | "base" | "md" | "lg" | "large-number" | "stat";
|
|
255
|
-
interface TextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
256
|
-
preset?: TextPreset;
|
|
257
|
-
color?: TextColor;
|
|
258
|
-
as?: TextElement;
|
|
259
|
-
}
|
|
260
|
-
declare function Text({ as, preset, color, className, ...rest }: TextProps): JSX.Element;
|
|
261
|
-
interface LabelProps extends LabelProps$1 {
|
|
262
|
-
preset?: TextPreset | 'label';
|
|
263
|
-
color?: TextColor;
|
|
264
|
-
as?: TextElement;
|
|
265
|
-
}
|
|
266
|
-
declare function Label({ preset, color, className, ...rest }: LabelProps): JSX.Element;
|
|
267
|
-
|
|
268
|
-
declare const goldGradient = "from-lol-gold-500 via-lol-gold-400 to-lol-gold-200";
|
|
269
|
-
declare const goldGradientHover = "from-lol-gold-400 via-lol-gold-200 to-lol-gold-100";
|
|
270
|
-
declare const goldGradientPressed = "from-lol-gold-600 via-lol-gold-600 to-lol-gold-500";
|
|
271
|
-
declare const hextechGradient = "from-lol-blue-200 to-lol-blue-400";
|
|
272
|
-
declare const hextechGradientHover = "from-lol-blue-100 to-lol-blue-300";
|
|
273
|
-
declare const hextechGradientPressed = "from-lol-blue-500 to-lol-blue-400";
|
|
274
|
-
declare const dimmedGradient = "from-lol-grey-300 via-lol-grey-300 to-lol-grey-300";
|
|
275
|
-
declare const disabledGradient = "from-lol-grey-150 via-lol-grey-150 to-lol-grey-150";
|
|
276
|
-
|
|
277
|
-
declare const tv: tailwind_variants.TV;
|
|
278
|
-
|
|
279
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, type ButtonPreset, type ButtonShape, Card, type CardProps, Checkbox, DialogButtons, DialogHeading, DialogTrigger, Divider, Heading, type HeadingColor, type HeadingElement, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider, SliderOutput, Spinner, Switch, Tab, TabList, TabPanel, Tabs, Text, TextArea, type TextColor, type TextElement, TextField, type TextPreset, ToggleButton, type ToggleButtonPreset, type ToggleButtonShape, Tooltip, accordionTrigger, accordionTriggerInner, borderInverted, dimmedGradient, disabledGradient, goldGradient, goldGradientHover, goldGradientPressed, hextechGradient, hextechGradientHover, hextechGradientPressed, tv };
|
package/dist/index.d.ts
DELETED
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
|
|
2
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import * as react from 'react';
|
|
5
|
-
import { ComponentProps, ReactNode } from 'react';
|
|
6
|
-
import { ButtonProps as ButtonProps$1, ButtonRenderProps, CheckboxProps, HeadingProps as HeadingProps$1, DialogTriggerProps, ModalOverlayProps, DialogProps, NumberFieldProps, Input, Group, ProgressBarProps as ProgressBarProps$1, RadioGroupProps, RadioProps, SearchFieldProps, ListBoxItemProps, SelectProps as SelectProps$1, SliderProps, SliderTrackProps, SliderThumbProps, SliderTrackRenderProps, SliderOutputProps, SwitchProps, TabsProps, TabListProps, TabProps, TabPanelProps, TextFieldProps, TextAreaProps, InputProps, ToggleButtonProps as ToggleButtonProps$1, TooltipProps, LabelProps as LabelProps$1 } from 'react-aria-components';
|
|
7
|
-
export { Key, TooltipTrigger } from 'react-aria-components';
|
|
8
|
-
|
|
9
|
-
interface AccordionProps {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
declare function Accordion({ children, className }: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
declare const accordionTrigger: tailwind_variants.TVReturnType<{
|
|
15
|
-
[key: string]: {
|
|
16
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
17
|
-
base?: tailwind_variants.ClassValue;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
[x: string]: {
|
|
22
|
-
[x: string]: tailwind_variants.ClassValue | {
|
|
23
|
-
base?: tailwind_variants.ClassValue;
|
|
24
|
-
};
|
|
25
|
-
} | undefined;
|
|
26
|
-
} | {}, undefined, "text-lol-grey-100 font-beaufort active:text-lol-gold-100 hover:text-lol-gold-100 flex w-full items-center py-2 text-left font-bold uppercase", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
27
|
-
[key: string]: {
|
|
28
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
29
|
-
base?: tailwind_variants.ClassValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {}>, {
|
|
33
|
-
[key: string]: {
|
|
34
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
35
|
-
base?: tailwind_variants.ClassValue;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "text-lol-grey-100 font-beaufort active:text-lol-gold-100 hover:text-lol-gold-100 flex w-full items-center py-2 text-left font-bold uppercase", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
39
|
-
[key: string]: {
|
|
40
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
41
|
-
base?: tailwind_variants.ClassValue;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
45
|
-
declare const accordionTriggerInner: tailwind_variants.TVReturnType<{
|
|
46
|
-
[key: string]: {
|
|
47
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
48
|
-
base?: tailwind_variants.ClassValue;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
} | {
|
|
52
|
-
[x: string]: {
|
|
53
|
-
[x: string]: tailwind_variants.ClassValue | {
|
|
54
|
-
base?: tailwind_variants.ClassValue;
|
|
55
|
-
};
|
|
56
|
-
} | undefined;
|
|
57
|
-
} | {}, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
58
|
-
[key: string]: {
|
|
59
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
60
|
-
base?: tailwind_variants.ClassValue;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
} | {}>, {
|
|
64
|
-
[key: string]: {
|
|
65
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
66
|
-
base?: tailwind_variants.ClassValue;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", tailwind_variants_dist_config_js.TVConfig<unknown, {
|
|
70
|
-
[key: string]: {
|
|
71
|
-
[key: string]: tailwind_variants.ClassValue | {
|
|
72
|
-
base?: tailwind_variants.ClassValue;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
76
|
-
interface AccordionTriggerProps {
|
|
77
|
-
children: React.ReactNode;
|
|
78
|
-
className?: string;
|
|
79
|
-
}
|
|
80
|
-
declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): react_jsx_runtime.JSX.Element;
|
|
81
|
-
interface AccordionItemProps {
|
|
82
|
-
children: React.ReactNode;
|
|
83
|
-
value: string;
|
|
84
|
-
}
|
|
85
|
-
declare function AccordionItem({ children, value }: AccordionItemProps): react_jsx_runtime.JSX.Element;
|
|
86
|
-
interface AccordionContentProps {
|
|
87
|
-
children: React.ReactNode;
|
|
88
|
-
}
|
|
89
|
-
declare function AccordionContent({ children }: AccordionContentProps): react_jsx_runtime.JSX.Element | null;
|
|
90
|
-
|
|
91
|
-
type ButtonShape = "round" | "square" | "normal";
|
|
92
|
-
type ButtonPreset = "primary" | "secondary" | "text" | "hextech" | "dimmed";
|
|
93
|
-
interface ButtonProps extends ButtonProps$1 {
|
|
94
|
-
innerClassName?: string | ((values: ButtonRenderProps) => string);
|
|
95
|
-
preset?: ButtonPreset;
|
|
96
|
-
thin?: boolean;
|
|
97
|
-
shape?: ButtonShape;
|
|
98
|
-
}
|
|
99
|
-
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
100
|
-
|
|
101
|
-
interface CardProps extends ComponentProps<"div"> {
|
|
102
|
-
borderProps?: ComponentProps<"div">;
|
|
103
|
-
}
|
|
104
|
-
declare function Card({ children, className, style, borderProps }: CardProps): react_jsx_runtime.JSX.Element;
|
|
105
|
-
declare function borderInverted(r: string): string;
|
|
106
|
-
|
|
107
|
-
declare function Checkbox({ children, className, ...props }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
108
|
-
|
|
109
|
-
declare const divider: tailwind_variants.TVReturnType<{
|
|
110
|
-
preset: {
|
|
111
|
-
left: string;
|
|
112
|
-
right: string;
|
|
113
|
-
center: string;
|
|
114
|
-
};
|
|
115
|
-
}, undefined, "h-px grow border-0 bg-gradient-to-r", tailwind_variants_dist_config_js.TVConfig<{
|
|
116
|
-
preset: {
|
|
117
|
-
left: string;
|
|
118
|
-
right: string;
|
|
119
|
-
center: string;
|
|
120
|
-
};
|
|
121
|
-
}, {
|
|
122
|
-
preset: {
|
|
123
|
-
left: string;
|
|
124
|
-
right: string;
|
|
125
|
-
center: string;
|
|
126
|
-
};
|
|
127
|
-
}>, {
|
|
128
|
-
preset: {
|
|
129
|
-
left: string;
|
|
130
|
-
right: string;
|
|
131
|
-
center: string;
|
|
132
|
-
};
|
|
133
|
-
}, undefined, tailwind_variants.TVReturnType<{
|
|
134
|
-
preset: {
|
|
135
|
-
left: string;
|
|
136
|
-
right: string;
|
|
137
|
-
center: string;
|
|
138
|
-
};
|
|
139
|
-
}, undefined, "h-px grow border-0 bg-gradient-to-r", tailwind_variants_dist_config_js.TVConfig<{
|
|
140
|
-
preset: {
|
|
141
|
-
left: string;
|
|
142
|
-
right: string;
|
|
143
|
-
center: string;
|
|
144
|
-
};
|
|
145
|
-
}, {
|
|
146
|
-
preset: {
|
|
147
|
-
left: string;
|
|
148
|
-
right: string;
|
|
149
|
-
center: string;
|
|
150
|
-
};
|
|
151
|
-
}>, unknown, unknown, undefined>>;
|
|
152
|
-
interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
153
|
-
preset?: keyof typeof divider.variants.preset;
|
|
154
|
-
hrProps?: React.HTMLAttributes<HTMLHRElement>;
|
|
155
|
-
}
|
|
156
|
-
declare function Divider({ preset, hrProps, ...rest }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
157
|
-
|
|
158
|
-
interface ModalProps extends Omit<ModalOverlayProps, "children"> {
|
|
159
|
-
modalOverlayClassName?: ModalOverlayProps["className"];
|
|
160
|
-
dialogProps?: Omit<DialogProps, "children">;
|
|
161
|
-
children?: DialogProps["children"];
|
|
162
|
-
}
|
|
163
|
-
declare function Modal({ modalOverlayClassName, dialogProps, children, className, ...modalProps }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
164
|
-
declare function DialogHeading({ className, ...props }: HeadingProps$1): react_jsx_runtime.JSX.Element;
|
|
165
|
-
declare function DialogButtons({ children }: {
|
|
166
|
-
children: React.ReactNode;
|
|
167
|
-
}): react_jsx_runtime.JSX.Element;
|
|
168
|
-
declare function DialogTrigger(props: DialogTriggerProps): react_jsx_runtime.JSX.Element;
|
|
169
|
-
|
|
170
|
-
type NumberFieldPreset = "normal" | "dimmed";
|
|
171
|
-
declare function NumberField({ inputProps, groupProps, children, preset, ...props }: NumberFieldProps & {
|
|
172
|
-
inputProps?: ComponentProps<typeof Input>;
|
|
173
|
-
groupProps?: ComponentProps<typeof Group>;
|
|
174
|
-
preset?: NumberFieldPreset;
|
|
175
|
-
}): react_jsx_runtime.JSX.Element;
|
|
176
|
-
|
|
177
|
-
interface ProgressBarProps extends Omit<ProgressBarProps$1, "children"> {
|
|
178
|
-
label?: string;
|
|
179
|
-
}
|
|
180
|
-
declare function ProgressBar({ className, label, ...props }: ProgressBarProps): JSX.Element;
|
|
181
|
-
|
|
182
|
-
declare function RadioGroup({ className, ...props }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
183
|
-
declare function Radio({ className, ...props }: RadioProps): react_jsx_runtime.JSX.Element;
|
|
184
|
-
|
|
185
|
-
declare function SearchField({ inputProps, borderProps, children, ...props }: SearchFieldProps & {
|
|
186
|
-
inputProps?: ComponentProps<typeof Input>;
|
|
187
|
-
borderProps?: ComponentProps<"div">;
|
|
188
|
-
}): react_jsx_runtime.JSX.Element;
|
|
189
|
-
|
|
190
|
-
interface SelectProps<T extends object> extends Omit<SelectProps$1<T>, "children"> {
|
|
191
|
-
label?: string;
|
|
192
|
-
description?: string;
|
|
193
|
-
errorMessage?: string;
|
|
194
|
-
children?: ReactNode | ((item: T) => ReactNode);
|
|
195
|
-
}
|
|
196
|
-
declare function Select<T extends object>({ description, errorMessage, children, className, ...props }: SelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
197
|
-
declare function Item({ className, ...props }: ListBoxItemProps): react_jsx_runtime.JSX.Element;
|
|
198
|
-
|
|
199
|
-
declare function Slider<T extends number | number[]>({ children, className, sliderThumbProps, sliderTrackProps, sliderTrackBackgroundClassName, sliderTrackForegroundClassName, ...props }: SliderProps<T> & {
|
|
200
|
-
sliderTrackProps?: SliderTrackProps;
|
|
201
|
-
sliderThumbProps?: SliderThumbProps;
|
|
202
|
-
sliderTrackBackgroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
203
|
-
sliderTrackForegroundClassName?: string | ((values: SliderTrackRenderProps) => string);
|
|
204
|
-
}): react_jsx_runtime.JSX.Element;
|
|
205
|
-
declare function SliderOutput(props: SliderOutputProps): react_jsx_runtime.JSX.Element;
|
|
206
|
-
|
|
207
|
-
interface SpinnerProps {
|
|
208
|
-
className?: string;
|
|
209
|
-
}
|
|
210
|
-
declare function Spinner({ className }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
211
|
-
|
|
212
|
-
declare function Switch({ className, placeholder, children, ...props }: SwitchProps & {
|
|
213
|
-
placeholder?: string;
|
|
214
|
-
}): react_jsx_runtime.JSX.Element;
|
|
215
|
-
|
|
216
|
-
declare function Tabs({ onSelectionChange, ...rest }: TabsProps): react_jsx_runtime.JSX.Element;
|
|
217
|
-
declare function TabList<T extends object>({ className, ...rest }: TabListProps<T>): react_jsx_runtime.JSX.Element;
|
|
218
|
-
declare function Tab({ children, className, ...rest }: TabProps): react_jsx_runtime.JSX.Element;
|
|
219
|
-
declare function TabPanel({ ...rest }: TabPanelProps): react_jsx_runtime.JSX.Element;
|
|
220
|
-
|
|
221
|
-
declare function TextArea({ textAreaProps, borderProps, children, ...props }: TextFieldProps & {
|
|
222
|
-
textAreaProps?: TextAreaProps;
|
|
223
|
-
borderProps?: ComponentProps<"div">;
|
|
224
|
-
}): react_jsx_runtime.JSX.Element;
|
|
225
|
-
|
|
226
|
-
declare function TextField({ inputProps, borderProps, children, ...props }: TextFieldProps & {
|
|
227
|
-
inputProps?: InputProps;
|
|
228
|
-
borderProps?: ComponentProps<"div">;
|
|
229
|
-
}): react_jsx_runtime.JSX.Element;
|
|
230
|
-
|
|
231
|
-
type ToggleButtonShape = "round" | "square" | "normal";
|
|
232
|
-
type ToggleButtonPreset = "gold" | "hextech" | "dimmed";
|
|
233
|
-
interface ToggleButtonProps extends ToggleButtonProps$1 {
|
|
234
|
-
innerProps?: ComponentProps<"span">;
|
|
235
|
-
preset?: ToggleButtonPreset;
|
|
236
|
-
thin?: boolean;
|
|
237
|
-
shape?: ToggleButtonShape;
|
|
238
|
-
}
|
|
239
|
-
declare function ToggleButton({ children, className, innerProps, preset, shape, thin, ...props }: ToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
240
|
-
|
|
241
|
-
declare function Tooltip({ children, ...props }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
242
|
-
|
|
243
|
-
type HeadingColor = "gold-100" | "gold-200" | "gold-400" | "grey-100";
|
|
244
|
-
type HeadingElement = "h1" | "h2" | "h3" | "h4" | "h5";
|
|
245
|
-
interface HeadingProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement> {
|
|
246
|
-
preset?: HeadingElement;
|
|
247
|
-
color?: HeadingColor;
|
|
248
|
-
as?: HeadingElement | "span";
|
|
249
|
-
}
|
|
250
|
-
declare function Heading({ as, preset, color, className, ...rest }: HeadingProps): JSX.Element;
|
|
251
|
-
|
|
252
|
-
type TextColor = "grey-100" | "grey-150" | "gold-100";
|
|
253
|
-
type TextElement = "p" | "span" | "div";
|
|
254
|
-
type TextPreset = "sm" | "base" | "md" | "lg" | "large-number" | "stat";
|
|
255
|
-
interface TextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
256
|
-
preset?: TextPreset;
|
|
257
|
-
color?: TextColor;
|
|
258
|
-
as?: TextElement;
|
|
259
|
-
}
|
|
260
|
-
declare function Text({ as, preset, color, className, ...rest }: TextProps): JSX.Element;
|
|
261
|
-
interface LabelProps extends LabelProps$1 {
|
|
262
|
-
preset?: TextPreset | 'label';
|
|
263
|
-
color?: TextColor;
|
|
264
|
-
as?: TextElement;
|
|
265
|
-
}
|
|
266
|
-
declare function Label({ preset, color, className, ...rest }: LabelProps): JSX.Element;
|
|
267
|
-
|
|
268
|
-
declare const goldGradient = "from-lol-gold-500 via-lol-gold-400 to-lol-gold-200";
|
|
269
|
-
declare const goldGradientHover = "from-lol-gold-400 via-lol-gold-200 to-lol-gold-100";
|
|
270
|
-
declare const goldGradientPressed = "from-lol-gold-600 via-lol-gold-600 to-lol-gold-500";
|
|
271
|
-
declare const hextechGradient = "from-lol-blue-200 to-lol-blue-400";
|
|
272
|
-
declare const hextechGradientHover = "from-lol-blue-100 to-lol-blue-300";
|
|
273
|
-
declare const hextechGradientPressed = "from-lol-blue-500 to-lol-blue-400";
|
|
274
|
-
declare const dimmedGradient = "from-lol-grey-300 via-lol-grey-300 to-lol-grey-300";
|
|
275
|
-
declare const disabledGradient = "from-lol-grey-150 via-lol-grey-150 to-lol-grey-150";
|
|
276
|
-
|
|
277
|
-
declare const tv: tailwind_variants.TV;
|
|
278
|
-
|
|
279
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Button, type ButtonPreset, type ButtonShape, Card, type CardProps, Checkbox, DialogButtons, DialogHeading, DialogTrigger, Divider, Heading, type HeadingColor, type HeadingElement, Item, Label, Modal, NumberField, ProgressBar, Radio, RadioGroup, SearchField, Select, Slider, SliderOutput, Spinner, Switch, Tab, TabList, TabPanel, Tabs, Text, TextArea, type TextColor, type TextElement, TextField, type TextPreset, ToggleButton, type ToggleButtonPreset, type ToggleButtonShape, Tooltip, accordionTrigger, accordionTriggerInner, borderInverted, dimmedGradient, disabledGradient, goldGradient, goldGradientHover, goldGradientPressed, hextechGradient, hextechGradientHover, hextechGradientPressed, tv };
|