Skip to content

Commit 854b2c0

Browse files
committed
fixed knob position in the swtich component
1 parent 5dca33d commit 854b2c0

22 files changed

Lines changed: 898 additions & 732 deletions

File tree

CHANGELOG-HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 5.1.6
4+
+ [x] Fixed knob position in the witch component
5+
+ [x] Updated docs for a lot of components
6+
37
### 5.1.5
48
+ [x] Fixed chekbox bug in `table` component
59
+ [x] Updated docs for a lot of components

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
### 5.1.6
2+
+ [x] Fixed knob position in the witch component
3+
+ [x] Updated docs for a lot of components
24

__html__/switch.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
<link href="../lib/metro.css" rel="stylesheet">
77

88
<title>Test Switch - Metro UI :: Popular HTML, CSS and JS library</title>
9-
<style>
10-
body {
11-
padding-top: 50px;
12-
}
13-
</style>
9+
1410
</head>
1511
<body class="cloak">
1612
<nav data-role="appbar" class="border-bottom bd-default">

lib/metro.all.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72592,7 +72592,7 @@ html.metro-touch-device .streamer .stream.focused .stream-icon {
7259272592
.switch > input::before {
7259372593
content: "";
7259472594
position: absolute;
72595-
top: 2px;
72595+
top: 0;
7259672596
left: 0;
7259772597
width: 16px;
7259872598
height: 16px;

lib/metro.all.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/metro.all.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
██║ ╚═╝ ██║███████╗ ██║ ██║ ██║╚██████╔╝ ╚██████╔╝██║
88
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
99

10-
* Metro UI v5.1.5 Components Library (https://metroui.org.ua)
11-
* Build: 05.06.2025, 10:32:03
10+
* Metro UI v5.1.6 Components Library (https://metroui.org.ua)
11+
* Build: 05.06.2025, 18:50:01
1212
* Copyright 2012-2025 by Serhii Pimenov
1313
* Licensed under MIT
1414
*/
@@ -11318,8 +11318,8 @@
1131811318
// source/core/global.js
1131911319
(($6) => {
1132011320
"use strict";
11321-
globalThis["__version__"] = "5.1.5";
11322-
globalThis["__build_time__"] = "05.06.2025, 10:32:03";
11321+
globalThis["__version__"] = "5.1.6";
11322+
globalThis["__build_time__"] = "05.06.2025, 18:50:01";
1132311323
const meta_init = $6.meta("metro:init").attr("content");
1132411324
const meta_cloak = $6.meta("metro:cloak").attr("content");
1132511325
const meta_cloak_duration = $6.meta("metro:cloak_duration").attr("content");
@@ -11519,8 +11519,8 @@
1151911519
const isTouch3 = "ontouchstart" in window || navigator.MaxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
1152011520
const normalizeComponentName = (name2) => typeof name2 !== "string" ? void 0 : name2.replace(/-/g, "").toLowerCase();
1152111521
const Metro2 = {
11522-
version: "5.1.5",
11523-
build_time: "05.06.2025, 10:32:03",
11522+
version: "5.1.6",
11523+
build_time: "05.06.2025, 18:50:01",
1152411524
buildNumber: 0,
1152511525
isTouchable: isTouch3,
1152611526
fullScreenEnabled: document.fullscreenEnabled,

lib/metro.all.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/metro.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72592,7 +72592,7 @@ html.metro-touch-device .streamer .stream.focused .stream-icon {
7259272592
.switch > input::before {
7259372593
content: "";
7259472594
position: absolute;
72595-
top: 2px;
72595+
top: 0;
7259672596
left: 0;
7259772597
width: 16px;
7259872598
height: 16px;

lib/metro.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/metro.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
██║ ╚═╝ ██║███████╗ ██║ ██║ ██║╚██████╔╝ ╚██████╔╝██║
88
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
99

10-
* Metro UI v5.1.5 Components Library (https://metroui.org.ua)
11-
* Build: 05.06.2025, 10:32:03
10+
* Metro UI v5.1.6 Components Library (https://metroui.org.ua)
11+
* Build: 05.06.2025, 18:50:01
1212
* Copyright 2012-2025 by Serhii Pimenov
1313
* Licensed under MIT
1414
*/
@@ -11318,8 +11318,8 @@
1131811318
// source/core/global.js
1131911319
(($6) => {
1132011320
"use strict";
11321-
globalThis["__version__"] = "5.1.5";
11322-
globalThis["__build_time__"] = "05.06.2025, 10:32:03";
11321+
globalThis["__version__"] = "5.1.6";
11322+
globalThis["__build_time__"] = "05.06.2025, 18:50:01";
1132311323
const meta_init = $6.meta("metro:init").attr("content");
1132411324
const meta_cloak = $6.meta("metro:cloak").attr("content");
1132511325
const meta_cloak_duration = $6.meta("metro:cloak_duration").attr("content");
@@ -11519,8 +11519,8 @@
1151911519
const isTouch3 = "ontouchstart" in window || navigator.MaxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
1152011520
const normalizeComponentName = (name2) => typeof name2 !== "string" ? void 0 : name2.replace(/-/g, "").toLowerCase();
1152111521
const Metro2 = {
11522-
version: "5.1.5",
11523-
build_time: "05.06.2025, 10:32:03",
11522+
version: "5.1.6",
11523+
build_time: "05.06.2025, 18:50:01",
1152411524
buildNumber: 0,
1152511525
isTouchable: isTouch3,
1152611526
fullScreenEnabled: document.fullscreenEnabled,

0 commit comments

Comments
 (0)