@lolmath/ui 4.1.0 → 5.0.0
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/index.css +1378 -0
- package/dist/es/index.d.ts +522 -24
- package/dist/es/index.js +1693 -25
- package/dist/es/index.js.map +1 -1
- package/dist/es/plugin.d.ts +7 -3
- package/dist/es/plugin.js +23 -22
- package/dist/es/plugin.js.map +1 -1
- package/dist/font/beaufort/beaufort.css +50 -50
- package/dist/font/spiegel/spiegel.css +25 -30
- package/dist/lib/index.css +1378 -0
- package/dist/lib/index.d.ts +522 -24
- package/dist/lib/index.js +1642 -48
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/plugin.d.ts +7 -3
- package/dist/lib/plugin.js +24 -22
- package/dist/lib/plugin.js.map +1 -1
- package/package.json +16 -14
- package/readme.md +39 -2
- package/dist/es/assets/active.4113e6b2.png +0 -0
- package/dist/es/assets/checked-disabled.b5430cf5.png +0 -0
- package/dist/es/assets/checked-hover.d13cb1b3.png +0 -0
- package/dist/es/assets/checked-hovered.67390091.png +0 -0
- package/dist/es/assets/checked-pressed.cffd963b.png +0 -0
- package/dist/es/assets/checked.3258b858.png +0 -0
- package/dist/es/assets/checked.b9e4b215.png +0 -0
- package/dist/es/assets/closed.484c8084.png +0 -0
- package/dist/es/assets/disabled.87ad565d.png +0 -0
- package/dist/es/assets/dropdown-check.bed4dc45.png +0 -0
- package/dist/es/assets/hover.404fa456.png +0 -0
- package/dist/es/assets/indeterminate-hover.68fcbcda.png +0 -0
- package/dist/es/assets/indeterminate.90d6dc3e.png +0 -0
- package/dist/es/assets/normal.e4c594a1.png +0 -0
- package/dist/es/assets/open.a8643ee6.png +0 -0
- package/dist/es/assets/search.c15f1e1d.png +0 -0
- package/dist/es/assets/spinner.a69432f7.png +0 -0
- package/dist/es/assets/unchecked-disabled.702505e2.png +0 -0
- package/dist/es/assets/unchecked-hover.c8e5f2d0.png +0 -0
- package/dist/es/assets/unchecked-hovered.e26c4420.png +0 -0
- package/dist/es/assets/unchecked-pressed.161ab6f8.png +0 -0
- package/dist/es/assets/unchecked.ad8e0a95.png +0 -0
- package/dist/es/assets/unchecked.cc033abe.png +0 -0
- package/dist/es/components/accordion.d.ts +0 -74
- package/dist/es/components/accordion.js +0 -74
- package/dist/es/components/accordion.js.map +0 -1
- package/dist/es/components/accordion.module.js +0 -7
- package/dist/es/components/accordion.module.js.map +0 -1
- package/dist/es/components/accordion_module.css +0 -37
- package/dist/es/components/breadcrumbs.d.ts +0 -3
- package/dist/es/components/breadcrumbs.js +0 -67
- package/dist/es/components/breadcrumbs.js.map +0 -1
- package/dist/es/components/breadcrumbs.module.js +0 -7
- package/dist/es/components/breadcrumbs.module.js.map +0 -1
- package/dist/es/components/breadcrumbs_module.css +0 -23
- package/dist/es/components/button-link.d.ts +0 -11
- package/dist/es/components/button-link.js +0 -39
- package/dist/es/components/button-link.js.map +0 -1
- package/dist/es/components/button.d.ts +0 -76
- package/dist/es/components/button.js +0 -78
- package/dist/es/components/button.js.map +0 -1
- package/dist/es/components/button.module.js +0 -7
- package/dist/es/components/button.module.js.map +0 -1
- package/dist/es/components/button_module.css +0 -159
- package/dist/es/components/card.d.ts +0 -6
- package/dist/es/components/card.js +0 -32
- package/dist/es/components/card.js.map +0 -1
- package/dist/es/components/card.module.js +0 -7
- package/dist/es/components/card.module.js.map +0 -1
- package/dist/es/components/card_module.css +0 -16
- package/dist/es/components/checkbox/checkbox.d.ts +0 -2
- package/dist/es/components/checkbox/checkbox.js +0 -55
- package/dist/es/components/checkbox/checkbox.js.map +0 -1
- package/dist/es/components/checkbox/checkbox.module.js +0 -7
- package/dist/es/components/checkbox/checkbox.module.js.map +0 -1
- package/dist/es/components/checkbox/checkbox_module.css +0 -17
- package/dist/es/components/divider.d.ts +0 -6
- package/dist/es/components/divider.js +0 -31
- package/dist/es/components/divider.js.map +0 -1
- package/dist/es/components/divider.module.js +0 -7
- package/dist/es/components/divider.module.js.map +0 -1
- package/dist/es/components/divider_module.css +0 -29
- package/dist/es/components/modal.d.ts +0 -13
- package/dist/es/components/modal.js +0 -86
- package/dist/es/components/modal.js.map +0 -1
- package/dist/es/components/modal.module.js +0 -7
- package/dist/es/components/modal.module.js.map +0 -1
- package/dist/es/components/modal_module.css +0 -80
- package/dist/es/components/number-field.d.ts +0 -10
- package/dist/es/components/number-field.js +0 -103
- package/dist/es/components/number-field.js.map +0 -1
- package/dist/es/components/number-field.module.js +0 -7
- package/dist/es/components/number-field.module.js.map +0 -1
- package/dist/es/components/number-field_module.css +0 -54
- package/dist/es/components/popover.d.ts +0 -1
- package/dist/es/components/popover.js +0 -0
- package/dist/es/components/popover.module.css +0 -0
- package/dist/es/components/progress-bar.d.ts +0 -6
- package/dist/es/components/progress-bar.js +0 -25
- package/dist/es/components/progress-bar.js.map +0 -1
- package/dist/es/components/progress-bar.module.js +0 -7
- package/dist/es/components/progress-bar.module.js.map +0 -1
- package/dist/es/components/progress-bar_module.css +0 -33
- package/dist/es/components/radio-group/radio-group.d.ts +0 -3
- package/dist/es/components/radio-group/radio-group.js +0 -46
- package/dist/es/components/radio-group/radio-group.js.map +0 -1
- package/dist/es/components/radio-group/radio-group.module.js +0 -7
- package/dist/es/components/radio-group/radio-group.module.js.map +0 -1
- package/dist/es/components/radio-group/radio-group_module.css +0 -53
- package/dist/es/components/search-field/search-field.d.ts +0 -6
- package/dist/es/components/search-field/search-field.js +0 -67
- package/dist/es/components/search-field/search-field.js.map +0 -1
- package/dist/es/components/search-field/search-field.module.js +0 -7
- package/dist/es/components/search-field/search-field.module.js.map +0 -1
- package/dist/es/components/search-field/search-field_module.css +0 -76
- package/dist/es/components/select/select.d.ts +0 -11
- package/dist/es/components/select/select.js +0 -77
- package/dist/es/components/select/select.js.map +0 -1
- package/dist/es/components/select/select.module.js +0 -7
- package/dist/es/components/select/select.module.js.map +0 -1
- package/dist/es/components/select/select_module.css +0 -83
- package/dist/es/components/slider/slider.d.ts +0 -8
- package/dist/es/components/slider/slider.js +0 -146
- package/dist/es/components/slider/slider.js.map +0 -1
- package/dist/es/components/slider/slider.module.js +0 -7
- package/dist/es/components/slider/slider.module.js.map +0 -1
- package/dist/es/components/slider/slider_module.css +0 -60
- package/dist/es/components/spinner/spinner.d.ts +0 -5
- package/dist/es/components/spinner/spinner.js +0 -21
- package/dist/es/components/spinner/spinner.js.map +0 -1
- package/dist/es/components/spinner/spinner.module.js +0 -7
- package/dist/es/components/spinner/spinner.module.js.map +0 -1
- package/dist/es/components/spinner/spinner_module.css +0 -16
- package/dist/es/components/switch.d.ts +0 -4
- package/dist/es/components/switch.js +0 -61
- package/dist/es/components/switch.js.map +0 -1
- package/dist/es/components/switch.module.js +0 -7
- package/dist/es/components/switch.module.js.map +0 -1
- package/dist/es/components/switch_module.css +0 -69
- package/dist/es/components/tabs.d.ts +0 -6
- package/dist/es/components/tabs.js +0 -71
- package/dist/es/components/tabs.js.map +0 -1
- package/dist/es/components/tabs.module.js +0 -7
- package/dist/es/components/tabs.module.js.map +0 -1
- package/dist/es/components/tabs_module.css +0 -50
- package/dist/es/components/text-area.d.ts +0 -4
- package/dist/es/components/text-area.js +0 -31
- package/dist/es/components/text-area.js.map +0 -1
- package/dist/es/components/text-field.d.ts +0 -64
- package/dist/es/components/text-field.js +0 -46
- package/dist/es/components/text-field.js.map +0 -1
- package/dist/es/components/text-field.module.js +0 -7
- package/dist/es/components/text-field.module.js.map +0 -1
- package/dist/es/components/text-field_module.css +0 -33
- package/dist/es/components/toggle-button.d.ts +0 -10
- package/dist/es/components/toggle-button.js +0 -68
- package/dist/es/components/toggle-button.js.map +0 -1
- package/dist/es/components/tooltip.d.ts +0 -3
- package/dist/es/components/tooltip.js +0 -67
- package/dist/es/components/tooltip.js.map +0 -1
- package/dist/es/components/tooltip.module.js +0 -7
- package/dist/es/components/tooltip.module.js.map +0 -1
- package/dist/es/components/tooltip_module.css +0 -66
- package/dist/es/components/typography/heading.d.ts +0 -67
- package/dist/es/components/typography/heading.js +0 -40
- package/dist/es/components/typography/heading.js.map +0 -1
- package/dist/es/components/typography/heading.module.js +0 -7
- package/dist/es/components/typography/heading.module.js.map +0 -1
- package/dist/es/components/typography/heading_module.css +0 -56
- package/dist/es/components/typography/text.d.ts +0 -17
- package/dist/es/components/typography/text.js +0 -63
- package/dist/es/components/typography/text.js.map +0 -1
- package/dist/es/components/typography/text.module.js +0 -7
- package/dist/es/components/typography/text.module.js.map +0 -1
- package/dist/es/components/typography/text_module.css +0 -64
- package/dist/es/style.css +0 -113
- package/dist/es/utilities/resolve-class-name.d.ts +0 -1
- package/dist/es/utilities/resolve-class-name.js +0 -8
- package/dist/es/utilities/resolve-class-name.js.map +0 -1
- package/dist/lib/assets/active.4113e6b2.png +0 -0
- package/dist/lib/assets/checked-disabled.b5430cf5.png +0 -0
- package/dist/lib/assets/checked-hover.d13cb1b3.png +0 -0
- package/dist/lib/assets/checked-hovered.67390091.png +0 -0
- package/dist/lib/assets/checked-pressed.cffd963b.png +0 -0
- package/dist/lib/assets/checked.3258b858.png +0 -0
- package/dist/lib/assets/checked.b9e4b215.png +0 -0
- package/dist/lib/assets/closed.484c8084.png +0 -0
- package/dist/lib/assets/disabled.87ad565d.png +0 -0
- package/dist/lib/assets/dropdown-check.bed4dc45.png +0 -0
- package/dist/lib/assets/hover.404fa456.png +0 -0
- package/dist/lib/assets/indeterminate-hover.68fcbcda.png +0 -0
- package/dist/lib/assets/indeterminate.90d6dc3e.png +0 -0
- package/dist/lib/assets/normal.e4c594a1.png +0 -0
- package/dist/lib/assets/open.a8643ee6.png +0 -0
- package/dist/lib/assets/search.c15f1e1d.png +0 -0
- package/dist/lib/assets/spinner.a69432f7.png +0 -0
- package/dist/lib/assets/unchecked-disabled.702505e2.png +0 -0
- package/dist/lib/assets/unchecked-hover.c8e5f2d0.png +0 -0
- package/dist/lib/assets/unchecked-hovered.e26c4420.png +0 -0
- package/dist/lib/assets/unchecked-pressed.161ab6f8.png +0 -0
- package/dist/lib/assets/unchecked.ad8e0a95.png +0 -0
- package/dist/lib/assets/unchecked.cc033abe.png +0 -0
- package/dist/lib/components/accordion.d.ts +0 -74
- package/dist/lib/components/accordion.js +0 -112
- package/dist/lib/components/accordion.js.map +0 -1
- package/dist/lib/components/accordion.module.js +0 -27
- package/dist/lib/components/accordion.module.js.map +0 -1
- package/dist/lib/components/accordion_module.css +0 -37
- package/dist/lib/components/breadcrumbs.d.ts +0 -3
- package/dist/lib/components/breadcrumbs.js +0 -98
- package/dist/lib/components/breadcrumbs.js.map +0 -1
- package/dist/lib/components/breadcrumbs.module.js +0 -27
- package/dist/lib/components/breadcrumbs.module.js.map +0 -1
- package/dist/lib/components/breadcrumbs_module.css +0 -23
- package/dist/lib/components/button-link.d.ts +0 -11
- package/dist/lib/components/button-link.js +0 -64
- package/dist/lib/components/button-link.js.map +0 -1
- package/dist/lib/components/button.d.ts +0 -76
- package/dist/lib/components/button.js +0 -112
- package/dist/lib/components/button.js.map +0 -1
- package/dist/lib/components/button.module.js +0 -27
- package/dist/lib/components/button.module.js.map +0 -1
- package/dist/lib/components/button_module.css +0 -159
- package/dist/lib/components/card.d.ts +0 -6
- package/dist/lib/components/card.js +0 -66
- package/dist/lib/components/card.js.map +0 -1
- package/dist/lib/components/card.module.js +0 -27
- package/dist/lib/components/card.module.js.map +0 -1
- package/dist/lib/components/card_module.css +0 -16
- package/dist/lib/components/checkbox/checkbox.d.ts +0 -2
- package/dist/lib/components/checkbox/checkbox.js +0 -87
- package/dist/lib/components/checkbox/checkbox.js.map +0 -1
- package/dist/lib/components/checkbox/checkbox.module.js +0 -27
- package/dist/lib/components/checkbox/checkbox.module.js.map +0 -1
- package/dist/lib/components/checkbox/checkbox_module.css +0 -17
- package/dist/lib/components/divider.d.ts +0 -6
- package/dist/lib/components/divider.js +0 -65
- package/dist/lib/components/divider.js.map +0 -1
- package/dist/lib/components/divider.module.js +0 -27
- package/dist/lib/components/divider.module.js.map +0 -1
- package/dist/lib/components/divider_module.css +0 -29
- package/dist/lib/components/modal.d.ts +0 -13
- package/dist/lib/components/modal.js +0 -117
- package/dist/lib/components/modal.js.map +0 -1
- package/dist/lib/components/modal.module.js +0 -27
- package/dist/lib/components/modal.module.js.map +0 -1
- package/dist/lib/components/modal_module.css +0 -80
- package/dist/lib/components/number-field.d.ts +0 -10
- package/dist/lib/components/number-field.js +0 -132
- package/dist/lib/components/number-field.js.map +0 -1
- package/dist/lib/components/number-field.module.js +0 -27
- package/dist/lib/components/number-field.module.js.map +0 -1
- package/dist/lib/components/number-field_module.css +0 -54
- package/dist/lib/components/popover.d.ts +0 -1
- package/dist/lib/components/popover.js +0 -1
- package/dist/lib/components/popover.module.css +0 -0
- package/dist/lib/components/progress-bar.d.ts +0 -6
- package/dist/lib/components/progress-bar.js +0 -56
- package/dist/lib/components/progress-bar.js.map +0 -1
- package/dist/lib/components/progress-bar.module.js +0 -27
- package/dist/lib/components/progress-bar.module.js.map +0 -1
- package/dist/lib/components/progress-bar_module.css +0 -33
- package/dist/lib/components/radio-group/radio-group.d.ts +0 -3
- package/dist/lib/components/radio-group/radio-group.js +0 -78
- package/dist/lib/components/radio-group/radio-group.js.map +0 -1
- package/dist/lib/components/radio-group/radio-group.module.js +0 -27
- package/dist/lib/components/radio-group/radio-group.module.js.map +0 -1
- package/dist/lib/components/radio-group/radio-group_module.css +0 -53
- package/dist/lib/components/search-field/search-field.d.ts +0 -6
- package/dist/lib/components/search-field/search-field.js +0 -97
- package/dist/lib/components/search-field/search-field.js.map +0 -1
- package/dist/lib/components/search-field/search-field.module.js +0 -27
- package/dist/lib/components/search-field/search-field.module.js.map +0 -1
- package/dist/lib/components/search-field/search-field_module.css +0 -76
- package/dist/lib/components/select/select.d.ts +0 -11
- package/dist/lib/components/select/select.js +0 -104
- package/dist/lib/components/select/select.js.map +0 -1
- package/dist/lib/components/select/select.module.js +0 -27
- package/dist/lib/components/select/select.module.js.map +0 -1
- package/dist/lib/components/select/select_module.css +0 -83
- package/dist/lib/components/slider/slider.d.ts +0 -8
- package/dist/lib/components/slider/slider.js +0 -176
- package/dist/lib/components/slider/slider.js.map +0 -1
- package/dist/lib/components/slider/slider.module.js +0 -27
- package/dist/lib/components/slider/slider.module.js.map +0 -1
- package/dist/lib/components/slider/slider_module.css +0 -60
- package/dist/lib/components/spinner/spinner.d.ts +0 -5
- package/dist/lib/components/spinner/spinner.js +0 -55
- package/dist/lib/components/spinner/spinner.js.map +0 -1
- package/dist/lib/components/spinner/spinner.module.js +0 -27
- package/dist/lib/components/spinner/spinner.module.js.map +0 -1
- package/dist/lib/components/spinner/spinner_module.css +0 -16
- package/dist/lib/components/switch.d.ts +0 -4
- package/dist/lib/components/switch.js +0 -95
- package/dist/lib/components/switch.js.map +0 -1
- package/dist/lib/components/switch.module.js +0 -27
- package/dist/lib/components/switch.module.js.map +0 -1
- package/dist/lib/components/switch_module.css +0 -69
- package/dist/lib/components/tabs.d.ts +0 -6
- package/dist/lib/components/tabs.js +0 -103
- package/dist/lib/components/tabs.js.map +0 -1
- package/dist/lib/components/tabs.module.js +0 -27
- package/dist/lib/components/tabs.module.js.map +0 -1
- package/dist/lib/components/tabs_module.css +0 -50
- package/dist/lib/components/text-area.d.ts +0 -4
- package/dist/lib/components/text-area.js +0 -52
- package/dist/lib/components/text-area.js.map +0 -1
- package/dist/lib/components/text-field.d.ts +0 -64
- package/dist/lib/components/text-field.js +0 -78
- package/dist/lib/components/text-field.js.map +0 -1
- package/dist/lib/components/text-field.module.js +0 -27
- package/dist/lib/components/text-field.module.js.map +0 -1
- package/dist/lib/components/text-field_module.css +0 -33
- package/dist/lib/components/toggle-button.d.ts +0 -10
- package/dist/lib/components/toggle-button.js +0 -100
- package/dist/lib/components/toggle-button.js.map +0 -1
- package/dist/lib/components/tooltip.d.ts +0 -3
- package/dist/lib/components/tooltip.js +0 -102
- package/dist/lib/components/tooltip.js.map +0 -1
- package/dist/lib/components/tooltip.module.js +0 -27
- package/dist/lib/components/tooltip.module.js.map +0 -1
- package/dist/lib/components/tooltip_module.css +0 -66
- package/dist/lib/components/typography/heading.d.ts +0 -67
- package/dist/lib/components/typography/heading.js +0 -75
- package/dist/lib/components/typography/heading.js.map +0 -1
- package/dist/lib/components/typography/heading.module.js +0 -27
- package/dist/lib/components/typography/heading.module.js.map +0 -1
- package/dist/lib/components/typography/heading_module.css +0 -56
- package/dist/lib/components/typography/text.d.ts +0 -17
- package/dist/lib/components/typography/text.js +0 -96
- package/dist/lib/components/typography/text.js.map +0 -1
- package/dist/lib/components/typography/text.module.js +0 -27
- package/dist/lib/components/typography/text.module.js.map +0 -1
- package/dist/lib/components/typography/text_module.css +0 -64
- package/dist/lib/style.css +0 -113
- package/dist/lib/utilities/resolve-class-name.d.ts +0 -1
- package/dist/lib/utilities/resolve-class-name.js +0 -32
- package/dist/lib/utilities/resolve-class-name.js.map +0 -1
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
interface AccordionProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
}
|
|
4
|
-
export declare function Accordion({ children }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const accordionTrigger: (props?: ({
|
|
6
|
-
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
} | null | undefined)[] | {
|
|
9
|
-
[x: string]: any;
|
|
10
|
-
} | null | undefined)[] | {
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
} | null | undefined)[] | {
|
|
13
|
-
[x: string]: any;
|
|
14
|
-
} | null | undefined)[] | {
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
} | null | undefined)[] | {
|
|
17
|
-
[x: string]: any;
|
|
18
|
-
} | null | undefined)[] | {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
} | null | undefined)[] | {
|
|
21
|
-
[x: string]: any;
|
|
22
|
-
} | null | undefined)[] | {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
} | null | undefined)[] | {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
} | null | undefined)[] | {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
} | null | undefined)[] | {
|
|
29
|
-
[x: string]: any;
|
|
30
|
-
} | null | undefined;
|
|
31
|
-
className?: never;
|
|
32
|
-
} | {
|
|
33
|
-
class?: never;
|
|
34
|
-
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
} | null | undefined)[] | {
|
|
37
|
-
[x: string]: any;
|
|
38
|
-
} | null | undefined)[] | {
|
|
39
|
-
[x: string]: any;
|
|
40
|
-
} | null | undefined)[] | {
|
|
41
|
-
[x: string]: any;
|
|
42
|
-
} | null | undefined)[] | {
|
|
43
|
-
[x: string]: any;
|
|
44
|
-
} | null | undefined)[] | {
|
|
45
|
-
[x: string]: any;
|
|
46
|
-
} | null | undefined)[] | {
|
|
47
|
-
[x: string]: any;
|
|
48
|
-
} | null | undefined)[] | {
|
|
49
|
-
[x: string]: any;
|
|
50
|
-
} | null | undefined)[] | {
|
|
51
|
-
[x: string]: any;
|
|
52
|
-
} | null | undefined)[] | {
|
|
53
|
-
[x: string]: any;
|
|
54
|
-
} | null | undefined)[] | {
|
|
55
|
-
[x: string]: any;
|
|
56
|
-
} | null | undefined)[] | {
|
|
57
|
-
[x: string]: any;
|
|
58
|
-
} | null | undefined;
|
|
59
|
-
}) | undefined) => string;
|
|
60
|
-
interface AccordionTriggerProps {
|
|
61
|
-
children: React.ReactNode;
|
|
62
|
-
className?: string;
|
|
63
|
-
}
|
|
64
|
-
export declare function AccordionTrigger({ children, className, }: AccordionTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
-
interface AccordionItemProps {
|
|
66
|
-
children: React.ReactNode;
|
|
67
|
-
value: string;
|
|
68
|
-
}
|
|
69
|
-
export declare function AccordionItem({ children, value }: AccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
interface AccordionContentProps {
|
|
71
|
-
children: React.ReactNode;
|
|
72
|
-
}
|
|
73
|
-
export declare function AccordionContent({ children }: AccordionContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
74
|
-
export {};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { cva } from "cva";
|
|
4
|
-
import { createContext, useContext, useState } from "react";
|
|
5
|
-
import classes from "./accordion.module";
|
|
6
|
-
function Accordion({ children }) {
|
|
7
|
-
const [activeItem, setActiveItem] = useState("");
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
9
|
-
AccordionContext.Provider,
|
|
10
|
-
{
|
|
11
|
-
value: {
|
|
12
|
-
activeItem,
|
|
13
|
-
setActiveItem
|
|
14
|
-
},
|
|
15
|
-
children
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
const accordionTrigger = cva({
|
|
20
|
-
base: classes.trigger
|
|
21
|
-
});
|
|
22
|
-
function AccordionTrigger({
|
|
23
|
-
children,
|
|
24
|
-
className
|
|
25
|
-
}) {
|
|
26
|
-
const { setActiveItem } = useContext(AccordionContext);
|
|
27
|
-
const { item } = useContext(AccordionItemContext);
|
|
28
|
-
return /* @__PURE__ */ jsxs(
|
|
29
|
-
"button",
|
|
30
|
-
{
|
|
31
|
-
type: "button",
|
|
32
|
-
className: accordionTrigger({
|
|
33
|
-
className
|
|
34
|
-
}),
|
|
35
|
-
onClick: () => {
|
|
36
|
-
setActiveItem((currentItem) => currentItem === item ? "" : item);
|
|
37
|
-
},
|
|
38
|
-
children: [
|
|
39
|
-
/* @__PURE__ */ jsx("span", { className: classes.triggerIcon, children: "❯" }),
|
|
40
|
-
children
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
function AccordionItem({ children, value }) {
|
|
46
|
-
return /* @__PURE__ */ jsx(
|
|
47
|
-
AccordionItemContext.Provider,
|
|
48
|
-
{
|
|
49
|
-
value: {
|
|
50
|
-
item: value
|
|
51
|
-
},
|
|
52
|
-
children: /* @__PURE__ */ jsx("div", { className: classes.item, children })
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
function AccordionContent({ children }) {
|
|
57
|
-
const { activeItem } = useContext(AccordionContext);
|
|
58
|
-
const { item } = useContext(AccordionItemContext);
|
|
59
|
-
if (activeItem !== item) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
return /* @__PURE__ */ jsx("div", { className: classes.content, children });
|
|
63
|
-
}
|
|
64
|
-
const AccordionContext = createContext(void 0);
|
|
65
|
-
const AccordionItemContext = createContext(void 0);
|
|
66
|
-
export {
|
|
67
|
-
Accordion,
|
|
68
|
-
AccordionContent,
|
|
69
|
-
AccordionItem,
|
|
70
|
-
AccordionTrigger,
|
|
71
|
-
accordionTrigger
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
//# sourceMappingURL=accordion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";AAaE,cA2BA,YA3BA;AAXF,SAAS,WAAW;AACpB,SAAS,eAAe,YAAY,gBAAgB;AACpD,OAAO,aAAa;AAKb,SAAS,UAAU,EAAE,SAAS,GAAmB;AACvD,QAAM,CAAC,YAAY,aAAa,IAAI,SAAiB,EAAE;AAEvD,SACC;AAAA,IAAC,iBAAiB;AAAA,IAAjB;AAAA,MACA,OAAO;AAAA,QACN;AAAA,QACA;AAAA,MACD;AAAA,MAEC;AAAA;AAAA,EACF;AAEF;AAEO,MAAM,mBAAmB,IAAI;AAAA,EACnC,MAAM,QAAQ;AACf,CAAC;AAMM,SAAS,iBAAiB;AAAA,EAChC;AAAA,EACA;AACD,GAA0B;AACzB,QAAM,EAAE,cAAc,IAAI,WAAW,gBAAgB;AACrD,QAAM,EAAE,KAAK,IAAI,WAAW,oBAAoB;AAEhD,SACC;AAAA,IAAC;AAAA;AAAA,MACA,MAAK;AAAA,MACL,WAAW,iBAAiB;AAAA,QAC3B;AAAA,MACD,CAAC;AAAA,MACD,SAAS,MAAM;AACd,sBAAc,CAAC,gBAAiB,gBAAgB,OAAO,KAAK,IAAK;AAAA,MAClE;AAAA,MAEA;AAAA,4BAAC,UAAK,WAAW,QAAQ,aAAa,eAAC;AAAA,QACtC;AAAA;AAAA;AAAA,EACF;AAEF;AAMO,SAAS,cAAc,EAAE,UAAU,MAAM,GAAuB;AACtE,SACC;AAAA,IAAC,qBAAqB;AAAA,IAArB;AAAA,MACA,OAAO;AAAA,QACN,MAAM;AAAA,MACP;AAAA,MAEA,8BAAC,SAAI,WAAW,QAAQ,MAAO,UAAS;AAAA;AAAA,EACzC;AAEF;AAKO,SAAS,iBAAiB,EAAE,SAAS,GAA0B;AACrE,QAAM,EAAE,WAAW,IAAI,WAAW,gBAAgB;AAClD,QAAM,EAAE,KAAK,IAAI,WAAW,oBAAoB;AAEhD,MAAI,eAAe,MAAM;AACxB,WAAO;AAAA,EACR;AAEA,SAAO,oBAAC,SAAI,WAAW,QAAQ,SAAU,UAAS;AACnD;AAEA,MAAM,mBAAmB,cAGtB,MAAgB;AAEnB,MAAM,uBAAuB,cAE1B,MAAgB","names":[],"ignoreList":[],"sources":["../../../src/components/accordion.tsx"],"sourcesContent":["\"use client\";\n\nimport { cva } from \"cva\";\nimport { createContext, useContext, useState } from \"react\";\nimport classes from \"./accordion.module\";\n\ninterface AccordionProps {\n\tchildren: React.ReactNode;\n}\nexport function Accordion({ children }: AccordionProps) {\n\tconst [activeItem, setActiveItem] = useState<string>(\"\");\n\n\treturn (\n\t\t<AccordionContext.Provider\n\t\t\tvalue={{\n\t\t\t\tactiveItem,\n\t\t\t\tsetActiveItem,\n\t\t\t}}\n\t\t>\n\t\t\t{children}\n\t\t</AccordionContext.Provider>\n\t);\n}\n\nexport const accordionTrigger = cva({\n\tbase: classes.trigger,\n});\n\ninterface AccordionTriggerProps {\n\tchildren: React.ReactNode;\n\tclassName?: string;\n}\nexport function AccordionTrigger({\n\tchildren,\n\tclassName,\n}: AccordionTriggerProps) {\n\tconst { setActiveItem } = useContext(AccordionContext);\n\tconst { item } = useContext(AccordionItemContext);\n\n\treturn (\n\t\t<button\n\t\t\ttype=\"button\"\n\t\t\tclassName={accordionTrigger({\n\t\t\t\tclassName,\n\t\t\t})}\n\t\t\tonClick={() => {\n\t\t\t\tsetActiveItem((currentItem) => (currentItem === item ? \"\" : item));\n\t\t\t}}\n\t\t>\n\t\t\t<span className={classes.triggerIcon}>❯</span>\n\t\t\t{children}\n\t\t</button>\n\t);\n}\n\ninterface AccordionItemProps {\n\tchildren: React.ReactNode;\n\tvalue: string;\n}\nexport function AccordionItem({ children, value }: AccordionItemProps) {\n\treturn (\n\t\t<AccordionItemContext.Provider\n\t\t\tvalue={{\n\t\t\t\titem: value,\n\t\t\t}}\n\t\t>\n\t\t\t<div className={classes.item}>{children}</div>\n\t\t</AccordionItemContext.Provider>\n\t);\n}\n\ninterface AccordionContentProps {\n\tchildren: React.ReactNode;\n}\nexport function AccordionContent({ children }: AccordionContentProps) {\n\tconst { activeItem } = useContext(AccordionContext);\n\tconst { item } = useContext(AccordionItemContext);\n\n\tif (activeItem !== item) {\n\t\treturn null;\n\t}\n\n\treturn <div className={classes.content}>{children}</div>;\n}\n\nconst AccordionContext = createContext<{\n\tactiveItem: string;\n\tsetActiveItem: React.Dispatch<React.SetStateAction<string>>;\n}>(undefined as any);\n\nconst AccordionItemContext = createContext<{\n\titem: string;\n}>(undefined as any);\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./accordion_module.css";
|
|
2
|
-
var accordion_default = { "trigger": "trigger_3b77a", "triggerIcon": "triggerIcon_3b77a", "item": "item_3b77a", "content": "content_3b77a" };
|
|
3
|
-
export {
|
|
4
|
-
accordion_default as default
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=accordion.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,OAAO;AAAyB,IAAO,oBAAQ,EAAC,WAAU,iBAAgB,eAAc,qBAAoB,QAAO,cAAa,WAAU,gBAAe","names":[],"ignoreList":[],"sources":["../../../src/components/accordion.module.css"],"sourcesContent":["import \"./accordion_module.css\";export default {\"trigger\":\"trigger_3b77a\",\"triggerIcon\":\"triggerIcon_3b77a\",\"item\":\"item_3b77a\",\"content\":\"content_3b77a\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
.trigger_3b77a {
|
|
2
|
-
color: var(--lol-color-grey-100);
|
|
3
|
-
font-family: var(--lol-font-family-beaufort);
|
|
4
|
-
display: flex;
|
|
5
|
-
width: 100%;
|
|
6
|
-
align-items: center;
|
|
7
|
-
padding: 0.5rem 0;
|
|
8
|
-
font-weight: bold;
|
|
9
|
-
text-transform: uppercase;
|
|
10
|
-
text-align: left;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.trigger_3b77a:active, .trigger_3b77a:hover {
|
|
14
|
-
color: var(--lol-color-gold-100);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.triggerIcon_3b77a {
|
|
18
|
-
margin-left: .125rem;
|
|
19
|
-
margin-right: .5rem;
|
|
20
|
-
display: inline-block;
|
|
21
|
-
rotate: 90deg;
|
|
22
|
-
font-size: var(--lol-font-size-sm);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.item_3b77a {
|
|
26
|
-
border-bottom: 1px solid var(--lol-color-gold-600);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.item_3b77a:last-of-type {
|
|
30
|
-
border-bottom: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.content_3b77a {
|
|
34
|
-
padding: 1rem 0;
|
|
35
|
-
color: var(--lol-color-grey-100);
|
|
36
|
-
font-family: var(--lol-font-family-spiegel);
|
|
37
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type BreadcrumbProps, type BreadcrumbsProps, type LinkProps } from "react-aria-components";
|
|
2
|
-
export declare function Breadcrumbs<T extends object>(props: BreadcrumbsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare function Breadcrumb(props: BreadcrumbProps & LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
Breadcrumb as AriaBreadcrumb,
|
|
4
|
-
Breadcrumbs as AriaBreadcrumbs,
|
|
5
|
-
Link
|
|
6
|
-
} from "react-aria-components";
|
|
7
|
-
import { resolveClassName } from "../utilities/resolve-class-name.js";
|
|
8
|
-
import { cva } from "cva";
|
|
9
|
-
import classes from "./breadcrumbs.module";
|
|
10
|
-
const breadCrumbIconSrc = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAALCAYAAACtWacbAAAA+0lEQVQYV12QsUoDURBF74xbxHLB9NqHbWwSwUJIutSbQCqb5BPMJ8RPcBttlMR8ggYLkRVxm8XGyk9IFQgx+668zb7N4sDAvJnDu3NHUIk0nrWDVu+52rO1uEb6Ph0KcSNE1Djrj6pgDjnADQRy3Wj1xuX7+/PhaPOrdQBvAHwAS4p2QPpOWkhK+jE/NiajR1lQNVRjhhTYHAXNflTu9PNyWzu5uFx/xbMJwSsnRSIsIbcboInQPBXSCbdZJ4fsL6vDWpeUuXVnVCOhmXCbhcH5YLlzF08HAtwB8HZ3+ecuh17vffEOrMSpcxc0w2R/kqIqwEeKjquAHf8Bd1xn7M0vJ+QAAAAASUVORK5CYII=";
|
|
11
|
-
const breadCrumbs = cva({
|
|
12
|
-
base: "flex gap-1"
|
|
13
|
-
});
|
|
14
|
-
function Breadcrumbs(props) {
|
|
15
|
-
return /* @__PURE__ */ jsx(
|
|
16
|
-
AriaBreadcrumbs,
|
|
17
|
-
{
|
|
18
|
-
...props,
|
|
19
|
-
className: breadCrumbs({ className: props.className })
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
const breadCrumb = cva({
|
|
24
|
-
base: classes.breadCrumb
|
|
25
|
-
});
|
|
26
|
-
const breadCrumbLink = cva({
|
|
27
|
-
base: classes.breadCrumbLink,
|
|
28
|
-
variants: {
|
|
29
|
-
isHovered: { true: classes.breadCrumbLink_hover }
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
function Breadcrumb(props) {
|
|
33
|
-
return /* @__PURE__ */ jsxs(
|
|
34
|
-
AriaBreadcrumb,
|
|
35
|
-
{
|
|
36
|
-
...props,
|
|
37
|
-
className: (values) => breadCrumb({
|
|
38
|
-
className: resolveClassName(props.className, values)
|
|
39
|
-
}),
|
|
40
|
-
children: [
|
|
41
|
-
/* @__PURE__ */ jsx(
|
|
42
|
-
Link,
|
|
43
|
-
{
|
|
44
|
-
className: (values) => breadCrumbLink({
|
|
45
|
-
isHovered: values.isHovered
|
|
46
|
-
}),
|
|
47
|
-
...props
|
|
48
|
-
}
|
|
49
|
-
),
|
|
50
|
-
props.href && /* @__PURE__ */ jsx(
|
|
51
|
-
"img",
|
|
52
|
-
{
|
|
53
|
-
src: breadCrumbIconSrc,
|
|
54
|
-
alt: "",
|
|
55
|
-
className: classes.breadCrumbDivider
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
export {
|
|
63
|
-
Breadcrumb,
|
|
64
|
-
Breadcrumbs
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
//# sourceMappingURL=breadcrumbs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAqBE,cAoBA,YApBA;AArBF;AAAA,EACC,cAAc;AAAA,EACd,eAAe;AAAA,EAGf;AAAA,OAEM;AACP,SAAS,wBAAwB;AACjC,SAAS,WAAW;AACpB,OAAO,aAAa;AAEpB,MAAM,oBACL;AAED,MAAM,cAAc,IAAI;AAAA,EACvB,MAAM;AACP,CAAC;AAEM,SAAS,YAA8B,OAA4B;AACzE,SACC;AAAA,IAAC;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,YAAY,EAAE,WAAW,MAAM,UAAU,CAAC;AAAA;AAAA,EACtD;AAEF;AAEA,MAAM,aAAa,IAAI;AAAA,EACtB,MAAM,QAAQ;AACf,CAAC;AAED,MAAM,iBAAiB,IAAI;AAAA,EAC1B,MAAM,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,WAAW,EAAE,MAAM,QAAQ,qBAAqB;AAAA,EACjD;AACD,CAAC;AAEM,SAAS,WAAW,OAAoC;AAC9D,SACC;AAAA,IAAC;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WACX,WAAW;AAAA,QACV,WAAW,iBAAiB,MAAM,WAAW,MAAM;AAAA,MACpD,CAAC;AAAA,MAGF;AAAA;AAAA,UAAC;AAAA;AAAA,YACA,WAAW,CAAC,WACX,eAAe;AAAA,cACd,WAAW,OAAO;AAAA,YACnB,CAAC;AAAA,YAED,GAAG;AAAA;AAAA,QACL;AAAA,QACC,MAAM,QACN;AAAA,UAAC;AAAA;AAAA,YACA,KAAK;AAAA,YACL,KAAI;AAAA,YACJ,WAAW,QAAQ;AAAA;AAAA,QACpB;AAAA;AAAA;AAAA,EAEF;AAEF","names":[],"ignoreList":[],"sources":["../../../src/components/breadcrumbs.tsx"],"sourcesContent":["import {\n\tBreadcrumb as AriaBreadcrumb,\n\tBreadcrumbs as AriaBreadcrumbs,\n\ttype BreadcrumbProps,\n\ttype BreadcrumbsProps,\n\tLink,\n\ttype LinkProps,\n} from \"react-aria-components\";\nimport { resolveClassName } from \"../utilities/resolve-class-name.js\";\nimport { cva } from \"cva\";\nimport classes from \"./breadcrumbs.module\";\n\nconst breadCrumbIconSrc =\n\t\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAALCAYAAACtWacbAAAA+0lEQVQYV12QsUoDURBF74xbxHLB9NqHbWwSwUJIutSbQCqb5BPMJ8RPcBttlMR8ggYLkRVxm8XGyk9IFQgx+668zb7N4sDAvJnDu3NHUIk0nrWDVu+52rO1uEb6Ph0KcSNE1Djrj6pgDjnADQRy3Wj1xuX7+/PhaPOrdQBvAHwAS4p2QPpOWkhK+jE/NiajR1lQNVRjhhTYHAXNflTu9PNyWzu5uFx/xbMJwSsnRSIsIbcboInQPBXSCbdZJ4fsL6vDWpeUuXVnVCOhmXCbhcH5YLlzF08HAtwB8HZ3+ecuh17vffEOrMSpcxc0w2R/kqIqwEeKjquAHf8Bd1xn7M0vJ+QAAAAASUVORK5CYII=\";\n\nconst breadCrumbs = cva({\n\tbase: \"flex gap-1\",\n});\n\nexport function Breadcrumbs<T extends object>(props: BreadcrumbsProps<T>) {\n\treturn (\n\t\t<AriaBreadcrumbs\n\t\t\t{...props}\n\t\t\tclassName={breadCrumbs({ className: props.className })}\n\t\t/>\n\t);\n}\n\nconst breadCrumb = cva({\n\tbase: classes.breadCrumb,\n});\n\nconst breadCrumbLink = cva({\n\tbase: classes.breadCrumbLink,\n\tvariants: {\n\t\tisHovered: { true: classes.breadCrumbLink_hover },\n\t},\n});\n\nexport function Breadcrumb(props: BreadcrumbProps & LinkProps) {\n\treturn (\n\t\t<AriaBreadcrumb\n\t\t\t{...props}\n\t\t\tclassName={(values) =>\n\t\t\t\tbreadCrumb({\n\t\t\t\t\tclassName: resolveClassName(props.className, values),\n\t\t\t\t})\n\t\t\t}\n\t\t>\n\t\t\t<Link\n\t\t\t\tclassName={(values) =>\n\t\t\t\t\tbreadCrumbLink({\n\t\t\t\t\t\tisHovered: values.isHovered,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t\t{props.href && (\n\t\t\t\t<img\n\t\t\t\t\tsrc={breadCrumbIconSrc}\n\t\t\t\t\talt=\"\"\n\t\t\t\t\tclassName={classes.breadCrumbDivider}\n\t\t\t\t/>\n\t\t\t)}\n\t\t</AriaBreadcrumb>\n\t);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./breadcrumbs_module.css";
|
|
2
|
-
var breadcrumbs_default = { "breadCrumb": "breadCrumb_75d07", "breadCrumbLink": "breadCrumbLink_75d07", "breadCrumbLink_hover": "breadCrumbLink_hover_75d07", "breadCrumbDivider": "breadCrumbDivider_75d07" };
|
|
3
|
-
export {
|
|
4
|
-
breadcrumbs_default as default
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=breadcrumbs.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,OAAO;AAA2B,IAAO,sBAAQ,EAAC,cAAa,oBAAmB,kBAAiB,wBAAuB,wBAAuB,8BAA6B,qBAAoB,0BAAyB","names":[],"ignoreList":[],"sources":["../../../src/components/breadcrumbs.module.css"],"sourcesContent":["import \"./breadcrumbs_module.css\";export default {\"breadCrumb\":\"breadCrumb_75d07\",\"breadCrumbLink\":\"breadCrumbLink_75d07\",\"breadCrumbLink_hover\":\"breadCrumbLink_hover_75d07\",\"breadCrumbDivider\":\"breadCrumbDivider_75d07\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
.breadCrumb_75d07 {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.breadCrumbLink_75d07 {
|
|
7
|
-
font-family: var(--lol-font-family-beaufort);
|
|
8
|
-
color: var(--lol-color-gold-300);
|
|
9
|
-
position: relative;
|
|
10
|
-
font-size: var(--lol-font-size-sm);
|
|
11
|
-
font-weight: 500;
|
|
12
|
-
text-transform: uppercase;
|
|
13
|
-
letter-spacing: 0.1em;
|
|
14
|
-
padding: 0 1rem;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.breadCrumbLink_hover_75d07 {
|
|
18
|
-
color: var(--lol-color-gold-100);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.breadCrumbDivider_75d07 {
|
|
22
|
-
height: 11px;
|
|
23
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "react";
|
|
2
|
-
import { type LinkProps } from "react-aria-components";
|
|
3
|
-
import { type ButtonPreset, type ButtonShape } from "./button.js";
|
|
4
|
-
interface ButtonLinkProps extends LinkProps {
|
|
5
|
-
preset?: ButtonPreset;
|
|
6
|
-
thin?: boolean;
|
|
7
|
-
shape?: ButtonShape;
|
|
8
|
-
}
|
|
9
|
-
export declare function _ButtonLink({ children, className, preset, shape, thin, ...props }: ButtonLinkProps, ref: Ref<HTMLAnchorElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const ButtonLink: import("react").ForwardRefExoticComponent<ButtonLinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import { Link as AriaButton } from "react-aria-components";
|
|
4
|
-
import { resolveClassName } from "../utilities/resolve-class-name.js";
|
|
5
|
-
import { button } from "./button.js";
|
|
6
|
-
function _ButtonLink({
|
|
7
|
-
children,
|
|
8
|
-
className,
|
|
9
|
-
preset = "secondary",
|
|
10
|
-
shape = "normal",
|
|
11
|
-
thin = preset === "dimmed",
|
|
12
|
-
...props
|
|
13
|
-
}, ref) {
|
|
14
|
-
return /* @__PURE__ */ jsx(
|
|
15
|
-
AriaButton,
|
|
16
|
-
{
|
|
17
|
-
ref,
|
|
18
|
-
...props,
|
|
19
|
-
className: (values) => {
|
|
20
|
-
return button({
|
|
21
|
-
className: resolveClassName(className, values),
|
|
22
|
-
preset,
|
|
23
|
-
shape,
|
|
24
|
-
thin,
|
|
25
|
-
...values
|
|
26
|
-
});
|
|
27
|
-
},
|
|
28
|
-
children
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
const ButtonLink = forwardRef(_ButtonLink);
|
|
33
|
-
ButtonLink.displayName = "ButtonLink";
|
|
34
|
-
export {
|
|
35
|
-
ButtonLink,
|
|
36
|
-
_ButtonLink
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
//# sourceMappingURL=button-link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAuBE;AAvBF,SAAmB,kBAAkB;AACrC,SAAS,QAAQ,kBAAkC;AACnD,SAAS,wBAAwB;AACjC,SAA8C,cAAc;AAQrD,SAAS,YACf;AAAA,EACC;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO,WAAW;AAAA,EAClB,GAAG;AACJ,GACA,KACC;AACD,SACC;AAAA,IAAC;AAAA;AAAA,MACA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WAAW;AACtB,eAAO,OAAO;AAAA,UACb,WAAW,iBAAiB,WAAW,MAAM;AAAA,UAC7C;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACJ,CAAC;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACF;AAEF;AAEO,MAAM,aAAa,WAAW,WAAW;AAChD,WAAW,cAAc","names":[],"ignoreList":[],"sources":["../../../src/components/button-link.tsx"],"sourcesContent":["import { type Ref, forwardRef } from \"react\";\nimport { Link as AriaButton, type LinkProps } from \"react-aria-components\";\nimport { resolveClassName } from \"../utilities/resolve-class-name.js\";\nimport { type ButtonPreset, type ButtonShape, button } from \"./button.js\";\n\ninterface ButtonLinkProps extends LinkProps {\n\tpreset?: ButtonPreset;\n\tthin?: boolean;\n\tshape?: ButtonShape;\n}\n\nexport function _ButtonLink(\n\t{\n\t\tchildren,\n\t\tclassName,\n\t\tpreset = \"secondary\",\n\t\tshape = \"normal\",\n\t\tthin = preset === \"dimmed\",\n\t\t...props\n\t}: ButtonLinkProps,\n\tref: Ref<HTMLAnchorElement>,\n) {\n\treturn (\n\t\t<AriaButton\n\t\t\tref={ref}\n\t\t\t{...props}\n\t\t\tclassName={(values) => {\n\t\t\t\treturn button({\n\t\t\t\t\tclassName: resolveClassName(className, values),\n\t\t\t\t\tpreset,\n\t\t\t\t\tshape,\n\t\t\t\t\tthin,\n\t\t\t\t\t...values,\n\t\t\t\t});\n\t\t\t}}\n\t\t>\n\t\t\t{children}\n\t\t</AriaButton>\n\t);\n}\n\nexport const ButtonLink = forwardRef(_ButtonLink);\nButtonLink.displayName = \"ButtonLink\";\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { type Ref } from "react";
|
|
2
|
-
import { type ButtonProps as AriaButtonProps } from "react-aria-components";
|
|
3
|
-
export type ButtonShape = "round" | "square" | "normal";
|
|
4
|
-
export type ButtonPreset = "primary" | "secondary" | "text" | "hextech" | "dimmed";
|
|
5
|
-
interface ButtonProps extends AriaButtonProps {
|
|
6
|
-
preset?: ButtonPreset;
|
|
7
|
-
thin?: boolean;
|
|
8
|
-
shape?: ButtonShape;
|
|
9
|
-
}
|
|
10
|
-
export declare const button: (props?: ({
|
|
11
|
-
preset?: "text" | "primary" | "secondary" | "hextech" | "dimmed" | undefined;
|
|
12
|
-
isHovered?: boolean | undefined;
|
|
13
|
-
isPressed?: boolean | undefined;
|
|
14
|
-
isDisabled?: boolean | undefined;
|
|
15
|
-
isFocused?: boolean | undefined;
|
|
16
|
-
isFocusVisible?: boolean | undefined;
|
|
17
|
-
shape?: "normal" | "round" | "square" | undefined;
|
|
18
|
-
thin?: boolean | undefined;
|
|
19
|
-
} & ({
|
|
20
|
-
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
21
|
-
[x: string]: any;
|
|
22
|
-
} | null | undefined)[] | {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
} | null | undefined)[] | {
|
|
25
|
-
[x: string]: any;
|
|
26
|
-
} | null | undefined)[] | {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
} | null | undefined)[] | {
|
|
29
|
-
[x: string]: any;
|
|
30
|
-
} | null | undefined)[] | {
|
|
31
|
-
[x: string]: any;
|
|
32
|
-
} | null | undefined)[] | {
|
|
33
|
-
[x: string]: any;
|
|
34
|
-
} | null | undefined)[] | {
|
|
35
|
-
[x: string]: any;
|
|
36
|
-
} | null | undefined)[] | {
|
|
37
|
-
[x: string]: any;
|
|
38
|
-
} | null | undefined)[] | {
|
|
39
|
-
[x: string]: any;
|
|
40
|
-
} | null | undefined)[] | {
|
|
41
|
-
[x: string]: any;
|
|
42
|
-
} | null | undefined)[] | {
|
|
43
|
-
[x: string]: any;
|
|
44
|
-
} | null | undefined;
|
|
45
|
-
className?: never;
|
|
46
|
-
} | {
|
|
47
|
-
class?: never;
|
|
48
|
-
className?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
49
|
-
[x: string]: any;
|
|
50
|
-
} | null | undefined)[] | {
|
|
51
|
-
[x: string]: any;
|
|
52
|
-
} | null | undefined)[] | {
|
|
53
|
-
[x: string]: any;
|
|
54
|
-
} | null | undefined)[] | {
|
|
55
|
-
[x: string]: any;
|
|
56
|
-
} | null | undefined)[] | {
|
|
57
|
-
[x: string]: any;
|
|
58
|
-
} | null | undefined)[] | {
|
|
59
|
-
[x: string]: any;
|
|
60
|
-
} | null | undefined)[] | {
|
|
61
|
-
[x: string]: any;
|
|
62
|
-
} | null | undefined)[] | {
|
|
63
|
-
[x: string]: any;
|
|
64
|
-
} | null | undefined)[] | {
|
|
65
|
-
[x: string]: any;
|
|
66
|
-
} | null | undefined)[] | {
|
|
67
|
-
[x: string]: any;
|
|
68
|
-
} | null | undefined)[] | {
|
|
69
|
-
[x: string]: any;
|
|
70
|
-
} | null | undefined)[] | {
|
|
71
|
-
[x: string]: any;
|
|
72
|
-
} | null | undefined;
|
|
73
|
-
})) | undefined) => string;
|
|
74
|
-
export declare function _Button({ children, className, preset, shape, thin, ...props }: ButtonProps, ref: Ref<HTMLButtonElement>): import("react/jsx-runtime").JSX.Element;
|
|
75
|
-
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
76
|
-
export {};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import {
|
|
4
|
-
Button as AriaButton
|
|
5
|
-
} from "react-aria-components";
|
|
6
|
-
import { resolveClassName } from "../utilities/resolve-class-name.js";
|
|
7
|
-
import { cva } from "cva";
|
|
8
|
-
import classes from "./button.module";
|
|
9
|
-
const button = cva({
|
|
10
|
-
base: classes.button,
|
|
11
|
-
variants: {
|
|
12
|
-
preset: {
|
|
13
|
-
primary: classes.primary,
|
|
14
|
-
secondary: classes.secondary,
|
|
15
|
-
text: classes.text,
|
|
16
|
-
hextech: classes.hextech,
|
|
17
|
-
dimmed: classes.dimmed
|
|
18
|
-
},
|
|
19
|
-
isHovered: {
|
|
20
|
-
true: classes.hover
|
|
21
|
-
},
|
|
22
|
-
isPressed: {
|
|
23
|
-
true: classes.press
|
|
24
|
-
},
|
|
25
|
-
isDisabled: {
|
|
26
|
-
true: classes.disabled
|
|
27
|
-
},
|
|
28
|
-
isFocused: {
|
|
29
|
-
true: ""
|
|
30
|
-
},
|
|
31
|
-
isFocusVisible: {
|
|
32
|
-
true: classes.focusVisible
|
|
33
|
-
},
|
|
34
|
-
shape: {
|
|
35
|
-
round: classes.round,
|
|
36
|
-
square: classes.square,
|
|
37
|
-
normal: classes.normal
|
|
38
|
-
},
|
|
39
|
-
thin: {
|
|
40
|
-
true: classes.thin
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
function _Button({
|
|
45
|
-
children,
|
|
46
|
-
className,
|
|
47
|
-
preset = "secondary",
|
|
48
|
-
shape = "normal",
|
|
49
|
-
thin = preset === "dimmed",
|
|
50
|
-
...props
|
|
51
|
-
}, ref) {
|
|
52
|
-
return /* @__PURE__ */ jsx(
|
|
53
|
-
AriaButton,
|
|
54
|
-
{
|
|
55
|
-
ref,
|
|
56
|
-
...props,
|
|
57
|
-
className: (values) => {
|
|
58
|
-
return button({
|
|
59
|
-
className: resolveClassName(className, values),
|
|
60
|
-
preset,
|
|
61
|
-
shape,
|
|
62
|
-
thin,
|
|
63
|
-
...values
|
|
64
|
-
});
|
|
65
|
-
},
|
|
66
|
-
children
|
|
67
|
-
}
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
const Button = forwardRef(_Button);
|
|
71
|
-
Button.displayName = "Button";
|
|
72
|
-
export {
|
|
73
|
-
Button,
|
|
74
|
-
_Button,
|
|
75
|
-
button
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
//# sourceMappingURL=button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAuEE;AAvEF,SAAmB,kBAAkB;AACrC;AAAA,EACC,UAAU;AAAA,OAEJ;AACP,SAAS,wBAAwB;AACjC,SAAS,WAAW;AACpB,OAAO,aAAa;AAgBb,MAAM,SAAS,IAAI;AAAA,EACzB,MAAM,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,QAAQ;AAAA,MACP,SAAS,QAAQ;AAAA,MACjB,WAAW,QAAQ;AAAA,MACnB,MAAM,QAAQ;AAAA,MACd,SAAS,QAAQ;AAAA,MACjB,QAAQ,QAAQ;AAAA,IACjB;AAAA,IACA,WAAW;AAAA,MACV,MAAM,QAAQ;AAAA,IACf;AAAA,IACA,WAAW;AAAA,MACV,MAAM,QAAQ;AAAA,IACf;AAAA,IACA,YAAY;AAAA,MACX,MAAM,QAAQ;AAAA,IACf;AAAA,IACA,WAAW;AAAA,MACV,MAAM;AAAA,IACP;AAAA,IACA,gBAAgB;AAAA,MACf,MAAM,QAAQ;AAAA,IACf;AAAA,IACA,OAAO;AAAA,MACN,OAAO,QAAQ;AAAA,MACf,QAAQ,QAAQ;AAAA,MAChB,QAAQ,QAAQ;AAAA,IACjB;AAAA,IACA,MAAM;AAAA,MACL,MAAM,QAAQ;AAAA,IACf;AAAA,EACD;AACD,CAAC;AAEM,SAAS,QACf;AAAA,EACC;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO,WAAW;AAAA,EAClB,GAAG;AACJ,GACA,KACC;AACD,SACC;AAAA,IAAC;AAAA;AAAA,MACA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WAAW;AACtB,eAAO,OAAO;AAAA,UACb,WAAW,iBAAiB,WAAW,MAAM;AAAA,UAC7C;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACJ,CAAC;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACF;AAEF;AAEO,MAAM,SAAS,WAAW,OAAO;AACxC,OAAO,cAAc","names":[],"ignoreList":[],"sources":["../../../src/components/button.tsx"],"sourcesContent":["import { type Ref, forwardRef } from \"react\";\nimport {\n\tButton as AriaButton,\n\ttype ButtonProps as AriaButtonProps,\n} from \"react-aria-components\";\nimport { resolveClassName } from \"../utilities/resolve-class-name.js\";\nimport { cva } from \"cva\";\nimport classes from \"./button.module\";\n\nexport type ButtonShape = \"round\" | \"square\" | \"normal\";\nexport type ButtonPreset =\n\t| \"primary\"\n\t| \"secondary\"\n\t| \"text\"\n\t| \"hextech\"\n\t| \"dimmed\";\n\ninterface ButtonProps extends AriaButtonProps {\n\tpreset?: ButtonPreset;\n\tthin?: boolean;\n\tshape?: ButtonShape;\n}\n\nexport const button = cva({\n\tbase: classes.button,\n\tvariants: {\n\t\tpreset: {\n\t\t\tprimary: classes.primary,\n\t\t\tsecondary: classes.secondary,\n\t\t\ttext: classes.text,\n\t\t\thextech: classes.hextech,\n\t\t\tdimmed: classes.dimmed,\n\t\t},\n\t\tisHovered: {\n\t\t\ttrue: classes.hover,\n\t\t},\n\t\tisPressed: {\n\t\t\ttrue: classes.press,\n\t\t},\n\t\tisDisabled: {\n\t\t\ttrue: classes.disabled,\n\t\t},\n\t\tisFocused: {\n\t\t\ttrue: \"\",\n\t\t},\n\t\tisFocusVisible: {\n\t\t\ttrue: classes.focusVisible,\n\t\t},\n\t\tshape: {\n\t\t\tround: classes.round,\n\t\t\tsquare: classes.square,\n\t\t\tnormal: classes.normal,\n\t\t},\n\t\tthin: {\n\t\t\ttrue: classes.thin,\n\t\t},\n\t},\n});\n\nexport function _Button(\n\t{\n\t\tchildren,\n\t\tclassName,\n\t\tpreset = \"secondary\",\n\t\tshape = \"normal\",\n\t\tthin = preset === \"dimmed\",\n\t\t...props\n\t}: ButtonProps,\n\tref: Ref<HTMLButtonElement>,\n) {\n\treturn (\n\t\t<AriaButton\n\t\t\tref={ref}\n\t\t\t{...props}\n\t\t\tclassName={(values) => {\n\t\t\t\treturn button({\n\t\t\t\t\tclassName: resolveClassName(className, values),\n\t\t\t\t\tpreset,\n\t\t\t\t\tshape,\n\t\t\t\t\tthin,\n\t\t\t\t\t...values,\n\t\t\t\t});\n\t\t\t}}\n\t\t>\n\t\t\t{children}\n\t\t</AriaButton>\n\t);\n}\n\nexport const Button = forwardRef(_Button);\nButton.displayName = \"Button\";\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./button_module.css";
|
|
2
|
-
var button_default = { "button": "button_56ea2", "text": "text_56ea2", "round": "round_56ea2", "hover": "hover_56ea2", "square": "square_56ea2", "normal": "normal_56ea2", "press": "press_56ea2", "disabled": "disabled_56ea2", "hextech": "hextech_56ea2", "dimmed": "dimmed_56ea2", "selected": "selected_56ea2", "primary": "primary_56ea2", "secondary": "secondary_56ea2", "focusVisible": "focusVisible_56ea2", "thin": "thin_56ea2" };
|
|
3
|
-
export {
|
|
4
|
-
button_default as default
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=button.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,OAAO;AAAsB,IAAO,iBAAQ,EAAC,UAAS,gBAAe,QAAO,cAAa,SAAQ,eAAc,SAAQ,eAAc,UAAS,gBAAe,UAAS,gBAAe,SAAQ,eAAc,YAAW,kBAAiB,WAAU,iBAAgB,UAAS,gBAAe,YAAW,kBAAiB,WAAU,iBAAgB,aAAY,mBAAkB,gBAAe,sBAAqB,QAAO,aAAY","names":[],"ignoreList":[],"sources":["../../../src/components/button.module.css"],"sourcesContent":["import \"./button_module.css\";export default {\"button\":\"button_56ea2\",\"text\":\"text_56ea2\",\"round\":\"round_56ea2\",\"hover\":\"hover_56ea2\",\"square\":\"square_56ea2\",\"normal\":\"normal_56ea2\",\"press\":\"press_56ea2\",\"disabled\":\"disabled_56ea2\",\"hextech\":\"hextech_56ea2\",\"dimmed\":\"dimmed_56ea2\",\"selected\":\"selected_56ea2\",\"primary\":\"primary_56ea2\",\"secondary\":\"secondary_56ea2\",\"focusVisible\":\"focusVisible_56ea2\",\"thin\":\"thin_56ea2\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|