@rebilly/revel 5.1.0 → 5.2.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/CHANGELOG.md +7 -0
- package/dist/revel.mjs +5 -5
- package/dist/revel.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.2.0](https://github.com/Rebilly/rebilly/compare/revel-v5.1.0...revel-v5.2.0) (2023-08-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **revel:** Add style helpers (border, cursor, overflow, and position) ([#852](https://github.com/Rebilly/rebilly/issues/852)) ([025ec87](https://github.com/Rebilly/rebilly/commit/025ec872868dd88ffa770ad3955add44d71b1dcb))
|
|
7
|
+
|
|
1
8
|
## [5.1.0](https://github.com/Rebilly/rebilly/compare/revel-v5.0.0...revel-v5.1.0) (2023-08-08)
|
|
2
9
|
|
|
3
10
|
|
package/dist/revel.mjs
CHANGED
|
@@ -1614,11 +1614,11 @@ const QO = /* @__PURE__ */ Z(KO, [["render", GO]]), ZO = G({
|
|
|
1614
1614
|
});
|
|
1615
1615
|
const JO = ["href", "target"], Me = {
|
|
1616
1616
|
key: 0,
|
|
1617
|
-
class: "r-
|
|
1617
|
+
class: "r-tt-sentencecase",
|
|
1618
1618
|
role: "button"
|
|
1619
1619
|
}, be = ["role", "disabled", "title"], ze = {
|
|
1620
1620
|
key: 0,
|
|
1621
|
-
class: "r-
|
|
1621
|
+
class: "r-tt-sentencecase",
|
|
1622
1622
|
role: "button"
|
|
1623
1623
|
};
|
|
1624
1624
|
function pe(M, b, z, p, o, O) {
|
|
@@ -12071,7 +12071,7 @@ const o7 = /* @__PURE__ */ Z(QR, [["render", p7]]), O7 = G({
|
|
|
12071
12071
|
}
|
|
12072
12072
|
}), e7 = ["disabled"], c7 = {
|
|
12073
12073
|
key: 0,
|
|
12074
|
-
class: "r-
|
|
12074
|
+
class: "r-tt-sentencecase button",
|
|
12075
12075
|
role: "button"
|
|
12076
12076
|
};
|
|
12077
12077
|
function t7(M, b, z, p, o, O) {
|
|
@@ -12593,7 +12593,7 @@ const R7 = /* @__PURE__ */ Z(n7, [["render", h7]]), L7 = G({
|
|
|
12593
12593
|
*/
|
|
12594
12594
|
focus() {
|
|
12595
12595
|
const M = this.$refs.container, b = document.activeElement;
|
|
12596
|
-
M.style.display !== "none" && document.body.classList.add("r-
|
|
12596
|
+
M.style.display !== "none" && document.body.classList.add("r-overflow-hidden"), M !== b && !M.contains(b) && M.focus({
|
|
12597
12597
|
preventScroll: !0
|
|
12598
12598
|
});
|
|
12599
12599
|
},
|
|
@@ -12601,7 +12601,7 @@ const R7 = /* @__PURE__ */ Z(n7, [["render", h7]]), L7 = G({
|
|
|
12601
12601
|
this.focus(), this.$emit("enter");
|
|
12602
12602
|
},
|
|
12603
12603
|
leave() {
|
|
12604
|
-
document.body.classList.remove("r-
|
|
12604
|
+
document.body.classList.remove("r-overflow-hidden"), this.$emit("leave");
|
|
12605
12605
|
}
|
|
12606
12606
|
}
|
|
12607
12607
|
});
|