@lolmath/ui 3.2.1 → 3.2.2
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 +49 -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 +0 -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.cjs +128 -0
- package/dist/lib/components/accordion.d.cts +22 -0
- package/dist/lib/components/accordion.d.ts +22 -0
- package/dist/lib/components/button.cjs +232 -0
- package/dist/lib/components/button.d.cts +11 -0
- package/dist/lib/components/button.d.ts +11 -0
- package/dist/lib/components/card.cjs +74 -0
- package/dist/lib/components/card.d.cts +6 -0
- package/dist/lib/components/card.d.ts +6 -0
- package/dist/lib/components/checkbox.cjs +75 -0
- package/dist/lib/components/checkbox.d.cts +2 -0
- package/dist/lib/components/checkbox.d.ts +2 -0
- package/dist/lib/components/divider.cjs +52 -0
- package/dist/lib/components/divider.d.cts +49 -0
- package/dist/lib/components/divider.d.ts +49 -0
- package/dist/lib/components/modal.cjs +116 -0
- package/dist/lib/components/modal.d.cts +13 -0
- package/dist/lib/components/modal.d.ts +13 -0
- package/dist/lib/components/number-field.cjs +122 -0
- package/dist/lib/components/number-field.d.cts +10 -0
- package/dist/lib/components/number-field.d.ts +10 -0
- package/dist/lib/components/popover.cjs +1 -0
- package/dist/lib/components/popover.d.cts +0 -0
- package/dist/lib/components/popover.d.ts +0 -0
- package/dist/lib/components/progress-bar.cjs +60 -0
- package/dist/lib/components/progress-bar.d.cts +6 -0
- package/dist/lib/components/progress-bar.d.ts +6 -0
- package/dist/lib/components/radio-group.cjs +102 -0
- package/dist/lib/components/radio-group.d.cts +3 -0
- package/dist/lib/components/radio-group.d.ts +3 -0
- package/dist/lib/components/search-field.cjs +113 -0
- package/dist/lib/components/search-field.d.cts +6 -0
- package/dist/lib/components/search-field.d.ts +6 -0
- package/dist/lib/components/select.cjs +127 -0
- package/dist/lib/components/select.d.cts +11 -0
- package/dist/lib/components/select.d.ts +11 -0
- package/dist/lib/components/slider/images.cjs +37 -0
- package/dist/lib/components/slider/images.d.cts +4 -0
- package/dist/lib/components/slider/images.d.ts +4 -0
- package/dist/lib/components/slider/slider.cjs +182 -0
- package/dist/lib/components/slider/slider.d.cts +8 -0
- package/dist/lib/components/slider/slider.d.ts +8 -0
- package/dist/lib/components/spinner/images.cjs +28 -0
- package/dist/lib/components/spinner/images.d.cts +1 -0
- package/dist/lib/components/spinner/images.d.ts +1 -0
- package/dist/lib/components/spinner/spinner.cjs +45 -0
- package/dist/lib/components/spinner/spinner.d.cts +5 -0
- package/dist/lib/components/spinner/spinner.d.ts +5 -0
- package/dist/lib/components/switch.cjs +113 -0
- package/dist/lib/components/switch.d.cts +4 -0
- package/dist/lib/components/switch.d.ts +4 -0
- package/dist/lib/components/tabs.cjs +127 -0
- package/dist/lib/components/tabs.d.cts +6 -0
- package/dist/lib/components/tabs.d.ts +6 -0
- package/dist/lib/components/text-area.cjs +86 -0
- package/dist/lib/components/text-area.d.cts +6 -0
- package/dist/lib/components/text-area.d.ts +6 -0
- package/dist/lib/components/text-field.cjs +87 -0
- package/dist/lib/components/text-field.d.cts +6 -0
- package/dist/lib/components/text-field.d.ts +6 -0
- package/dist/lib/components/toggle-button.cjs +219 -0
- package/dist/lib/components/toggle-button.d.cts +12 -0
- package/dist/lib/components/toggle-button.d.ts +12 -0
- package/dist/lib/components/tooltip.cjs +96 -0
- package/dist/lib/components/tooltip.d.cts +3 -0
- package/dist/lib/components/tooltip.d.ts +3 -0
- package/dist/lib/components/typography/heading.cjs +60 -0
- package/dist/lib/components/typography/heading.d.cts +9 -0
- package/dist/lib/components/typography/heading.d.ts +9 -0
- package/dist/lib/components/typography/text.cjs +83 -0
- package/dist/lib/components/typography/text.d.cts +17 -0
- package/dist/lib/components/typography/text.d.ts +17 -0
- package/dist/lib/index.cjs +66 -0
- package/dist/lib/index.d.cts +23 -0
- package/dist/lib/index.d.ts +23 -0
- package/dist/lib/plugin.cjs +45 -0
- package/dist/lib/plugin.d.cts +4 -0
- package/dist/lib/plugin.d.ts +4 -0
- package/dist/lib/utilities/css-id.cjs +31 -0
- package/dist/lib/utilities/css-id.d.cts +1 -0
- package/dist/lib/utilities/css-id.d.ts +1 -0
- package/dist/lib/utilities/gradient.cjs +49 -0
- package/dist/lib/utilities/gradient.d.cts +8 -0
- package/dist/lib/utilities/gradient.d.ts +8 -0
- package/dist/lib/utilities/outline.cjs +28 -0
- package/dist/lib/utilities/outline.d.cts +1 -0
- package/dist/lib/utilities/outline.d.ts +1 -0
- package/dist/lib/utilities/resolve-class-name.cjs +30 -0
- package/dist/lib/utilities/resolve-class-name.d.cts +1 -0
- package/dist/lib/utilities/resolve-class-name.d.ts +1 -0
- package/dist/{plugin.cjs → lib/utilities/theme.cjs} +6 -30
- package/dist/lib/utilities/theme.d.cts +98 -0
- package/dist/lib/utilities/theme.d.ts +98 -0
- package/dist/lib/utilities/tv.cjs +43 -0
- package/dist/lib/utilities/tv.d.cts +1 -0
- package/dist/lib/utilities/tv.d.ts +1 -0
- package/dist/lib/utilities/view-transition.cjs +37 -0
- package/dist/lib/utilities/view-transition.d.cts +1 -0
- package/dist/lib/utilities/view-transition.d.ts +1 -0
- package/package.json +27 -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/es/index.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from "./components/accordion";
|
|
2
|
+
export * from "./components/button";
|
|
3
|
+
export * from "./components/card";
|
|
4
|
+
export * from "./components/checkbox";
|
|
5
|
+
export * from "./components/divider";
|
|
6
|
+
export * from "./components/modal";
|
|
7
|
+
export * from "./components/number-field";
|
|
8
|
+
export * from "./components/progress-bar";
|
|
9
|
+
export * from "./components/radio-group";
|
|
10
|
+
export * from "./components/search-field";
|
|
11
|
+
export * from "./components/select";
|
|
12
|
+
export * from "./components/slider/slider";
|
|
13
|
+
export * from "./components/spinner/spinner";
|
|
14
|
+
export * from "./components/switch";
|
|
15
|
+
export * from "./components/tabs";
|
|
16
|
+
export * from "./components/text-area";
|
|
17
|
+
export * from "./components/text-field";
|
|
18
|
+
export * from "./components/toggle-button";
|
|
19
|
+
export * from "./components/tooltip";
|
|
20
|
+
export * from "./components/typography/heading";
|
|
21
|
+
export * from "./components/typography/text";
|
|
22
|
+
export * from "./utilities/gradient";
|
|
23
|
+
export * from "./utilities/tv";
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","names":[],"sources":["../../src/index.ts"],"sourcesContent":["export * from \"./components/accordion\";\nexport * from \"./components/button\";\nexport * from \"./components/card\";\nexport * from \"./components/checkbox\";\nexport * from \"./components/divider\";\nexport * from \"./components/modal\";\nexport * from \"./components/number-field\";\nexport * from \"./components/progress-bar\";\nexport * from \"./components/radio-group\";\nexport * from \"./components/search-field\";\nexport * from \"./components/select\";\nexport * from \"./components/slider/slider\";\nexport * from \"./components/spinner/spinner\";\nexport * from \"./components/switch\";\nexport * from \"./components/tabs\";\nexport * from \"./components/text-area\";\nexport * from \"./components/text-field\";\nexport * from \"./components/toggle-button\";\nexport * from \"./components/tooltip\";\nexport * from \"./components/typography/heading\";\nexport * from \"./components/typography/text\";\nexport * from \"./utilities/gradient\";\nexport * from \"./utilities/tv\";\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAA,OAAO,YAAY;AACnB,SAAS,aAAa;AAEf,MAAM,YAAY,OAAO,SAAU,CAAC,GAAG;AAAC,GAAG;AAAA,EAChD,OAAO;AAAA,IACL,QAAQ;AAAA,EACV;AACF,CAAC","names":[],"sources":["../../src/plugin.ts"],"sourcesContent":["import plugin from \"tailwindcss/plugin\";\nimport { theme } from \"./utilities/theme\";\n\nexport const lolmathui = plugin(function ({}) {}, {\n theme: {\n extend: theme,\n },\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useCssId(): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAA,SAAS,aAAa;AAEf,SAAS,WAAW;AACzB,SAAO,MAAM,EAAE,WAAW,KAAK,EAAE;AACnC","names":[],"sources":["../../../src/utilities/css-id.tsx"],"sourcesContent":["import { useId } from \"react\";\n\nexport function useCssId() {\n return useId().replaceAll(\":\", \"\");\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const goldGradient = "from-lol-gold-500 via-lol-gold-400 to-lol-gold-200";
|
|
2
|
+
export declare const goldGradientHover = "from-lol-gold-400 via-lol-gold-200 to-lol-gold-100";
|
|
3
|
+
export declare const goldGradientPressed = "from-lol-gold-600 via-lol-gold-600 to-lol-gold-500";
|
|
4
|
+
export declare const hextechGradient = "from-lol-blue-200 to-lol-blue-400";
|
|
5
|
+
export declare const hextechGradientHover = "from-lol-blue-100 to-lol-blue-300";
|
|
6
|
+
export declare const hextechGradientPressed = "from-lol-blue-500 to-lol-blue-400";
|
|
7
|
+
export declare const dimmedGradient = "from-lol-grey-300 via-lol-grey-300 to-lol-grey-300";
|
|
8
|
+
export declare const disabledGradient = "from-lol-grey-150 via-lol-grey-150 to-lol-grey-150";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const goldGradient = "from-lol-gold-500 via-lol-gold-400 to-lol-gold-200";
|
|
2
|
+
const goldGradientHover = "from-lol-gold-400 via-lol-gold-200 to-lol-gold-100";
|
|
3
|
+
const goldGradientPressed = "from-lol-gold-600 via-lol-gold-600 to-lol-gold-500";
|
|
4
|
+
const hextechGradient = "from-lol-blue-200 to-lol-blue-400";
|
|
5
|
+
const hextechGradientHover = "from-lol-blue-100 to-lol-blue-300";
|
|
6
|
+
const hextechGradientPressed = "from-lol-blue-500 to-lol-blue-400";
|
|
7
|
+
const dimmedGradient = "from-lol-grey-300 via-lol-grey-300 to-lol-grey-300";
|
|
8
|
+
const disabledGradient = "from-lol-grey-150 via-lol-grey-150 to-lol-grey-150";
|
|
9
|
+
export {
|
|
10
|
+
dimmedGradient,
|
|
11
|
+
disabledGradient,
|
|
12
|
+
goldGradient,
|
|
13
|
+
goldGradientHover,
|
|
14
|
+
goldGradientPressed,
|
|
15
|
+
hextechGradient,
|
|
16
|
+
hextechGradientHover,
|
|
17
|
+
hextechGradientPressed
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=gradient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAO,MAAM,eACX;AACK,MAAM,oBACX;AACK,MAAM,sBACX;AAEK,MAAM,kBAAkB;AACxB,MAAM,uBAAuB;AAC7B,MAAM,yBAAyB;AAE/B,MAAM,iBACX;AACK,MAAM,mBACX","names":[],"sources":["../../../src/utilities/gradient.tsx"],"sourcesContent":["export const goldGradient =\n \"from-lol-gold-500 via-lol-gold-400 to-lol-gold-200\";\nexport const goldGradientHover =\n \"from-lol-gold-400 via-lol-gold-200 to-lol-gold-100\";\nexport const goldGradientPressed =\n \"from-lol-gold-600 via-lol-gold-600 to-lol-gold-500\";\n\nexport const hextechGradient = \"from-lol-blue-200 to-lol-blue-400\";\nexport const hextechGradientHover = \"from-lol-blue-100 to-lol-blue-300\";\nexport const hextechGradientPressed = \"from-lol-blue-500 to-lol-blue-400\";\n\nexport const dimmedGradient =\n \"from-lol-grey-300 via-lol-grey-300 to-lol-grey-300\";\nexport const disabledGradient =\n \"from-lol-grey-150 via-lol-grey-150 to-lol-grey-150\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const outlineClassName = "outline outline-[#dcc188] outline-offset-2 outline-1";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAO,MAAM,mBACX","names":[],"sources":["../../../src/utilities/outline.tsx"],"sourcesContent":["export const outlineClassName =\n \"outline outline-[#dcc188] outline-offset-2 outline-1\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveClassName(className: ((values: any) => string) | string | undefined, values: any): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAO,SAAS,iBACd,WACA,QACQ;AACR,SAAO,OAAO,cAAc,aAAa,UAAU,MAAM,IAAI,aAAa;AAC5E","names":[],"sources":["../../../src/utilities/resolve-class-name.ts"],"sourcesContent":["export function resolveClassName(\n className: ((values: any) => string) | string | undefined,\n values: any,\n): string {\n return typeof className === \"function\" ? className(values) : className ?? \"\";\n}\n"]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const theme: {
|
|
2
|
+
colors: {
|
|
3
|
+
lol: {
|
|
4
|
+
blue: {
|
|
5
|
+
100: string;
|
|
6
|
+
200: string;
|
|
7
|
+
300: string;
|
|
8
|
+
400: string;
|
|
9
|
+
500: string;
|
|
10
|
+
600: string;
|
|
11
|
+
700: string;
|
|
12
|
+
};
|
|
13
|
+
grey: {
|
|
14
|
+
100: string;
|
|
15
|
+
150: string;
|
|
16
|
+
200: string;
|
|
17
|
+
300: string;
|
|
18
|
+
cool: string;
|
|
19
|
+
"hextech-black": string;
|
|
20
|
+
};
|
|
21
|
+
gold: {
|
|
22
|
+
100: string;
|
|
23
|
+
200: string;
|
|
24
|
+
300: string;
|
|
25
|
+
400: string;
|
|
26
|
+
500: string;
|
|
27
|
+
600: string;
|
|
28
|
+
700: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
fontSize: {
|
|
33
|
+
"lol-h5": [string, {
|
|
34
|
+
lineHeight: string;
|
|
35
|
+
letterSpacing: string;
|
|
36
|
+
fontWeight: number;
|
|
37
|
+
}];
|
|
38
|
+
"lol-h4": [string, {
|
|
39
|
+
lineHeight: string;
|
|
40
|
+
letterSpacing: string;
|
|
41
|
+
fontWeight: number;
|
|
42
|
+
}];
|
|
43
|
+
"lol-h3": [string, {
|
|
44
|
+
lineHeight: string;
|
|
45
|
+
letterSpacing: string;
|
|
46
|
+
fontWeight: number;
|
|
47
|
+
}];
|
|
48
|
+
"lol-h2": [string, {
|
|
49
|
+
lineHeight: string;
|
|
50
|
+
letterSpacing: string;
|
|
51
|
+
fontWeight: number;
|
|
52
|
+
}];
|
|
53
|
+
"lol-h1": [string, {
|
|
54
|
+
lineHeight: string;
|
|
55
|
+
letterSpacing: string;
|
|
56
|
+
fontWeight: number;
|
|
57
|
+
}];
|
|
58
|
+
"lol-label": [string, {
|
|
59
|
+
lineHeight: string;
|
|
60
|
+
letterSpacing: string;
|
|
61
|
+
fontWeight: number;
|
|
62
|
+
}];
|
|
63
|
+
"lol-stat": [string, {
|
|
64
|
+
lineHeight: string;
|
|
65
|
+
letterSpacing: string;
|
|
66
|
+
fontWeight: number;
|
|
67
|
+
}];
|
|
68
|
+
"lol-large-number": [string, {
|
|
69
|
+
lineHeight: string;
|
|
70
|
+
letterSpacing: string;
|
|
71
|
+
fontWeight: number;
|
|
72
|
+
}];
|
|
73
|
+
"lol-sm": [string, {
|
|
74
|
+
lineHeight: string;
|
|
75
|
+
letterSpacing: string;
|
|
76
|
+
fontWeight: number;
|
|
77
|
+
}];
|
|
78
|
+
"lol-base": [string, {
|
|
79
|
+
lineHeight: string;
|
|
80
|
+
letterSpacing: string;
|
|
81
|
+
fontWeight: number;
|
|
82
|
+
}];
|
|
83
|
+
"lol-md": [string, {
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
letterSpacing: string;
|
|
86
|
+
fontWeight: number;
|
|
87
|
+
}];
|
|
88
|
+
"lol-lg": [string, {
|
|
89
|
+
lineHeight: string;
|
|
90
|
+
letterSpacing: string;
|
|
91
|
+
fontWeight: number;
|
|
92
|
+
}];
|
|
93
|
+
};
|
|
94
|
+
fontFamily: {
|
|
95
|
+
beaufort: string;
|
|
96
|
+
spiegel: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var theme = {
|
|
1
|
+
const theme = {
|
|
3
2
|
colors: {
|
|
4
3
|
lol: {
|
|
5
4
|
blue: {
|
|
@@ -107,8 +106,8 @@ var theme = {
|
|
|
107
106
|
spiegel: "spiegel"
|
|
108
107
|
}
|
|
109
108
|
};
|
|
110
|
-
|
|
111
109
|
export {
|
|
112
110
|
theme
|
|
113
111
|
};
|
|
114
|
-
|
|
112
|
+
|
|
113
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAEO,MAAM,QAAQ;AAAA,EACnB,QAAQ;AAAA,IACN,KAAK;AAAA,MACH,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,MACP;AAAA,MACA,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,MAAM;AAAA,QACN,iBAAiB;AAAA,MACnB;AAAA,MACA,MAAM;AAAA,QACJ,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,QACL,KAAK;AAAA,MACP;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA;AAAA,IAER,UAAU;AAAA,MACR;AAAA,MACA,EAAE,YAAY,UAAU,eAAe,WAAW,YAAY,IAAI;AAAA,IACpE;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA,EAAE,YAAY,aAAa,eAAe,UAAU,YAAY,IAAI;AAAA,IACtE;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA,EAAE,YAAY,aAAa,eAAe,UAAU,YAAY,IAAI;AAAA,IACtE;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA,EAAE,YAAY,aAAa,eAAe,UAAU,YAAY,IAAI;AAAA,IACtE;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA,EAAE,YAAY,UAAU,eAAe,UAAU,YAAY,IAAI;AAAA,IACnE;AAAA;AAAA,IAGA,aAAa;AAAA,MACX;AAAA,MACA,EAAE,YAAY,aAAa,eAAe,UAAU,YAAY,IAAI;AAAA,IACtE;AAAA,IACA,YAAY;AAAA,MACV;AAAA,MACA,EAAE,YAAY,aAAa,eAAe,UAAU,YAAY,IAAI;AAAA,IACtE;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,MACA;AAAA,QACE,YAAY;AAAA,QACZ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA;AAAA,QACE,YAAY;AAAA,QACZ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,MACA;AAAA,QACE,YAAY;AAAA,QACZ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA;AAAA,QACE,YAAY;AAAA,QACZ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,IACA,UAAU;AAAA,MACR;AAAA,MACA;AAAA,QACE,YAAY;AAAA,QACZ,eAAe;AAAA,QACf,YAAY;AAAA,MACd;AAAA,IACF;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IACV,UAAU;AAAA,IACV,SAAS;AAAA,EACX;AACF","names":[],"sources":["../../../src/utilities/theme.ts"],"sourcesContent":["import { ThemeConfig } from \"tailwindcss/types/config\";\n\nexport const theme = {\n colors: {\n lol: {\n blue: {\n 100: \"#CDFAFA\",\n 200: \"#0AC8B9\",\n 300: \"#0397AB\",\n 400: \"#005A82\",\n 500: \"#0A323C\",\n 600: \"#091428\",\n 700: \"#0A1428\",\n },\n grey: {\n 100: \"#A09B8C\",\n 150: \"#5B5A56\",\n 200: \"#3C3C41\",\n 300: \"#1E2328\",\n cool: \"#1E282D\",\n \"hextech-black\": \"#010A13\",\n },\n gold: {\n 100: \"#F0E6D2\",\n 200: \"#C8AA6E\",\n 300: \"#CDBE91\",\n 400: \"#C89B3C\",\n 500: \"#785A28\",\n 600: \"#463714\",\n 700: \"#32281E\",\n },\n },\n },\n fontSize: {\n // Heading\n \"lol-h5\": [\n \"1.1667rem\",\n { lineHeight: \"1.5rem\", letterSpacing: \"0.075em\", fontWeight: 700 },\n ],\n \"lol-h4\": [\n \"1.5rem\",\n { lineHeight: \"1.8333rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n \"lol-h3\": [\n \"1.9167rem\",\n { lineHeight: \"2.3333rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n \"lol-h2\": [\n \"2.3333rem\",\n { lineHeight: \"2.6667rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n \"lol-h1\": [\n \"3.3333rem\",\n { lineHeight: \"3.5rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n\n // Text\n \"lol-label\": [\n \"0.9167rem\",\n { lineHeight: \"1.3333rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n \"lol-stat\": [\n \"1.1667rem\",\n { lineHeight: \"1.6667rem\", letterSpacing: \"0.05em\", fontWeight: 700 },\n ],\n \"lol-large-number\": [\n \"4.75rem\",\n {\n lineHeight: \"5.1667rem\",\n letterSpacing: \"0.025em\",\n fontWeight: 500,\n },\n ],\n \"lol-sm\": [\n \"0.875rem\",\n {\n lineHeight: \"1.1025rem\",\n letterSpacing: \"0.02em\",\n fontWeight: 400,\n },\n ],\n \"lol-base\": [\n \"1rem\",\n {\n lineHeight: \"1.24rem\",\n letterSpacing: \"0.01em\",\n fontWeight: 400,\n },\n ],\n \"lol-md\": [\n \"1.1667rem\",\n {\n lineHeight: \"1.6667rem\",\n letterSpacing: \"0.025em\",\n fontWeight: 400,\n },\n ],\n \"lol-lg\": [\n \"1.5rem\",\n {\n lineHeight: \"1.875rem\",\n letterSpacing: \"0.025em\",\n fontWeight: 400,\n },\n ],\n },\n fontFamily: {\n beaufort: \"beaufort\",\n spiegel: \"spiegel\",\n },\n} satisfies Partial<ThemeConfig>;\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const tv: import("tailwind-variants").TV;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createTV } from "tailwind-variants";
|
|
2
|
+
import { theme } from "./theme";
|
|
3
|
+
const tv = createTV({
|
|
4
|
+
twMergeConfig: {
|
|
5
|
+
// theme: {
|
|
6
|
+
// colors: formatColors(),
|
|
7
|
+
// },
|
|
8
|
+
classGroups: {
|
|
9
|
+
"font-size": [
|
|
10
|
+
{
|
|
11
|
+
text: Object.keys(theme.fontSize)
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
tv
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=tv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAA,SAAS,gBAAgB;AACzB,SAAS,aAAa;AAiBf,MAAM,KAAK,SAAS;AAAA,EACzB,eAAe;AAAA;AAAA;AAAA;AAAA,IAIb,aAAa;AAAA,MACX,aAAa;AAAA,QACX;AAAA,UACE,MAAM,OAAO,KAAK,MAAM,QAAQ;AAAA,QAClC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC","names":[],"sources":["../../../src/utilities/tv.ts"],"sourcesContent":["import { createTV } from \"tailwind-variants\";\nimport { theme } from \"./theme\";\n\n// function formatColors() {\n// const colors = [];\n// for (const [key, color] of Object.entries(theme.colors)) {\n// if (typeof color === \"string\") {\n// colors.push(key);\n// } else {\n// const colorGroup = Object.keys(color).map((subKey) =>\n// subKey === \"DEFAULT\" ? \"\" : subKey,\n// );\n// colors.push({ [key]: colorGroup });\n// }\n// }\n// return colors;\n// }\n\nexport const tv = createTV({\n twMergeConfig: {\n // theme: {\n // colors: formatColors(),\n // },\n classGroups: {\n \"font-size\": [\n {\n text: Object.keys(theme.fontSize),\n },\n ],\n },\n },\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function startViewTransition(callback: () => void): void;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { flushSync } from "react-dom";
|
|
2
|
+
function startViewTransition(callback) {
|
|
3
|
+
if ("startViewTransition" in document) {
|
|
4
|
+
document.startViewTransition(() => {
|
|
5
|
+
flushSync(callback);
|
|
6
|
+
});
|
|
7
|
+
} else {
|
|
8
|
+
callback();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
startViewTransition
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=view-transition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":"AAAA,SAAS,iBAAiB;AAEnB,SAAS,oBAAoB,UAAsB;AACxD,MAAI,yBAAyB,UAAU;AACrC,IAAC,SAAS,oBAA4B,MAAM;AAC1C,gBAAU,QAAQ;AAAA,IACpB,CAAC;AAAA,EACH,OAAO;AACL,aAAS;AAAA,EACX;AACF","names":[],"sources":["../../../src/utilities/view-transition.tsx"],"sourcesContent":["import { flushSync } from \"react-dom\";\n\nexport function startViewTransition(callback: () => void) {\n if (\"startViewTransition\" in document) {\n (document.startViewTransition as any)(() => {\n flushSync(callback);\n });\n } else {\n callback();\n }\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwic291cmNlcyI6W10sInNvdXJjZXNDb250ZW50IjpbXX0="]}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
var accordion_exports = {};
|
|
21
|
+
__export(accordion_exports, {
|
|
22
|
+
Accordion: () => Accordion,
|
|
23
|
+
AccordionContent: () => AccordionContent,
|
|
24
|
+
AccordionItem: () => AccordionItem,
|
|
25
|
+
AccordionTrigger: () => AccordionTrigger,
|
|
26
|
+
accordionTrigger: () => accordionTrigger,
|
|
27
|
+
accordionTriggerInner: () => accordionTriggerInner
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(accordion_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_react = require("react");
|
|
32
|
+
var import_css_id = require("../utilities/css-id.cjs");
|
|
33
|
+
var import_view_transition = require("../utilities/view-transition.cjs");
|
|
34
|
+
var import_tv = require("../utilities/tv.cjs");
|
|
35
|
+
function Accordion({ children, className }) {
|
|
36
|
+
const [activeItem, setActiveItem] = (0, import_react.useState)("");
|
|
37
|
+
const id = (0, import_css_id.useCssId)();
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
AccordionContext.Provider,
|
|
40
|
+
{
|
|
41
|
+
value: {
|
|
42
|
+
activeItem,
|
|
43
|
+
setActiveItem,
|
|
44
|
+
id
|
|
45
|
+
},
|
|
46
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
className,
|
|
50
|
+
style: {
|
|
51
|
+
viewTransitionName: `${id}`
|
|
52
|
+
},
|
|
53
|
+
children
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
const accordionTrigger = (0, import_tv.tv)({
|
|
60
|
+
base: "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"
|
|
61
|
+
});
|
|
62
|
+
const accordionTriggerInner = (0, import_tv.tv)({
|
|
63
|
+
base: "ml-0.5 mr-2 inline-block rotate-90 transform text-xs"
|
|
64
|
+
});
|
|
65
|
+
function AccordionTrigger({
|
|
66
|
+
children,
|
|
67
|
+
className
|
|
68
|
+
}) {
|
|
69
|
+
const { setActiveItem } = (0, import_react.useContext)(AccordionContext);
|
|
70
|
+
const { item } = (0, import_react.useContext)(AccordionItemContext);
|
|
71
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
72
|
+
"button",
|
|
73
|
+
{
|
|
74
|
+
className: accordionTrigger({
|
|
75
|
+
className
|
|
76
|
+
}),
|
|
77
|
+
onClick: () => {
|
|
78
|
+
(0, import_view_transition.startViewTransition)(() => {
|
|
79
|
+
setActiveItem((currentItem) => currentItem === item ? "" : item);
|
|
80
|
+
});
|
|
81
|
+
},
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: accordionTriggerInner(), children: "❯" }),
|
|
84
|
+
children
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
function AccordionItem({ children, value }) {
|
|
90
|
+
const { id } = (0, import_react.useContext)(AccordionContext);
|
|
91
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
92
|
+
AccordionItemContext.Provider,
|
|
93
|
+
{
|
|
94
|
+
value: {
|
|
95
|
+
item: value
|
|
96
|
+
},
|
|
97
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
98
|
+
"div",
|
|
99
|
+
{
|
|
100
|
+
className: "border-lol-gold-600 border-b last-of-type:border-none",
|
|
101
|
+
style: {
|
|
102
|
+
viewTransitionName: `${id}-${value}`
|
|
103
|
+
},
|
|
104
|
+
children
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
function AccordionContent({ children }) {
|
|
111
|
+
const { activeItem } = (0, import_react.useContext)(AccordionContext);
|
|
112
|
+
const { item } = (0, import_react.useContext)(AccordionItemContext);
|
|
113
|
+
if (activeItem !== item) {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "font-spiegel text-lol-grey-100 py-2", children });
|
|
117
|
+
}
|
|
118
|
+
const AccordionContext = (0, import_react.createContext)(void 0);
|
|
119
|
+
const AccordionItemContext = (0, import_react.createContext)(void 0);
|
|
120
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
121
|
+
0 && (module.exports = {
|
|
122
|
+
Accordion,
|
|
123
|
+
AccordionContent,
|
|
124
|
+
AccordionItem,
|
|
125
|
+
AccordionTrigger,
|
|
126
|
+
accordionTrigger,
|
|
127
|
+
accordionTriggerInner
|
|
128
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface AccordionProps {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function Accordion({ children, className }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const accordionTrigger: import("tailwind-variants").TVReturnType<{} | {} | {}, 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", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("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", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
7
|
+
export declare const accordionTriggerInner: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
8
|
+
interface AccordionTriggerProps {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
interface AccordionItemProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
value: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function AccordionItem({ children, value }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
interface AccordionContentProps {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare function AccordionContent({ children }: AccordionContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface AccordionProps {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function Accordion({ children, className }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const accordionTrigger: import("tailwind-variants").TVReturnType<{} | {} | {}, 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", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("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", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
7
|
+
export declare const accordionTriggerInner: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "ml-0.5 mr-2 inline-block rotate-90 transform text-xs", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
8
|
+
interface AccordionTriggerProps {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
interface AccordionItemProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
value: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function AccordionItem({ children, value }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
interface AccordionContentProps {
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export declare function AccordionContent({ children }: AccordionContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
22
|
+
export {};
|