@lolmath/ui 0.0.0-20240810205542
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/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/divider.83026e17.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 +74 -0
- package/dist/es/components/accordion.js +74 -0
- package/dist/es/components/accordion.js.map +1 -0
- package/dist/es/components/accordion.module.js +7 -0
- package/dist/es/components/accordion.module.js.map +1 -0
- package/dist/es/components/accordion_module.css +41 -0
- package/dist/es/components/breadcrumbs/breadcrumbs.d.ts +3 -0
- package/dist/es/components/breadcrumbs/breadcrumbs.js +55 -0
- package/dist/es/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/es/components/breadcrumbs/breadcrumbs.module.js +7 -0
- package/dist/es/components/breadcrumbs/breadcrumbs.module.js.map +1 -0
- package/dist/es/components/breadcrumbs/breadcrumbs_module.css +30 -0
- package/dist/es/components/breadcrumbs.d.ts +3 -0
- package/dist/es/components/breadcrumbs.js +67 -0
- package/dist/es/components/breadcrumbs.js.map +1 -0
- package/dist/es/components/breadcrumbs.module.js +7 -0
- package/dist/es/components/breadcrumbs.module.js.map +1 -0
- package/dist/es/components/breadcrumbs_module.css +25 -0
- package/dist/es/components/button-link.d.ts +11 -0
- package/dist/es/components/button-link.js +39 -0
- package/dist/es/components/button-link.js.map +1 -0
- package/dist/es/components/button.d.ts +76 -0
- package/dist/es/components/button.js +78 -0
- package/dist/es/components/button.js.map +1 -0
- package/dist/es/components/button.module.js +7 -0
- package/dist/es/components/button.module.js.map +1 -0
- package/dist/es/components/button_module.css +160 -0
- package/dist/es/components/card.d.ts +6 -0
- package/dist/es/components/card.js +32 -0
- package/dist/es/components/card.js.map +1 -0
- package/dist/es/components/card.module.js +7 -0
- package/dist/es/components/card.module.js.map +1 -0
- package/dist/es/components/card_module.css +18 -0
- package/dist/es/components/checkbox/checkbox.d.ts +2 -0
- package/dist/es/components/checkbox/checkbox.js +55 -0
- package/dist/es/components/checkbox/checkbox.js.map +1 -0
- package/dist/es/components/checkbox/checkbox.module.js +7 -0
- package/dist/es/components/checkbox/checkbox.module.js.map +1 -0
- package/dist/es/components/checkbox/checkbox_module.css +21 -0
- package/dist/es/components/divider.d.ts +6 -0
- package/dist/es/components/divider.js +31 -0
- package/dist/es/components/divider.js.map +1 -0
- package/dist/es/components/divider.module.js +7 -0
- package/dist/es/components/divider.module.js.map +1 -0
- package/dist/es/components/divider_module.css +31 -0
- package/dist/es/components/modal.d.ts +13 -0
- package/dist/es/components/modal.js +86 -0
- package/dist/es/components/modal.js.map +1 -0
- package/dist/es/components/modal.module.js +7 -0
- package/dist/es/components/modal.module.js.map +1 -0
- package/dist/es/components/modal_module.css +82 -0
- package/dist/es/components/number-field.d.ts +10 -0
- package/dist/es/components/number-field.js +103 -0
- package/dist/es/components/number-field.js.map +1 -0
- package/dist/es/components/number-field.module.js +7 -0
- package/dist/es/components/number-field.module.js.map +1 -0
- package/dist/es/components/number-field_module.css +56 -0
- package/dist/es/components/popover.d.ts +1 -0
- 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 +6 -0
- package/dist/es/components/progress-bar.js +25 -0
- package/dist/es/components/progress-bar.js.map +1 -0
- package/dist/es/components/progress-bar.module.js +7 -0
- package/dist/es/components/progress-bar.module.js.map +1 -0
- package/dist/es/components/progress-bar_module.css +35 -0
- package/dist/es/components/radio-group/radio-group.d.ts +3 -0
- package/dist/es/components/radio-group/radio-group.js +46 -0
- package/dist/es/components/radio-group/radio-group.js.map +1 -0
- package/dist/es/components/radio-group/radio-group.module.js +7 -0
- package/dist/es/components/radio-group/radio-group.module.js.map +1 -0
- package/dist/es/components/radio-group/radio-group_module.css +55 -0
- package/dist/es/components/search-field/search-field.d.ts +6 -0
- package/dist/es/components/search-field/search-field.js +67 -0
- package/dist/es/components/search-field/search-field.js.map +1 -0
- package/dist/es/components/search-field/search-field.module.js +7 -0
- package/dist/es/components/search-field/search-field.module.js.map +1 -0
- package/dist/es/components/search-field/search-field_module.css +78 -0
- package/dist/es/components/select/dropdown-check.js +6 -0
- package/dist/es/components/select/dropdown-check.js.map +1 -0
- package/dist/es/components/select/select.d.ts +11 -0
- package/dist/es/components/select/select.js +77 -0
- package/dist/es/components/select/select.js.map +1 -0
- package/dist/es/components/select/select.module.js +7 -0
- package/dist/es/components/select/select.module.js.map +1 -0
- package/dist/es/components/select/select_module.css +82 -0
- package/dist/es/components/slider/slider.d.ts +8 -0
- package/dist/es/components/slider/slider.js +146 -0
- package/dist/es/components/slider/slider.js.map +1 -0
- package/dist/es/components/slider/slider.module.js +7 -0
- package/dist/es/components/slider/slider.module.js.map +1 -0
- package/dist/es/components/slider/slider_module.css +62 -0
- package/dist/es/components/spinner/spinner.d.ts +5 -0
- package/dist/es/components/spinner/spinner.js +21 -0
- package/dist/es/components/spinner/spinner.js.map +1 -0
- package/dist/es/components/spinner/spinner.module.js +7 -0
- package/dist/es/components/spinner/spinner.module.js.map +1 -0
- package/dist/es/components/spinner/spinner_module.css +18 -0
- package/dist/es/components/switch.d.ts +4 -0
- package/dist/es/components/switch.js +61 -0
- package/dist/es/components/switch.js.map +1 -0
- package/dist/es/components/switch.module.js +7 -0
- package/dist/es/components/switch.module.js.map +1 -0
- package/dist/es/components/switch_module.css +72 -0
- package/dist/es/components/tabs.d.ts +6 -0
- package/dist/es/components/tabs.js +71 -0
- package/dist/es/components/tabs.js.map +1 -0
- package/dist/es/components/tabs.module.js +7 -0
- package/dist/es/components/tabs.module.js.map +1 -0
- package/dist/es/components/tabs_module.css +52 -0
- package/dist/es/components/text-area.d.ts +4 -0
- package/dist/es/components/text-area.js +31 -0
- package/dist/es/components/text-area.js.map +1 -0
- package/dist/es/components/text-field.d.ts +64 -0
- package/dist/es/components/text-field.js +46 -0
- package/dist/es/components/text-field.js.map +1 -0
- package/dist/es/components/text-field.module.js +7 -0
- package/dist/es/components/text-field.module.js.map +1 -0
- package/dist/es/components/text-field_module.css +37 -0
- package/dist/es/components/toggle-button.d.ts +10 -0
- package/dist/es/components/toggle-button.js +68 -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 +67 -0
- package/dist/es/components/tooltip.js.map +1 -0
- package/dist/es/components/tooltip.module.js +7 -0
- package/dist/es/components/tooltip.module.js.map +1 -0
- package/dist/es/components/tooltip_module.css +68 -0
- package/dist/es/components/typography/heading.d.ts +67 -0
- package/dist/es/components/typography/heading.js +40 -0
- package/dist/es/components/typography/heading.js.map +1 -0
- package/dist/es/components/typography/heading.module.js +7 -0
- package/dist/es/components/typography/heading.module.js.map +1 -0
- package/dist/es/components/typography/heading_module.css +58 -0
- package/dist/es/components/typography/text.d.ts +17 -0
- package/dist/es/components/typography/text.js +63 -0
- package/dist/es/components/typography/text.js.map +1 -0
- package/dist/es/components/typography/text.module.js +7 -0
- package/dist/es/components/typography/text.module.js.map +1 -0
- package/dist/es/components/typography/text_module.css +66 -0
- package/dist/es/index.d.ts +24 -0
- package/dist/es/index.js +29 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/plugin.d.ts +4 -0
- package/dist/es/plugin.js +149 -0
- package/dist/es/plugin.js.map +1 -0
- package/dist/es/style.css +105 -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/font/beaufort/beaufort.css +79 -0
- package/dist/font/beaufort/files/beaufort-300-italic.woff +0 -0
- package/dist/font/beaufort/files/beaufort-300-italic.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-300-normal.woff +0 -0
- package/dist/font/beaufort/files/beaufort-300-normal.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-400-italic.woff +0 -0
- package/dist/font/beaufort/files/beaufort-400-italic.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-400-normal.woff +0 -0
- package/dist/font/beaufort/files/beaufort-400-normal.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-500-italic.woff +0 -0
- package/dist/font/beaufort/files/beaufort-500-italic.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-500-normal.woff +0 -0
- package/dist/font/beaufort/files/beaufort-500-normal.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-700-italic.woff +0 -0
- package/dist/font/beaufort/files/beaufort-700-italic.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-700-normal.woff +0 -0
- package/dist/font/beaufort/files/beaufort-700-normal.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-900-italic.woff +0 -0
- package/dist/font/beaufort/files/beaufort-900-italic.woff2 +0 -0
- package/dist/font/beaufort/files/beaufort-900-normal.woff +0 -0
- package/dist/font/beaufort/files/beaufort-900-normal.woff2 +0 -0
- package/dist/font/spiegel/files/spiegel-400-italic.woff +0 -0
- package/dist/font/spiegel/files/spiegel-400-italic.woff2 +0 -0
- package/dist/font/spiegel/files/spiegel-400-normal.woff +0 -0
- package/dist/font/spiegel/files/spiegel-400-normal.woff2 +0 -0
- package/dist/font/spiegel/files/spiegel-600-normal.woff +0 -0
- package/dist/font/spiegel/files/spiegel-600-normal.woff2 +0 -0
- package/dist/font/spiegel/files/spiegel-700-italic.woff +0 -0
- package/dist/font/spiegel/files/spiegel-700-italic.woff2 +0 -0
- package/dist/font/spiegel/files/spiegel-700-normal.woff +0 -0
- package/dist/font/spiegel/files/spiegel-700-normal.woff2 +0 -0
- package/dist/font/spiegel/spiegel.css +44 -0
- 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/divider.83026e17.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 +74 -0
- package/dist/lib/components/accordion.js +112 -0
- package/dist/lib/components/accordion.js.map +1 -0
- package/dist/lib/components/accordion.module.js +27 -0
- package/dist/lib/components/accordion.module.js.map +1 -0
- package/dist/lib/components/accordion_module.css +41 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs.d.ts +3 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs.js +86 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs.module.js +27 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs.module.js.map +1 -0
- package/dist/lib/components/breadcrumbs/breadcrumbs_module.css +30 -0
- package/dist/lib/components/button-link.d.ts +11 -0
- package/dist/lib/components/button-link.js +64 -0
- package/dist/lib/components/button-link.js.map +1 -0
- package/dist/lib/components/button.d.ts +76 -0
- package/dist/lib/components/button.js +112 -0
- package/dist/lib/components/button.js.map +1 -0
- package/dist/lib/components/button.module.js +27 -0
- package/dist/lib/components/button.module.js.map +1 -0
- package/dist/lib/components/button_module.css +160 -0
- package/dist/lib/components/card.d.ts +6 -0
- package/dist/lib/components/card.js +66 -0
- package/dist/lib/components/card.js.map +1 -0
- package/dist/lib/components/card.module.js +27 -0
- package/dist/lib/components/card.module.js.map +1 -0
- package/dist/lib/components/card_module.css +18 -0
- package/dist/lib/components/checkbox/checkbox.d.ts +2 -0
- package/dist/lib/components/checkbox/checkbox.js +87 -0
- package/dist/lib/components/checkbox/checkbox.js.map +1 -0
- package/dist/lib/components/checkbox/checkbox.module.js +27 -0
- package/dist/lib/components/checkbox/checkbox.module.js.map +1 -0
- package/dist/lib/components/checkbox/checkbox_module.css +21 -0
- package/dist/lib/components/divider.d.ts +6 -0
- package/dist/lib/components/divider.js +65 -0
- package/dist/lib/components/divider.js.map +1 -0
- package/dist/lib/components/divider.module.js +27 -0
- package/dist/lib/components/divider.module.js.map +1 -0
- package/dist/lib/components/divider_module.css +31 -0
- package/dist/lib/components/modal.d.ts +13 -0
- package/dist/lib/components/modal.js +117 -0
- package/dist/lib/components/modal.js.map +1 -0
- package/dist/lib/components/modal.module.js +27 -0
- package/dist/lib/components/modal.module.js.map +1 -0
- package/dist/lib/components/modal_module.css +82 -0
- package/dist/lib/components/number-field.d.ts +10 -0
- package/dist/lib/components/number-field.js +132 -0
- package/dist/lib/components/number-field.js.map +1 -0
- package/dist/lib/components/number-field.module.js +27 -0
- package/dist/lib/components/number-field.module.js.map +1 -0
- package/dist/lib/components/number-field_module.css +56 -0
- package/dist/lib/components/popover.d.ts +1 -0
- package/dist/lib/components/popover.js +1 -0
- package/dist/lib/components/popover.module.css +0 -0
- package/dist/lib/components/progress-bar.d.ts +6 -0
- package/dist/lib/components/progress-bar.js +56 -0
- package/dist/lib/components/progress-bar.js.map +1 -0
- package/dist/lib/components/progress-bar.module.js +27 -0
- package/dist/lib/components/progress-bar.module.js.map +1 -0
- package/dist/lib/components/progress-bar_module.css +35 -0
- package/dist/lib/components/radio-group/radio-group.d.ts +3 -0
- package/dist/lib/components/radio-group/radio-group.js +78 -0
- package/dist/lib/components/radio-group/radio-group.js.map +1 -0
- package/dist/lib/components/radio-group/radio-group.module.js +27 -0
- package/dist/lib/components/radio-group/radio-group.module.js.map +1 -0
- package/dist/lib/components/radio-group/radio-group_module.css +55 -0
- package/dist/lib/components/search-field/search-field.d.ts +6 -0
- package/dist/lib/components/search-field/search-field.js +97 -0
- package/dist/lib/components/search-field/search-field.js.map +1 -0
- package/dist/lib/components/search-field/search-field.module.js +27 -0
- package/dist/lib/components/search-field/search-field.module.js.map +1 -0
- package/dist/lib/components/search-field/search-field_module.css +78 -0
- package/dist/lib/components/select/select.d.ts +11 -0
- package/dist/lib/components/select/select.js +104 -0
- package/dist/lib/components/select/select.js.map +1 -0
- package/dist/lib/components/select/select.module.js +27 -0
- package/dist/lib/components/select/select.module.js.map +1 -0
- package/dist/lib/components/select/select_module.css +82 -0
- package/dist/lib/components/slider/slider.d.ts +8 -0
- package/dist/lib/components/slider/slider.js +176 -0
- package/dist/lib/components/slider/slider.js.map +1 -0
- package/dist/lib/components/slider/slider.module.js +27 -0
- package/dist/lib/components/slider/slider.module.js.map +1 -0
- package/dist/lib/components/slider/slider_module.css +62 -0
- package/dist/lib/components/spinner/spinner.d.ts +5 -0
- package/dist/lib/components/spinner/spinner.js +55 -0
- package/dist/lib/components/spinner/spinner.js.map +1 -0
- package/dist/lib/components/spinner/spinner.module.js +27 -0
- package/dist/lib/components/spinner/spinner.module.js.map +1 -0
- package/dist/lib/components/spinner/spinner_module.css +18 -0
- package/dist/lib/components/switch.d.ts +4 -0
- package/dist/lib/components/switch.js +95 -0
- package/dist/lib/components/switch.js.map +1 -0
- package/dist/lib/components/switch.module.js +27 -0
- package/dist/lib/components/switch.module.js.map +1 -0
- package/dist/lib/components/switch_module.css +72 -0
- package/dist/lib/components/tabs.d.ts +6 -0
- package/dist/lib/components/tabs.js +103 -0
- package/dist/lib/components/tabs.js.map +1 -0
- package/dist/lib/components/tabs.module.js +27 -0
- package/dist/lib/components/tabs.module.js.map +1 -0
- package/dist/lib/components/tabs_module.css +52 -0
- package/dist/lib/components/text-area.d.ts +4 -0
- package/dist/lib/components/text-area.js +52 -0
- package/dist/lib/components/text-area.js.map +1 -0
- package/dist/lib/components/text-field.d.ts +64 -0
- package/dist/lib/components/text-field.js +78 -0
- package/dist/lib/components/text-field.js.map +1 -0
- package/dist/lib/components/text-field.module.js +27 -0
- package/dist/lib/components/text-field.module.js.map +1 -0
- package/dist/lib/components/text-field_module.css +37 -0
- package/dist/lib/components/toggle-button.d.ts +10 -0
- package/dist/lib/components/toggle-button.js +100 -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 +102 -0
- package/dist/lib/components/tooltip.js.map +1 -0
- package/dist/lib/components/tooltip.module.js +27 -0
- package/dist/lib/components/tooltip.module.js.map +1 -0
- package/dist/lib/components/tooltip_module.css +68 -0
- package/dist/lib/components/typography/heading.d.ts +67 -0
- package/dist/lib/components/typography/heading.js +75 -0
- package/dist/lib/components/typography/heading.js.map +1 -0
- package/dist/lib/components/typography/heading.module.js +27 -0
- package/dist/lib/components/typography/heading.module.js.map +1 -0
- package/dist/lib/components/typography/heading_module.css +58 -0
- package/dist/lib/components/typography/text.d.ts +17 -0
- package/dist/lib/components/typography/text.js +96 -0
- package/dist/lib/components/typography/text.js.map +1 -0
- package/dist/lib/components/typography/text.module.js +27 -0
- package/dist/lib/components/typography/text.module.js.map +1 -0
- package/dist/lib/components/typography/text_module.css +66 -0
- package/dist/lib/index.d.ts +24 -0
- package/dist/lib/index.js +77 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/plugin.d.ts +4 -0
- package/dist/lib/plugin.js +183 -0
- package/dist/lib/plugin.js.map +1 -0
- package/dist/lib/style.css +105 -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/package.json +97 -0
- package/readme.md +86 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type BreadcrumbProps, type BreadcrumbsProps, type LinkProps } from "react-aria-components";
|
|
2
|
+
export declare function Breadcrumbs<T extends object>({ className, ...props }: BreadcrumbsProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function Breadcrumb(props: BreadcrumbProps & LinkProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var breadcrumbs_exports = {};
|
|
30
|
+
__export(breadcrumbs_exports, {
|
|
31
|
+
Breadcrumb: () => Breadcrumb,
|
|
32
|
+
Breadcrumbs: () => Breadcrumbs
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(breadcrumbs_exports);
|
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
+
var import_cva = require("cva");
|
|
37
|
+
var import_react_aria_components = require("react-aria-components");
|
|
38
|
+
var import_resolve_class_name = require("../../utilities/resolve-class-name.js");
|
|
39
|
+
var import_breadcrumbs = __toESM(require("../breadcrumbs/breadcrumbs.module"));
|
|
40
|
+
var import_divider_83026e17 = __toESM(require("../../assets/divider.83026e17.png"));
|
|
41
|
+
function Breadcrumbs({
|
|
42
|
+
className,
|
|
43
|
+
...props
|
|
44
|
+
}) {
|
|
45
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
46
|
+
import_react_aria_components.Breadcrumbs,
|
|
47
|
+
{
|
|
48
|
+
...props,
|
|
49
|
+
className: (0, import_cva.cx)(import_breadcrumbs.default.breadcrumbs, className)
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
const breadcrumbLink = (0, import_cva.cva)({
|
|
54
|
+
base: import_breadcrumbs.default.link,
|
|
55
|
+
variants: {
|
|
56
|
+
isHovered: { true: import_breadcrumbs.default.hover }
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
function Breadcrumb(props) {
|
|
60
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
61
|
+
import_react_aria_components.Breadcrumb,
|
|
62
|
+
{
|
|
63
|
+
...props,
|
|
64
|
+
className: (values) => (0, import_cva.cx)(import_breadcrumbs.default.item, (0, import_resolve_class_name.resolveClassName)(props.className, values)),
|
|
65
|
+
children: [
|
|
66
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
67
|
+
import_react_aria_components.Link,
|
|
68
|
+
{
|
|
69
|
+
className: (values) => breadcrumbLink({
|
|
70
|
+
isHovered: values.isHovered
|
|
71
|
+
}),
|
|
72
|
+
...props
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
props.href && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", { src: import_divider_83026e17.default, alt: "", className: import_breadcrumbs.default.divider })
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
+
0 && (module.exports = {
|
|
82
|
+
Breadcrumb,
|
|
83
|
+
Breadcrumbs
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=breadcrumbs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAkBE;AAlBF,iBAAwB;AACxB,mCAOO;AACP,gCAAiC;AACjC,yBAAoB;AACpB,8BAAoB;AAEb,SAAS,YAA8B;AAAA,EAC7C;AAAA,EACA,GAAG;AACJ,GAAwB;AACvB,SACC;AAAA,IAAC,6BAAAA;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,eAAW,eAAG,mBAAAC,QAAQ,aAAa,SAAS;AAAA;AAAA,EAC7C;AAEF;AAEA,MAAM,qBAAiB,gBAAI;AAAA,EAC1B,MAAM,mBAAAA,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,WAAW,EAAE,MAAM,mBAAAA,QAAQ,MAAM;AAAA,EAClC;AACD,CAAC;AAEM,SAAS,WAAW,OAAoC;AAC9D,SACC;AAAA,IAAC,6BAAAC;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,eACX,eAAG,mBAAAD,QAAQ,UAAM,4CAAiB,MAAM,WAAW,MAAM,CAAC;AAAA,MAG3D;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,QAAQ,4CAAC,SAAI,KAAK,wBAAAE,SAAS,KAAI,IAAG,WAAW,mBAAAF,QAAQ,SAAS;AAAA;AAAA;AAAA,EACtE;AAEF","names":["AriaBreadcrumbs","classes","AriaBreadcrumb","divider"],"ignoreList":[],"sources":["../../../../src/components/breadcrumbs/breadcrumbs.tsx"],"sourcesContent":["import { cva, cx } from \"cva\";\nimport {\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 classes from \"../breadcrumbs/breadcrumbs.module\";\nimport divider from \"../../assets/divider.83026e17.png\";\n\nexport function Breadcrumbs<T extends object>({\n\tclassName,\n\t...props\n}: BreadcrumbsProps<T>) {\n\treturn (\n\t\t<AriaBreadcrumbs\n\t\t\t{...props}\n\t\t\tclassName={cx(classes.breadcrumbs, className)}\n\t\t/>\n\t);\n}\n\nconst breadcrumbLink = cva({\n\tbase: classes.link,\n\tvariants: {\n\t\tisHovered: { true: classes.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\tcx(classes.item, resolveClassName(props.className, values))\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 && <img src={divider} alt=\"\" className={classes.divider} />}\n\t\t</AriaBreadcrumb>\n\t);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var breadcrumbs_exports = {};
|
|
20
|
+
__export(breadcrumbs_exports, {
|
|
21
|
+
default: () => breadcrumbs_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(breadcrumbs_exports);
|
|
24
|
+
var import_breadcrumbs_module = require("./breadcrumbs_module.css");
|
|
25
|
+
var breadcrumbs_default = { "breadcrumbs": "breadcrumbs_a2b0d", "item": "item_a2b0d", "link": "link_a2b0d", "hover": "hover_a2b0d", "divider": "divider_a2b0d" };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=breadcrumbs.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAO;AAA2B,IAAO,sBAAQ,EAAC,eAAc,qBAAoB,QAAO,cAAa,QAAO,cAAa,SAAQ,eAAc,WAAU,gBAAe","names":[],"ignoreList":[],"sources":["../../../../src/components/breadcrumbs/breadcrumbs.module.css"],"sourcesContent":["import \"./breadcrumbs_module.css\";export default {\"breadcrumbs\":\"breadcrumbs_a2b0d\",\"item\":\"item_a2b0d\",\"link\":\"link_a2b0d\",\"hover\":\"hover_a2b0d\",\"divider\":\"divider_a2b0d\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@layer lol {
|
|
2
|
+
.breadcrumbs_a2b0d {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 0.25rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.item_a2b0d {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.link_a2b0d {
|
|
13
|
+
font-family: var(--lol-font-family-beaufort);
|
|
14
|
+
color: var(--lol-color-gold-300);
|
|
15
|
+
position: relative;
|
|
16
|
+
font-size: var(--lol-font-size-sm);
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
text-transform: uppercase;
|
|
19
|
+
letter-spacing: 0.1em;
|
|
20
|
+
padding: 0 1rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.link_a2b0d.hover_a2b0d {
|
|
24
|
+
color: var(--lol-color-gold-100);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.divider_a2b0d {
|
|
28
|
+
height: 11px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var button_link_exports = {};
|
|
20
|
+
__export(button_link_exports, {
|
|
21
|
+
ButtonLink: () => ButtonLink,
|
|
22
|
+
_ButtonLink: () => _ButtonLink
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(button_link_exports);
|
|
25
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
26
|
+
var import_react = require("react");
|
|
27
|
+
var import_react_aria_components = require("react-aria-components");
|
|
28
|
+
var import_resolve_class_name = require("../utilities/resolve-class-name.js");
|
|
29
|
+
var import_button = require("./button.js");
|
|
30
|
+
function _ButtonLink({
|
|
31
|
+
children,
|
|
32
|
+
className,
|
|
33
|
+
preset = "secondary",
|
|
34
|
+
shape = "normal",
|
|
35
|
+
thin = preset === "dimmed",
|
|
36
|
+
...props
|
|
37
|
+
}, ref) {
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
import_react_aria_components.Link,
|
|
40
|
+
{
|
|
41
|
+
ref,
|
|
42
|
+
...props,
|
|
43
|
+
className: (values) => {
|
|
44
|
+
return (0, import_button.button)({
|
|
45
|
+
className: (0, import_resolve_class_name.resolveClassName)(className, values),
|
|
46
|
+
preset,
|
|
47
|
+
shape,
|
|
48
|
+
thin,
|
|
49
|
+
...values
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
children
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
const ButtonLink = (0, import_react.forwardRef)(_ButtonLink);
|
|
57
|
+
ButtonLink.displayName = "ButtonLink";
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
ButtonLink,
|
|
61
|
+
_ButtonLink
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=button-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuBE;AAvBF,mBAAqC;AACrC,mCAAmD;AACnD,gCAAiC;AACjC,oBAA4D;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,6BAAAA;AAAA;AAAA,MACA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WAAW;AACtB,mBAAO,sBAAO;AAAA,UACb,eAAW,4CAAiB,WAAW,MAAM;AAAA,UAC7C;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACJ,CAAC;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACF;AAEF;AAEO,MAAM,iBAAa,yBAAW,WAAW;AAChD,WAAW,cAAc","names":["AriaButton"],"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"]}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var button_exports = {};
|
|
30
|
+
__export(button_exports, {
|
|
31
|
+
Button: () => Button,
|
|
32
|
+
_Button: () => _Button,
|
|
33
|
+
button: () => button
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(button_exports);
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var import_react = require("react");
|
|
38
|
+
var import_react_aria_components = require("react-aria-components");
|
|
39
|
+
var import_resolve_class_name = require("../utilities/resolve-class-name.js");
|
|
40
|
+
var import_cva = require("cva");
|
|
41
|
+
var import_button = __toESM(require("./button.module"));
|
|
42
|
+
const button = (0, import_cva.cva)({
|
|
43
|
+
base: import_button.default.button,
|
|
44
|
+
variants: {
|
|
45
|
+
preset: {
|
|
46
|
+
primary: import_button.default.primary,
|
|
47
|
+
secondary: import_button.default.secondary,
|
|
48
|
+
text: import_button.default.text,
|
|
49
|
+
hextech: import_button.default.hextech,
|
|
50
|
+
dimmed: import_button.default.dimmed
|
|
51
|
+
},
|
|
52
|
+
isHovered: {
|
|
53
|
+
true: import_button.default.hover
|
|
54
|
+
},
|
|
55
|
+
isPressed: {
|
|
56
|
+
true: import_button.default.press
|
|
57
|
+
},
|
|
58
|
+
isDisabled: {
|
|
59
|
+
true: import_button.default.disabled
|
|
60
|
+
},
|
|
61
|
+
isFocused: {
|
|
62
|
+
true: ""
|
|
63
|
+
},
|
|
64
|
+
isFocusVisible: {
|
|
65
|
+
true: import_button.default.focusVisible
|
|
66
|
+
},
|
|
67
|
+
shape: {
|
|
68
|
+
round: import_button.default.round,
|
|
69
|
+
square: import_button.default.square,
|
|
70
|
+
normal: import_button.default.normal
|
|
71
|
+
},
|
|
72
|
+
thin: {
|
|
73
|
+
true: import_button.default.thin
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
function _Button({
|
|
78
|
+
children,
|
|
79
|
+
className,
|
|
80
|
+
preset = "secondary",
|
|
81
|
+
shape = "normal",
|
|
82
|
+
thin = preset === "dimmed",
|
|
83
|
+
...props
|
|
84
|
+
}, ref) {
|
|
85
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
86
|
+
import_react_aria_components.Button,
|
|
87
|
+
{
|
|
88
|
+
ref,
|
|
89
|
+
...props,
|
|
90
|
+
className: (values) => {
|
|
91
|
+
return button({
|
|
92
|
+
className: (0, import_resolve_class_name.resolveClassName)(className, values),
|
|
93
|
+
preset,
|
|
94
|
+
shape,
|
|
95
|
+
thin,
|
|
96
|
+
...values
|
|
97
|
+
});
|
|
98
|
+
},
|
|
99
|
+
children
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
const Button = (0, import_react.forwardRef)(_Button);
|
|
104
|
+
Button.displayName = "Button";
|
|
105
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
106
|
+
0 && (module.exports = {
|
|
107
|
+
Button,
|
|
108
|
+
_Button,
|
|
109
|
+
button
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAuEE;AAvEF,mBAAqC;AACrC,mCAGO;AACP,gCAAiC;AACjC,iBAAoB;AACpB,oBAAoB;AAgBb,MAAM,aAAS,gBAAI;AAAA,EACzB,MAAM,cAAAA,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,QAAQ;AAAA,MACP,SAAS,cAAAA,QAAQ;AAAA,MACjB,WAAW,cAAAA,QAAQ;AAAA,MACnB,MAAM,cAAAA,QAAQ;AAAA,MACd,SAAS,cAAAA,QAAQ;AAAA,MACjB,QAAQ,cAAAA,QAAQ;AAAA,IACjB;AAAA,IACA,WAAW;AAAA,MACV,MAAM,cAAAA,QAAQ;AAAA,IACf;AAAA,IACA,WAAW;AAAA,MACV,MAAM,cAAAA,QAAQ;AAAA,IACf;AAAA,IACA,YAAY;AAAA,MACX,MAAM,cAAAA,QAAQ;AAAA,IACf;AAAA,IACA,WAAW;AAAA,MACV,MAAM;AAAA,IACP;AAAA,IACA,gBAAgB;AAAA,MACf,MAAM,cAAAA,QAAQ;AAAA,IACf;AAAA,IACA,OAAO;AAAA,MACN,OAAO,cAAAA,QAAQ;AAAA,MACf,QAAQ,cAAAA,QAAQ;AAAA,MAChB,QAAQ,cAAAA,QAAQ;AAAA,IACjB;AAAA,IACA,MAAM;AAAA,MACL,MAAM,cAAAA,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,6BAAAC;AAAA;AAAA,MACA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WAAW;AACtB,eAAO,OAAO;AAAA,UACb,eAAW,4CAAiB,WAAW,MAAM;AAAA,UAC7C;AAAA,UACA;AAAA,UACA;AAAA,UACA,GAAG;AAAA,QACJ,CAAC;AAAA,MACF;AAAA,MAEC;AAAA;AAAA,EACF;AAEF;AAEO,MAAM,aAAS,yBAAW,OAAO;AACxC,OAAO,cAAc","names":["classes","AriaButton"],"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"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var button_exports = {};
|
|
20
|
+
__export(button_exports, {
|
|
21
|
+
default: () => button_default
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(button_exports);
|
|
24
|
+
var import_button_module = require("./button_module.css");
|
|
25
|
+
var button_default = { "button": "button_f7046", "text": "text_f7046", "round": "round_f7046", "hover": "hover_f7046", "square": "square_f7046", "normal": "normal_f7046", "press": "press_f7046", "disabled": "disabled_f7046", "hextech": "hextech_f7046", "dimmed": "dimmed_f7046", "selected": "selected_f7046", "primary": "primary_f7046", "secondary": "secondary_f7046", "focusVisible": "focusVisible_f7046", "thin": "thin_f7046" };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=button.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAO;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_f7046\",\"text\":\"text_f7046\",\"round\":\"round_f7046\",\"hover\":\"hover_f7046\",\"square\":\"square_f7046\",\"normal\":\"normal_f7046\",\"press\":\"press_f7046\",\"disabled\":\"disabled_f7046\",\"hextech\":\"hextech_f7046\",\"dimmed\":\"dimmed_f7046\",\"selected\":\"selected_f7046\",\"primary\":\"primary_f7046\",\"secondary\":\"secondary_f7046\",\"focusVisible\":\"focusVisible_f7046\",\"thin\":\"thin_f7046\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@layer lol {
|
|
2
|
+
.button_f7046 {
|
|
3
|
+
border-radius: 0px;
|
|
4
|
+
border: 2px solid transparent;
|
|
5
|
+
outline: none;
|
|
6
|
+
transition: all;
|
|
7
|
+
transition-duration: 0.3s;
|
|
8
|
+
|
|
9
|
+
font-family: var(--lol-font-family-beaufort);
|
|
10
|
+
color: var(--lol-color-gold-300);
|
|
11
|
+
font-weight: 700;
|
|
12
|
+
text-transform: uppercase;
|
|
13
|
+
letter-spacing: 0.05em;
|
|
14
|
+
font-size: 1rem;
|
|
15
|
+
|
|
16
|
+
background: var(--lol-button-background-gradient) padding-box,
|
|
17
|
+
var(--lol-button-border-gradient) border-box;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
}
|
|
20
|
+
.text_f7046.round_f7046.hover_f7046, .text_f7046.square_f7046.hover_f7046 {
|
|
21
|
+
--lol-button-background-gradient: var(--lol-gradient-grey-300);
|
|
22
|
+
--lol-button-border-gradient: var(--lol-gradient-transparent);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.text_f7046.round_f7046,
|
|
26
|
+
.text_f7046.square_f7046,
|
|
27
|
+
.text_f7046.normal_f7046 {
|
|
28
|
+
position: relative;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.text_f7046.round_f7046::after, .text_f7046.square_f7046::after, .text_f7046.normal_f7046::after {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: -0.5rem;
|
|
34
|
+
left: -0.5rem;
|
|
35
|
+
bottom: -0.5rem;
|
|
36
|
+
right: -0.5rem;
|
|
37
|
+
content: '';
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.hover_f7046 {
|
|
41
|
+
color: var(--lol-color-gold-100);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.press_f7046 {
|
|
45
|
+
color: var(--lol-color-grey-150);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.disabled_f7046 {
|
|
49
|
+
color: var(--lol-color-grey-150);
|
|
50
|
+
cursor: default;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.hextech_f7046 {
|
|
54
|
+
color: var(--lol-color-blue-100);
|
|
55
|
+
--lol-button-border-gradient: var(--lol-gradient-hextech);
|
|
56
|
+
--lol-button-background-gradient: var(--lol-gradient-grey-300);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.hextech_f7046.hover_f7046 {
|
|
60
|
+
color: var(--lol-color-blue-100);
|
|
61
|
+
--lol-button-border-gradient: var(--lol-gradient-hextech-hover);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.hextech_f7046.press_f7046 {
|
|
65
|
+
color: var(--lol-color-blue-400);
|
|
66
|
+
--lol-button-border-gradient: var(--lol-gradient-hextech-press);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.hextech_f7046.disabled_f7046 {
|
|
70
|
+
color: var(--lol-color-grey-150);
|
|
71
|
+
--lol-button-border-gradient: var(--lol-gradient-disabled);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.dimmed_f7046 {
|
|
75
|
+
--lol-button-background-gradient: var(--lol-gradient-hextech-black);
|
|
76
|
+
--lol-button-border-gradient: var(--lol-gradient-grey-300);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.dimmed_f7046.selected_f7046 {
|
|
80
|
+
--lol-button-border-gradient: var(--lol-gradient-gold);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.primary_f7046 {
|
|
84
|
+
--lol-button-border-gradient: var(--lol-gradient-gold);
|
|
85
|
+
--lol-button-background-gradient: linear-gradient(to top, var(--lol-color-gold-600), var(--lol-color-gold-600), var(--lol-color-gold-700));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.primary_f7046.hover_f7046 {
|
|
89
|
+
--lol-button-background-gradient: linear-gradient(to top, var(--lol-color-gold-600), var(--lol-color-gold-600), var(--lol-color-gold-500));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.primary_f7046.press_f7046 {
|
|
93
|
+
--lol-button-background-gradient: linear-gradient(to top, var(--lol-color-gold-600), var(--lol-color-gold-700), var(--lol-color-gold-700));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.primary_f7046,
|
|
97
|
+
.secondary_f7046,
|
|
98
|
+
.hextech_f7046,
|
|
99
|
+
.dimmed_f7046 {
|
|
100
|
+
padding: 0.5rem 1rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.secondary_f7046 {
|
|
104
|
+
--lol-button-border-gradient: var(--lol-gradient-gold);
|
|
105
|
+
--lol-button-background-gradient: var(--lol-gradient-grey-300);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.primary_f7046.hover_f7046,
|
|
109
|
+
.secondary_f7046.hover_f7046,
|
|
110
|
+
.dimmed_f7046.hover_f7046 {
|
|
111
|
+
--lol-button-border-gradient: var(--lol-gradient-gold-hover);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
.primary_f7046.press_f7046,
|
|
116
|
+
.secondary_f7046.press_f7046,
|
|
117
|
+
.dimmed_f7046.press_f7046 {
|
|
118
|
+
--lol-button-border-gradient: var(--lol-gradient-gold-press);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
.primary_f7046.disabled_f7046,
|
|
123
|
+
.secondary_f7046.disabled_f7046,
|
|
124
|
+
.dimmed_f7046.disabled_f7046 {
|
|
125
|
+
--lol-button-border-gradient: var(--lol-gradient-disabled);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.primary_f7046.focusVisible_f7046,
|
|
129
|
+
.secondary_f7046.focusVisible_f7046 {
|
|
130
|
+
outline-style: solid;
|
|
131
|
+
outline-offset: 2px;
|
|
132
|
+
outline-color: var(--lol-color-gold-400);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.round_f7046 {
|
|
136
|
+
border-radius: 9999px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.round_f7046,
|
|
140
|
+
.square_f7046 {
|
|
141
|
+
display: flex;
|
|
142
|
+
aspect-ratio: 1/1;
|
|
143
|
+
height: 2rem;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
padding: 0px;
|
|
147
|
+
font-weight: 900;
|
|
148
|
+
line-height: 1;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.thin_f7046 {
|
|
152
|
+
border-width: 1px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.selected_f7046 {
|
|
156
|
+
--lol-button-background-gradient: var(--lol-gradient-hextech);
|
|
157
|
+
box-shadow: inset 0 2px 4px 0 var(--lol-color-grey-300);
|
|
158
|
+
color: var(--lol-color-blue-100);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ComponentProps } from "react";
|
|
2
|
+
export interface CardProps extends ComponentProps<"div"> {
|
|
3
|
+
radius?: string;
|
|
4
|
+
borderWidth?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function Card({ className, style, radius, borderWidth, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
|