@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,117 +0,0 @@
|
|
|
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 modal_exports = {};
|
|
30
|
-
__export(modal_exports, {
|
|
31
|
-
DialogButtons: () => DialogButtons,
|
|
32
|
-
DialogHeading: () => DialogHeading,
|
|
33
|
-
DialogTrigger: () => DialogTrigger,
|
|
34
|
-
Modal: () => Modal
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(modal_exports);
|
|
37
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
|
-
var import_cva = require("cva");
|
|
39
|
-
var import_react_aria_components = require("react-aria-components");
|
|
40
|
-
var import_resolve_class_name = require("../utilities/resolve-class-name.js");
|
|
41
|
-
var import_modal = __toESM(require("./modal.module"));
|
|
42
|
-
const overlay = (0, import_cva.cva)({
|
|
43
|
-
base: import_modal.default.overlay
|
|
44
|
-
});
|
|
45
|
-
const modal = (0, import_cva.cva)({
|
|
46
|
-
base: import_modal.default.modal
|
|
47
|
-
});
|
|
48
|
-
const dialog = (0, import_cva.cva)({
|
|
49
|
-
base: import_modal.default.dialog
|
|
50
|
-
});
|
|
51
|
-
function Modal({
|
|
52
|
-
modalOverlayClassName,
|
|
53
|
-
dialogProps = {},
|
|
54
|
-
children,
|
|
55
|
-
className,
|
|
56
|
-
...modalProps
|
|
57
|
-
}) {
|
|
58
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
59
|
-
import_react_aria_components.ModalOverlay,
|
|
60
|
-
{
|
|
61
|
-
...modalProps,
|
|
62
|
-
className: (values) => {
|
|
63
|
-
return overlay({
|
|
64
|
-
className: (0, import_resolve_class_name.resolveClassName)(modalOverlayClassName, values)
|
|
65
|
-
});
|
|
66
|
-
},
|
|
67
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
|
-
import_react_aria_components.Modal,
|
|
69
|
-
{
|
|
70
|
-
...modalProps,
|
|
71
|
-
className: (values) => modal({
|
|
72
|
-
className: (0, import_resolve_class_name.resolveClassName)(className, values)
|
|
73
|
-
}),
|
|
74
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
75
|
-
import_react_aria_components.Dialog,
|
|
76
|
-
{
|
|
77
|
-
...dialogProps,
|
|
78
|
-
className: dialog({
|
|
79
|
-
className: dialogProps.className
|
|
80
|
-
}),
|
|
81
|
-
children
|
|
82
|
-
}
|
|
83
|
-
)
|
|
84
|
-
}
|
|
85
|
-
)
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
const dialogHeading = (0, import_cva.cva)({
|
|
90
|
-
base: import_modal.default.dialogHeading
|
|
91
|
-
});
|
|
92
|
-
function DialogHeading({ className, ...props }) {
|
|
93
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
94
|
-
import_react_aria_components.Heading,
|
|
95
|
-
{
|
|
96
|
-
...props,
|
|
97
|
-
className: dialogHeading({
|
|
98
|
-
className
|
|
99
|
-
})
|
|
100
|
-
}
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
function DialogButtons({ children }) {
|
|
104
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_modal.default.dialogButtons, children });
|
|
105
|
-
}
|
|
106
|
-
function DialogTrigger(props) {
|
|
107
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_aria_components.DialogTrigger, { ...props });
|
|
108
|
-
}
|
|
109
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
110
|
-
0 && (module.exports = {
|
|
111
|
-
DialogButtons,
|
|
112
|
-
DialogHeading,
|
|
113
|
-
DialogTrigger,
|
|
114
|
-
Modal
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
//# sourceMappingURL=modal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyDI;AAzDJ,iBAAoB;AACpB,mCAUO;AACP,gCAAiC;AACjC,mBAAoB;AAEpB,MAAM,cAAU,gBAAI;AAAA,EACnB,MAAM,aAAAA,QAAQ;AACf,CAAC;AAED,MAAM,YAAQ,gBAAI;AAAA,EACjB,MAAM,aAAAA,QAAQ;AACf,CAAC;AAED,MAAM,aAAS,gBAAI;AAAA,EAClB,MAAM,aAAAA,QAAQ;AACf,CAAC;AAQM,SAAS,MAAM;AAAA,EACrB;AAAA,EACA,cAAc,CAAC;AAAA,EACf;AAAA,EACA;AAAA,EACA,GAAG;AACJ,GAAe;AACd,SACC;AAAA,IAAC;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,CAAC,WAAW;AACtB,eAAO,QAAQ;AAAA,UACd,eAAW,4CAAiB,uBAAuB,MAAM;AAAA,QAC1D,CAAC;AAAA,MACF;AAAA,MAEA;AAAA,QAAC,6BAAAC;AAAA;AAAA,UACC,GAAG;AAAA,UACJ,WAAW,CAAC,WACX,MAAM;AAAA,YACL,eAAW,4CAAiB,WAAW,MAAM;AAAA,UAC9C,CAAC;AAAA,UAGF;AAAA,YAAC;AAAA;AAAA,cACC,GAAG;AAAA,cACJ,WAAW,OAAO;AAAA,gBACjB,WAAW,YAAY;AAAA,cACxB,CAAC;AAAA,cAEA;AAAA;AAAA,UACF;AAAA;AAAA,MACD;AAAA;AAAA,EACD;AAEF;AAEA,MAAM,oBAAgB,gBAAI;AAAA,EACzB,MAAM,aAAAD,QAAQ;AACf,CAAC;AAEM,SAAS,cAAc,EAAE,WAAW,GAAG,MAAM,GAAqB;AACxE,SACC;AAAA,IAAC,6BAAAE;AAAA;AAAA,MACC,GAAG;AAAA,MACJ,WAAW,cAAc;AAAA,QACxB;AAAA,MACD,CAAC;AAAA;AAAA,EACF;AAEF;AAEO,SAAS,cAAc,EAAE,SAAS,GAAkC;AAC1E,SAAO,4CAAC,SAAI,WAAW,aAAAF,QAAQ,eAAgB,UAAS;AACzD;AAEO,SAAS,cAAc,OAA+B;AAC5D,SAAO,4CAAC,6BAAAG,eAAA,EAAmB,GAAG,OAAO;AACtC","names":["classes","AriaModal","AriaHeading","AriaDialogTrigger"],"ignoreList":[],"sources":["../../../src/components/modal.tsx"],"sourcesContent":["import { cva } from \"cva\";\nimport {\n\tDialogTrigger as AriaDialogTrigger,\n\ttype DialogTriggerProps as AriaDialogTriggerProps,\n\tHeading as AriaHeading,\n\ttype HeadingProps as AriaHeadingProps,\n\tModal as AriaModal,\n\tDialog,\n\ttype DialogProps,\n\tModalOverlay,\n\ttype ModalOverlayProps,\n} from \"react-aria-components\";\nimport { resolveClassName } from \"../utilities/resolve-class-name.js\";\nimport classes from \"./modal.module\";\n\nconst overlay = cva({\n\tbase: classes.overlay,\n});\n\nconst modal = cva({\n\tbase: classes.modal,\n});\n\nconst dialog = cva({\n\tbase: classes.dialog,\n});\n\ninterface ModalProps extends Omit<ModalOverlayProps, \"children\"> {\n\tmodalOverlayClassName?: ModalOverlayProps[\"className\"];\n\tdialogProps?: Omit<DialogProps, \"children\">;\n\tchildren?: DialogProps[\"children\"];\n}\n\nexport function Modal({\n\tmodalOverlayClassName,\n\tdialogProps = {},\n\tchildren,\n\tclassName,\n\t...modalProps\n}: ModalProps) {\n\treturn (\n\t\t<ModalOverlay\n\t\t\t{...modalProps}\n\t\t\tclassName={(values) => {\n\t\t\t\treturn overlay({\n\t\t\t\t\tclassName: resolveClassName(modalOverlayClassName, values),\n\t\t\t\t});\n\t\t\t}}\n\t\t>\n\t\t\t<AriaModal\n\t\t\t\t{...modalProps}\n\t\t\t\tclassName={(values) =>\n\t\t\t\t\tmodal({\n\t\t\t\t\t\tclassName: resolveClassName(className, values),\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<Dialog\n\t\t\t\t\t{...dialogProps}\n\t\t\t\t\tclassName={dialog({\n\t\t\t\t\t\tclassName: dialogProps.className,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</Dialog>\n\t\t\t</AriaModal>\n\t\t</ModalOverlay>\n\t);\n}\n\nconst dialogHeading = cva({\n\tbase: classes.dialogHeading,\n});\n\nexport function DialogHeading({ className, ...props }: AriaHeadingProps) {\n\treturn (\n\t\t<AriaHeading\n\t\t\t{...props}\n\t\t\tclassName={dialogHeading({\n\t\t\t\tclassName,\n\t\t\t})}\n\t\t/>\n\t);\n}\n\nexport function DialogButtons({ children }: { children: React.ReactNode }) {\n\treturn <div className={classes.dialogButtons}>{children}</div>;\n}\n\nexport function DialogTrigger(props: AriaDialogTriggerProps) {\n\treturn <AriaDialogTrigger {...props} />;\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 modal_exports = {};
|
|
20
|
-
__export(modal_exports, {
|
|
21
|
-
default: () => modal_default
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(modal_exports);
|
|
24
|
-
var import_modal_module = require("./modal_module.css");
|
|
25
|
-
var modal_default = { "overlay": "overlay_9e6ab", "dialog": "dialog_9e6ab", "modal": "modal_9e6ab", "dialogHeading": "dialogHeading_9e6ab", "dialogButtons": "dialogButtons_9e6ab" };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=modal.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAO;AAAqB,IAAO,gBAAQ,EAAC,WAAU,iBAAgB,UAAS,gBAAe,SAAQ,eAAc,iBAAgB,uBAAsB,iBAAgB,sBAAqB","names":[],"ignoreList":[],"sources":["../../../src/components/modal.module.css"],"sourcesContent":["import \"./modal_module.css\";export default {\"overlay\":\"overlay_9e6ab\",\"dialog\":\"dialog_9e6ab\",\"modal\":\"modal_9e6ab\",\"dialogHeading\":\"dialogHeading_9e6ab\",\"dialogButtons\":\"dialogButtons_9e6ab\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
.overlay_9e6ab {
|
|
2
|
-
background-color: color-mix(in srgb, var(--lol-color-hextech-black), transparent 75%);
|
|
3
|
-
position: fixed;
|
|
4
|
-
top: 0;
|
|
5
|
-
right: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
z-index: var(--lol-z-index-overlay);
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
min-height: 100%;
|
|
12
|
-
align-items: center;
|
|
13
|
-
justify-content: safe center;
|
|
14
|
-
overflow-y: auto;
|
|
15
|
-
padding: 1rem 0;
|
|
16
|
-
text-align: center;
|
|
17
|
-
backdrop-filter: blur(8px);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.dialog_9e6ab {
|
|
21
|
-
background: var(--lol-button-background-gradient) padding-box,
|
|
22
|
-
var(--lol-button-border-gradient) border-box;
|
|
23
|
-
border: 2px solid transparent;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
--lol-button-background-gradient: var(--lol-gradient-hextech-black);
|
|
27
|
-
--lol-button-border-gradient: linear-gradient(to bottom, var(--lol-color-gold-600), var(--lol-color-gold-600), var(--lol-color-gold-500));
|
|
28
|
-
|
|
29
|
-
position: relative;
|
|
30
|
-
outline: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.dialog_9e6ab::before,
|
|
34
|
-
.dialog_9e6ab::after {
|
|
35
|
-
position: absolute;
|
|
36
|
-
left: 1.25rem;
|
|
37
|
-
right: 1.25rem;
|
|
38
|
-
content: '';
|
|
39
|
-
display: block;
|
|
40
|
-
height: 0.25rem;
|
|
41
|
-
background-color: var(--lol-color-hextech-black);
|
|
42
|
-
border-radius: 9999px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.dialog_9e6ab::before {
|
|
46
|
-
bottom: calc(100% + 2px);
|
|
47
|
-
border: 1px solid var(--lol-color-gold-600);
|
|
48
|
-
border-bottom: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.dialog_9e6ab::after {
|
|
52
|
-
top: calc(100% + 2px);
|
|
53
|
-
border: 1px solid var(--lol-color-gold-500);
|
|
54
|
-
border-top: 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.modal_9e6ab {
|
|
59
|
-
width: 100%;
|
|
60
|
-
max-width: 28rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.dialogHeading_9e6ab {
|
|
64
|
-
color: var(--lol-color-gold-100);
|
|
65
|
-
font-family: var(--lol-font-family-beaufort);
|
|
66
|
-
text-transform: uppercase;
|
|
67
|
-
font-size: var(--lol-font-size-h5);
|
|
68
|
-
font-weight: var(--lol-font-weight-h5);
|
|
69
|
-
letter-spacing: var(--lol-letter-spacing-h5);
|
|
70
|
-
line-height: var(--lol-line-height-h5);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.dialogButtons_9e6ab {
|
|
74
|
-
justify-content: center;
|
|
75
|
-
transform: translateY(2px);
|
|
76
|
-
padding: 0 0.25rem;
|
|
77
|
-
gap: 0.25rem;
|
|
78
|
-
background-color: var(--lol-color-hextech-black);
|
|
79
|
-
display: inline-flex;
|
|
80
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ComponentProps } from "react";
|
|
2
|
-
import type { NumberFieldProps as AriaNumberFieldProps } from "react-aria-components";
|
|
3
|
-
import { Input as AriaInput, Group } from "react-aria-components";
|
|
4
|
-
type NumberFieldPreset = "normal" | "dimmed";
|
|
5
|
-
export declare function NumberField({ inputProps, groupProps, children, preset, ...props }: AriaNumberFieldProps & {
|
|
6
|
-
inputProps?: ComponentProps<typeof AriaInput>;
|
|
7
|
-
groupProps?: ComponentProps<typeof Group>;
|
|
8
|
-
preset?: NumberFieldPreset;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,132 +0,0 @@
|
|
|
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 number_field_exports = {};
|
|
30
|
-
__export(number_field_exports, {
|
|
31
|
-
NumberField: () => NumberField
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(number_field_exports);
|
|
34
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
-
var import_cva = require("cva");
|
|
36
|
-
var import_react_aria_components = require("react-aria-components");
|
|
37
|
-
var import_resolve_class_name = require("../utilities/resolve-class-name.js");
|
|
38
|
-
var import_number_field = __toESM(require("./number-field.module"));
|
|
39
|
-
const numberFieldGroup = (0, import_cva.cva)({
|
|
40
|
-
base: import_number_field.default.group,
|
|
41
|
-
variants: {
|
|
42
|
-
preset: {
|
|
43
|
-
normal: import_number_field.default.normal,
|
|
44
|
-
dimmed: import_number_field.default.dimmed
|
|
45
|
-
},
|
|
46
|
-
isDisabled: {
|
|
47
|
-
true: import_number_field.default.disabled
|
|
48
|
-
},
|
|
49
|
-
isFocusWithin: {
|
|
50
|
-
true: import_number_field.default.focusWithin
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
const numberFieldInput = (0, import_cva.cva)({
|
|
55
|
-
base: import_number_field.default.input,
|
|
56
|
-
variants: {
|
|
57
|
-
isDisabled: {
|
|
58
|
-
true: import_number_field.default.disabled
|
|
59
|
-
},
|
|
60
|
-
isFocused: {
|
|
61
|
-
true: import_number_field.default.focus
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
const numberFieldButton = (0, import_cva.cva)({
|
|
66
|
-
base: import_number_field.default.button,
|
|
67
|
-
variants: {
|
|
68
|
-
isDisabled: {
|
|
69
|
-
true: import_number_field.default.disabled
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
function NumberField({
|
|
74
|
-
inputProps = {},
|
|
75
|
-
groupProps = {},
|
|
76
|
-
children,
|
|
77
|
-
preset = "normal",
|
|
78
|
-
...props
|
|
79
|
-
}) {
|
|
80
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_aria_components.NumberField, { ...props, children: (values) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
81
|
-
typeof children === "function" ? children(values) : children,
|
|
82
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
83
|
-
import_react_aria_components.Group,
|
|
84
|
-
{
|
|
85
|
-
...groupProps,
|
|
86
|
-
className: (values2) => {
|
|
87
|
-
return numberFieldGroup({
|
|
88
|
-
className: (0, import_resolve_class_name.resolveClassName)(groupProps.className, values2),
|
|
89
|
-
preset,
|
|
90
|
-
...values2
|
|
91
|
-
});
|
|
92
|
-
},
|
|
93
|
-
children: [
|
|
94
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
95
|
-
import_react_aria_components.Button,
|
|
96
|
-
{
|
|
97
|
-
className: (values2) => numberFieldButton(values2),
|
|
98
|
-
slot: "decrement",
|
|
99
|
-
children: "-"
|
|
100
|
-
}
|
|
101
|
-
),
|
|
102
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
103
|
-
import_react_aria_components.Input,
|
|
104
|
-
{
|
|
105
|
-
...inputProps,
|
|
106
|
-
className: (values2) => {
|
|
107
|
-
return numberFieldInput({
|
|
108
|
-
className: (0, import_resolve_class_name.resolveClassName)(inputProps.className, values2),
|
|
109
|
-
...values2
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
),
|
|
114
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
115
|
-
import_react_aria_components.Button,
|
|
116
|
-
{
|
|
117
|
-
className: (values2) => numberFieldButton(values2),
|
|
118
|
-
slot: "increment",
|
|
119
|
-
children: "+"
|
|
120
|
-
}
|
|
121
|
-
)
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
] }) });
|
|
126
|
-
}
|
|
127
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
128
|
-
0 && (module.exports = {
|
|
129
|
-
NumberField
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
//# sourceMappingURL=number-field.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiEI;AAjEJ,iBAAoB;AAGpB,mCAKO;AACP,gCAAiC;AACjC,0BAAoB;AAIpB,MAAM,uBAAmB,gBAAI;AAAA,EAC5B,MAAM,oBAAAA,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,QAAQ;AAAA,MACP,QAAQ,oBAAAA,QAAQ;AAAA,MAChB,QAAQ,oBAAAA,QAAQ;AAAA,IACjB;AAAA,IACA,YAAY;AAAA,MACX,MAAM,oBAAAA,QAAQ;AAAA,IACf;AAAA,IACA,eAAe;AAAA,MACd,MAAM,oBAAAA,QAAQ;AAAA,IACf;AAAA,EACD;AACD,CAAC;AAED,MAAM,uBAAmB,gBAAI;AAAA,EAC5B,MAAM,oBAAAA,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,YAAY;AAAA,MACX,MAAM,oBAAAA,QAAQ;AAAA,IACf;AAAA,IACA,WAAW;AAAA,MACV,MAAM,oBAAAA,QAAQ;AAAA,IACf;AAAA,EACD;AACD,CAAC;AAED,MAAM,wBAAoB,gBAAI;AAAA,EAC7B,MAAM,oBAAAA,QAAQ;AAAA,EACd,UAAU;AAAA,IACT,YAAY;AAAA,MACX,MAAM,oBAAAA,QAAQ;AAAA,IACf;AAAA,EACD;AACD,CAAC;AAEM,SAAS,YAAY;AAAA,EAC3B,aAAa,CAAC;AAAA,EACd,aAAa,CAAC;AAAA,EACd;AAAA,EACA,SAAS;AAAA,EACT,GAAG;AACJ,GAIG;AACF,SACC,4CAAC,6BAAAC,aAAA,EAAiB,GAAG,OACnB,WAAC,WACD,4EACE;AAAA,WAAO,aAAa,aAAa,SAAS,MAAM,IAAI;AAAA,IACrD;AAAA,MAAC;AAAA;AAAA,QACC,GAAG;AAAA,QACJ,WAAW,CAACC,YAAW;AACtB,iBAAO,iBAAiB;AAAA,YACvB,eAAW,4CAAiB,WAAW,WAAWA,OAAM;AAAA,YACxD;AAAA,YACA,GAAGA;AAAA,UACJ,CAAC;AAAA,QACF;AAAA,QAEA;AAAA;AAAA,YAAC;AAAA;AAAA,cACA,WAAW,CAACA,YAAW,kBAAkBA,OAAM;AAAA,cAC/C,MAAK;AAAA,cACL;AAAA;AAAA,UAED;AAAA,UACA;AAAA,YAAC,6BAAAC;AAAA;AAAA,cACC,GAAG;AAAA,cACJ,WAAW,CAACD,YAAW;AACtB,uBAAO,iBAAiB;AAAA,kBACvB,eAAW,4CAAiB,WAAW,WAAWA,OAAM;AAAA,kBACxD,GAAGA;AAAA,gBACJ,CAAC;AAAA,cACF;AAAA;AAAA,UACD;AAAA,UACA;AAAA,YAAC;AAAA;AAAA,cACA,WAAW,CAACA,YAAW,kBAAkBA,OAAM;AAAA,cAC/C,MAAK;AAAA,cACL;AAAA;AAAA,UAED;AAAA;AAAA;AAAA,IACD;AAAA,KACD,GAEF;AAEF","names":["classes","AriaNumberField","values","AriaInput"],"ignoreList":[],"sources":["../../../src/components/number-field.tsx"],"sourcesContent":["import { cva } from \"cva\";\nimport type { ComponentProps } from \"react\";\nimport type { NumberFieldProps as AriaNumberFieldProps } from \"react-aria-components\";\nimport {\n\tInput as AriaInput,\n\tNumberField as AriaNumberField,\n\tButton,\n\tGroup,\n} from \"react-aria-components\";\nimport { resolveClassName } from \"../utilities/resolve-class-name.js\";\nimport classes from \"./number-field.module\";\n\ntype NumberFieldPreset = \"normal\" | \"dimmed\";\n\nconst numberFieldGroup = cva({\n\tbase: classes.group,\n\tvariants: {\n\t\tpreset: {\n\t\t\tnormal: classes.normal,\n\t\t\tdimmed: classes.dimmed,\n\t\t},\n\t\tisDisabled: {\n\t\t\ttrue: classes.disabled,\n\t\t},\n\t\tisFocusWithin: {\n\t\t\ttrue: classes.focusWithin,\n\t\t},\n\t},\n});\n\nconst numberFieldInput = cva({\n\tbase: classes.input,\n\tvariants: {\n\t\tisDisabled: {\n\t\t\ttrue: classes.disabled,\n\t\t},\n\t\tisFocused: {\n\t\t\ttrue: classes.focus,\n\t\t},\n\t},\n});\n\nconst numberFieldButton = cva({\n\tbase: classes.button,\n\tvariants: {\n\t\tisDisabled: {\n\t\t\ttrue: classes.disabled,\n\t\t},\n\t},\n});\n\nexport function NumberField({\n\tinputProps = {},\n\tgroupProps = {},\n\tchildren,\n\tpreset = \"normal\",\n\t...props\n}: AriaNumberFieldProps & {\n\tinputProps?: ComponentProps<typeof AriaInput>;\n\tgroupProps?: ComponentProps<typeof Group>;\n\tpreset?: NumberFieldPreset;\n}) {\n\treturn (\n\t\t<AriaNumberField {...props}>\n\t\t\t{(values) => (\n\t\t\t\t<>\n\t\t\t\t\t{typeof children === \"function\" ? children(values) : children}\n\t\t\t\t\t<Group\n\t\t\t\t\t\t{...groupProps}\n\t\t\t\t\t\tclassName={(values) => {\n\t\t\t\t\t\t\treturn numberFieldGroup({\n\t\t\t\t\t\t\t\tclassName: resolveClassName(groupProps.className, values),\n\t\t\t\t\t\t\t\tpreset,\n\t\t\t\t\t\t\t\t...values,\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}}\n\t\t\t\t\t>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName={(values) => numberFieldButton(values)}\n\t\t\t\t\t\t\tslot=\"decrement\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t-\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t<AriaInput\n\t\t\t\t\t\t\t{...inputProps}\n\t\t\t\t\t\t\tclassName={(values) => {\n\t\t\t\t\t\t\t\treturn numberFieldInput({\n\t\t\t\t\t\t\t\t\tclassName: resolveClassName(inputProps.className, values),\n\t\t\t\t\t\t\t\t\t...values,\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\tclassName={(values) => numberFieldButton(values)}\n\t\t\t\t\t\t\tslot=\"increment\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t+\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</Group>\n\t\t\t\t</>\n\t\t\t)}\n\t\t</AriaNumberField>\n\t);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 number_field_exports = {};
|
|
20
|
-
__export(number_field_exports, {
|
|
21
|
-
default: () => number_field_default
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(number_field_exports);
|
|
24
|
-
var import_number_field_module = require("./number-field_module.css");
|
|
25
|
-
var number_field_default = { "group": "group_b1efb", "normal": "normal_b1efb", "dimmed": "dimmed_b1efb", "disabled": "disabled_b1efb", "focusWithin": "focusWithin_b1efb", "input": "input_b1efb", "focus": "focus_b1efb", "button": "button_b1efb" };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=number-field.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAO;AAA4B,IAAO,uBAAQ,EAAC,SAAQ,eAAc,UAAS,gBAAe,UAAS,gBAAe,YAAW,kBAAiB,eAAc,qBAAoB,SAAQ,eAAc,SAAQ,eAAc,UAAS,eAAc","names":[],"ignoreList":[],"sources":["../../../src/components/number-field.module.css"],"sourcesContent":["import \"./number-field_module.css\";export default {\"group\":\"group_b1efb\",\"normal\":\"normal_b1efb\",\"dimmed\":\"dimmed_b1efb\",\"disabled\":\"disabled_b1efb\",\"focusWithin\":\"focusWithin_b1efb\",\"input\":\"input_b1efb\",\"focus\":\"focus_b1efb\",\"button\":\"button_b1efb\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
.group_b1efb {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-template-columns: auto 1fr auto;
|
|
4
|
-
gap: 1px;
|
|
5
|
-
padding: 1px;
|
|
6
|
-
outline: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.group_b1efb.normal_b1efb {
|
|
10
|
-
background-image: var(--lol-gradient-gold);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.group_b1efb.dimmed_b1efb {
|
|
14
|
-
background-image: var(--lol-gradient-grey-300);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.group_b1efb.disabled_b1efb {
|
|
18
|
-
background-image: var(--lol-gradient-disabled);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.group_b1efb.focusWithin_b1efb {
|
|
22
|
-
background-image: var(--lol-gradient-gold-hover);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.input_b1efb {
|
|
26
|
-
background-color: var(--lol-color-hextech-black);
|
|
27
|
-
color: var(--lol-color-gold-100);
|
|
28
|
-
font-family: var(--lol-font-family-spiegel);
|
|
29
|
-
font-size: 0.75rem;
|
|
30
|
-
padding: 0.5rem 0.75rem;
|
|
31
|
-
line-height: 1rem;
|
|
32
|
-
width: 100%;
|
|
33
|
-
outline: none;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.input_b1efb.disabled_b1efb {
|
|
37
|
-
background-color: var(--lol-color-grey-300);
|
|
38
|
-
color: var(--lol-color-grey-100);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.input_b1efb.focus_b1efb {
|
|
42
|
-
background-image: var(--lol-gradient-grey-focus);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.button_b1efb {
|
|
46
|
-
color: var(--lol-color-gold-100);
|
|
47
|
-
background-color: var(--lol-color-hextech-black);
|
|
48
|
-
padding: 0 0.625rem;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.button_b1efb.disabled_b1efb {
|
|
52
|
-
color: var(--lol-color-grey-150);
|
|
53
|
-
background-color: var(--lol-color-grey-300);
|
|
54
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
File without changes
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type ProgressBarProps as AriaProgressBarProps } from "react-aria-components";
|
|
2
|
-
interface ProgressBarProps extends Omit<AriaProgressBarProps, "children"> {
|
|
3
|
-
label?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function ProgressBar({ className, label, ...props }: ProgressBarProps): JSX.Element;
|
|
6
|
-
export {};
|
|
@@ -1,56 +0,0 @@
|
|
|
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 progress_bar_exports = {};
|
|
30
|
-
__export(progress_bar_exports, {
|
|
31
|
-
ProgressBar: () => ProgressBar
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(progress_bar_exports);
|
|
34
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
-
var import_cva = require("cva");
|
|
36
|
-
var import_react_aria_components = require("react-aria-components");
|
|
37
|
-
var import_progress_bar = __toESM(require("./progress-bar.module"));
|
|
38
|
-
function ProgressBar({
|
|
39
|
-
className,
|
|
40
|
-
label,
|
|
41
|
-
...props
|
|
42
|
-
}) {
|
|
43
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_aria_components.ProgressBar, { className: (0, import_cva.cx)(import_progress_bar.default.wrapper, className), ...props, children: ({ percentage, valueText }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
44
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_progress_bar.default.labelWrapper, children: [
|
|
45
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_aria_components.Label, { children: label ?? "Loading" }),
|
|
46
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: valueText })
|
|
47
|
-
] }),
|
|
48
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_progress_bar.default.progressBar, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_progress_bar.default.fill, style: { width: `${percentage}%` } }) })
|
|
49
|
-
] }) });
|
|
50
|
-
}
|
|
51
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
-
0 && (module.exports = {
|
|
53
|
-
ProgressBar
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
//# sourceMappingURL=progress-bar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAoBI;AApBJ,iBAAmB;AACnB,mCAIO;AACP,0BAAoB;AAMb,SAAS,YAAY;AAAA,EAC3B;AAAA,EACA;AAAA,EACA,GAAG;AACJ,GAAkC;AACjC,SACC,4CAAC,6BAAAA,aAAA,EAAgB,eAAW,eAAG,oBAAAC,QAAQ,SAAS,SAAS,GAAI,GAAG,OAC9D,WAAC,EAAE,YAAY,UAAU,MACzB,4EACC;AAAA,iDAAC,SAAI,WAAW,oBAAAA,QAAQ,cACvB;AAAA,kDAAC,sCAAO,mBAAS,WAAU;AAAA,MAC3B,4CAAC,UAAM,qBAAU;AAAA,OAClB;AAAA,IACA,4CAAC,SAAI,WAAW,oBAAAA,QAAQ,aACvB,sDAAC,SAAI,WAAW,oBAAAA,QAAQ,MAAM,OAAO,EAAE,OAAO,GAAG,UAAU,IAAI,GAAG,GACnE;AAAA,KACD,GAEF;AAEF","names":["AriaProgressBar","classes"],"ignoreList":[],"sources":["../../../src/components/progress-bar.tsx"],"sourcesContent":["import { cx } from \"cva\";\nimport {\n\tProgressBar as AriaProgressBar,\n\ttype ProgressBarProps as AriaProgressBarProps,\n\tLabel,\n} from \"react-aria-components\";\nimport classes from \"./progress-bar.module\";\n\ninterface ProgressBarProps extends Omit<AriaProgressBarProps, \"children\"> {\n\tlabel?: string;\n}\n\nexport function ProgressBar({\n\tclassName,\n\tlabel,\n\t...props\n}: ProgressBarProps): JSX.Element {\n\treturn (\n\t\t<AriaProgressBar className={cx(classes.wrapper, className)} {...props}>\n\t\t\t{({ percentage, valueText }) => (\n\t\t\t\t<>\n\t\t\t\t\t<div className={classes.labelWrapper}>\n\t\t\t\t\t\t<Label>{label ?? \"Loading\"}</Label>\n\t\t\t\t\t\t<span>{valueText}</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div className={classes.progressBar}>\n\t\t\t\t\t\t<div className={classes.fill} style={{ width: `${percentage}%` }} />\n\t\t\t\t\t</div>\n\t\t\t\t</>\n\t\t\t)}\n\t\t</AriaProgressBar>\n\t);\n}\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
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 progress_bar_exports = {};
|
|
20
|
-
__export(progress_bar_exports, {
|
|
21
|
-
default: () => progress_bar_default
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(progress_bar_exports);
|
|
24
|
-
var import_progress_bar_module = require("./progress-bar_module.css");
|
|
25
|
-
var progress_bar_default = { "wrapper": "wrapper_cea15", "progressBar": "progressBar_cea15", "fill": "fill_cea15", "labelWrapper": "labelWrapper_cea15" };
|
|
26
|
-
|
|
27
|
-
//# sourceMappingURL=progress-bar.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAO;AAA4B,IAAO,uBAAQ,EAAC,WAAU,iBAAgB,eAAc,qBAAoB,QAAO,cAAa,gBAAe,qBAAoB","names":[],"ignoreList":[],"sources":["../../../src/components/progress-bar.module.css"],"sourcesContent":["import \"./progress-bar_module.css\";export default {\"wrapper\":\"wrapper_cea15\",\"progressBar\":\"progressBar_cea15\",\"fill\":\"fill_cea15\",\"labelWrapper\":\"labelWrapper_cea15\"}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IiIsIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6W10sInNvdXJjZXMiOltdLCJzb3VyY2VzQ29udGVudCI6W119"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.wrapper_cea15 {
|
|
2
|
-
display: flex;
|
|
3
|
-
width: 14rem;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
gap: 0.25rem;
|
|
6
|
-
font-size: 0.875rem;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.progressBar_cea15 {
|
|
10
|
-
margin-left: -0.125rem;
|
|
11
|
-
margin-right: -0.25rem;
|
|
12
|
-
height: 0.75rem;
|
|
13
|
-
border-radius: 9999px;
|
|
14
|
-
padding: 1px;
|
|
15
|
-
background: var(--lol-gradient-grey-300) padding-box,
|
|
16
|
-
var(--lol-gradient-gold) border-box;
|
|
17
|
-
border: 1px solid transparent;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.fill_cea15 {
|
|
21
|
-
background-image: linear-gradient(to right, var(--lol-color-blue-400), var(--lol-color-blue-200));
|
|
22
|
-
border-radius: 9999px;
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.labelWrapper_cea15 {
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
font-weight: 700;
|
|
30
|
-
text-transform: uppercase;
|
|
31
|
-
font-family: var(--lol-font-family-beaufort);
|
|
32
|
-
color: var(--lol-color-gold-100);
|
|
33
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type RadioProps as AriaRadioProps, type RadioGroupProps as AriaRadiogroupProps } from "react-aria-components";
|
|
2
|
-
export declare function RadioGroup({ className, ...props }: AriaRadiogroupProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare function Radio({ className, ...props }: AriaRadioProps): import("react/jsx-runtime").JSX.Element;
|