@florid-kit/components 3.2.10 → 3.2.11
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/components/icon-button.mjs +13 -6
- package/components/thumbnail-navigation.mjs +5 -1
- package/index.mjs +1 -1
- package/loader.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as p, m as d, E as a, x as l, a as v, t as y } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n } from "../property-S_Y9cb04.mjs";
|
|
3
|
-
import { o as
|
|
3
|
+
import { o as b } from "../if-defined-j0wE2gL4.mjs";
|
|
4
4
|
import { r as g, o as m } from "../icons-registry.mjs";
|
|
5
5
|
import { c as f } from "../svg-utils-DOL__czZ.mjs";
|
|
6
6
|
import { f as x, i as w, s as k } from "../css-C8WrrxT-.mjs";
|
|
7
7
|
var $ = Object.defineProperty, S = Object.getOwnPropertyDescriptor, i = (t, e, r, c) => {
|
|
8
|
-
for (var s = c > 1 ? void 0 : c ? S(e, r) : e, h = t.length - 1,
|
|
9
|
-
(
|
|
8
|
+
for (var s = c > 1 ? void 0 : c ? S(e, r) : e, h = t.length - 1, u; h >= 0; h--)
|
|
9
|
+
(u = t[h]) && (s = (c ? u(e, r, s) : u(s)) || s);
|
|
10
10
|
return c && s && $(e, r, s), s;
|
|
11
11
|
};
|
|
12
12
|
const z = (t) => t.startsWith("occ-");
|
|
@@ -56,7 +56,7 @@ let o = class extends d(v) {
|
|
|
56
56
|
return this.url && this.url.length > 0 ? s = l`
|
|
57
57
|
<a
|
|
58
58
|
href=${this.url}
|
|
59
|
-
aria-label=${
|
|
59
|
+
aria-label=${b(c) || a}
|
|
60
60
|
aria-describedby=${this.getAttribute("aria-describedby") || a}
|
|
61
61
|
?disabled="${this.disabled}"
|
|
62
62
|
title=${this.urlTitle || a}
|
|
@@ -74,8 +74,8 @@ let o = class extends d(v) {
|
|
|
74
74
|
` : l`
|
|
75
75
|
<button
|
|
76
76
|
type="button"
|
|
77
|
-
aria-label=${
|
|
78
|
-
aria-pressed=${
|
|
77
|
+
aria-label=${b(c)}
|
|
78
|
+
aria-pressed=${b(this.pressed === void 0 ? void 0 : String(this.pressed))}
|
|
79
79
|
aria-describedby=${this.getAttribute("aria-describedby") || a}
|
|
80
80
|
part="icon-button"
|
|
81
81
|
class="icon-button ${this.size} ${this.bgstyle} ${this.status} ${e} ${this.highlight ? "highlight" : ""}"
|
|
@@ -320,6 +320,13 @@ o.styles = p`
|
|
|
320
320
|
${x}
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
+
:host(.layer-play-video.a--tabfocus) {
|
|
324
|
+
.icon-button {
|
|
325
|
+
outline-width: 0.2rem;
|
|
326
|
+
outline-color: var(--color-content-body-inverse, white);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
323
330
|
:host(.go-to-top) .icon-button:focus-visible {
|
|
324
331
|
${w}
|
|
325
332
|
}
|
|
@@ -133,6 +133,10 @@ r.styles = u`
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
.thumb[aria-current="true"] {
|
|
137
|
+
box-shadow: 0 0 0px 2px var(--color-border-secondary);
|
|
138
|
+
}
|
|
139
|
+
|
|
136
140
|
.thumb[aria-selected="true"]::before,
|
|
137
141
|
.a--tabfocus::before {
|
|
138
142
|
content: "";
|
|
@@ -168,7 +172,7 @@ r.styles = u`
|
|
|
168
172
|
display: flex;
|
|
169
173
|
gap: 8px;
|
|
170
174
|
margin: 0;
|
|
171
|
-
padding:
|
|
175
|
+
padding: 2px;
|
|
172
176
|
overflow-x: auto;
|
|
173
177
|
padding-bottom: 4px;
|
|
174
178
|
scrollbar-width: thin;
|
package/index.mjs
CHANGED
package/loader.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import "./components/link.mjs";
|
|
|
4
4
|
import "./components/header-simplify.mjs";
|
|
5
5
|
import "./components/breadcrumb.mjs";
|
|
6
6
|
import "./components/breadcrumbs.mjs";
|
|
7
|
-
globalThis.__FLORID_KIT__ = "3.2.
|
|
7
|
+
globalThis.__FLORID_KIT__ = "3.2.11";
|
|
8
8
|
const i = {
|
|
9
9
|
"o-accordion": () => import("./components/accordion.mjs"),
|
|
10
10
|
"o-accordion-group": () => import("./components/accordion-group.mjs"),
|