|
8 | 8 | ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ |
9 | 9 |
|
10 | 10 | * Metro UI v5.1.19 Components Library (https://metroui.org.ua) |
11 | | - * Build: 10.09.2025, 11:49:58 |
| 11 | + * Build: 20.09.2025, 12:03:47 |
12 | 12 | * Copyright 2012-2025 by Serhii Pimenov |
13 | 13 | * Licensed under MIT |
14 | 14 | */ |
|
11497 | 11497 | (($7) => { |
11498 | 11498 | "use strict"; |
11499 | 11499 | globalThis["__version__"] = "5.1.19"; |
11500 | | - globalThis["__build_time__"] = "10.09.2025, 11:49:58"; |
| 11500 | + globalThis["__build_time__"] = "20.09.2025, 12:03:47"; |
11501 | 11501 | const meta_init = $7.meta("metro:init").attr("content"); |
11502 | 11502 | const meta_cloak = $7.meta("metro:cloak").attr("content"); |
11503 | 11503 | const meta_cloak_duration = $7.meta("metro:cloak_duration").attr("content"); |
|
11844 | 11844 | const normalizeComponentName2 = (name2) => typeof name2 !== "string" ? void 0 : name2.replace(/-/g, "").toLowerCase(); |
11845 | 11845 | const Metro2 = { |
11846 | 11846 | version: "5.1.19", |
11847 | | - build_time: "10.09.2025, 11:49:58", |
| 11847 | + build_time: "20.09.2025, 12:03:47", |
11848 | 11848 | buildNumber: 0, |
11849 | 11849 | isTouchable: isTouch3, |
11850 | 11850 | fullScreenEnabled: document.fullscreenEnabled, |
@@ -36635,12 +36635,11 @@ ${err.message}`); |
36635 | 36635 | } |
36636 | 36636 | const result = $7("<span>").addClass("result").addClass(o2.clsResult).appendTo(rating); |
36637 | 36637 | result.html(o2.message); |
36638 | | - if (o2.offColor !== null && (o2.offColor.includes("var(") || Farbe.Routines.isColor(o2.offColor))) { |
| 36638 | + if (o2.offColor) { |
| 36639 | + rating.cssVar("rating-off-color", o2.offColor); |
36639 | 36640 | } |
36640 | | - if (o2.onColor !== null && (o2.onColor.includes("var(") || Farbe.Routines.isColor(o2.onColor))) { |
36641 | | - Metro2.utils.addCssRule(sheet, `#${id} .stars:hover li`, `color: ${o2.onColor};`); |
36642 | | - Metro2.utils.addCssRule(sheet, `#${id} .stars li.on`, `color: ${o2.onColor};`); |
36643 | | - Metro2.utils.addCssRule(sheet, `#${id} .stars li.half::after`, `color: ${o2.onColor};`); |
| 36641 | + if (o2.onColor) { |
| 36642 | + rating.cssVar("rating-on-color", o2.onColor); |
36644 | 36643 | } |
36645 | 36644 | if (o2.title !== null) { |
36646 | 36645 | const title = $7("<span>").addClass("title").addClass(o2.clsTitle).html(o2.title); |
|
0 commit comments