@florid-kit/components 3.2.11 → 3.2.13
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/button.d.ts +1 -1
- package/components/filter-chip.mjs +13 -8
- package/components/side-panel.mjs +4 -4
- package/index.mjs +1 -1
- package/loader.mjs +1 -1
- package/package.json +1 -1
package/components/button.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare class OccitaneButton extends buttonBaseClass implements FormSubmi
|
|
|
24
24
|
panelTarget: string;
|
|
25
25
|
href: string;
|
|
26
26
|
target: "_blank" | "_self" | "_top" | "_parent" | "";
|
|
27
|
-
|
|
27
|
+
ctatitle: string;
|
|
28
28
|
underlined: boolean;
|
|
29
29
|
withbadge: boolean;
|
|
30
30
|
describedBy: string | null;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { m as
|
|
1
|
+
import { m as p, a as b, i as u, x as o, E as l, t as f } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as i } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { f as g } from "../css-C8WrrxT-.mjs";
|
|
4
4
|
import { m as v } from "../element-internals-Dw7LndlH.mjs";
|
|
5
5
|
import { i as m } from "../icons-registry.mjs";
|
|
6
6
|
import { o as y } from "../unsafe-svg-BipL_msF.mjs";
|
|
7
7
|
import "./icon-button.mjs";
|
|
8
|
-
var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t,
|
|
9
|
-
for (var
|
|
10
|
-
(h = t[d]) && (
|
|
11
|
-
return c &&
|
|
8
|
+
var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t, n, a, c) => {
|
|
9
|
+
for (var s = c > 1 ? void 0 : c ? k(n, a) : n, d = t.length - 1, h; d >= 0; d--)
|
|
10
|
+
(h = t[d]) && (s = (c ? h(n, a, s) : h(s)) || s);
|
|
11
|
+
return c && s && x(n, a, s), s;
|
|
12
12
|
};
|
|
13
|
-
const $ =
|
|
13
|
+
const $ = p(v(b));
|
|
14
14
|
let e = class extends $ {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this.name = "", this.value = "", this.type = "", this.text = "", this.selected = !1, this.disabled = !1, this.fullwidth = !1, this.crossIconName = "cross", this.strikethroughImgName = "strikeDiagonal";
|
|
@@ -19,8 +19,8 @@ let e = class extends $ {
|
|
|
19
19
|
if (t instanceof KeyboardEvent && t.key !== "Enter" && t.key !== " ")
|
|
20
20
|
return;
|
|
21
21
|
this.selected = !this.selected;
|
|
22
|
-
const
|
|
23
|
-
this.dispatchEvent(a), a.defaultPrevented && t.preventDefault(), this.selected =
|
|
22
|
+
const n = { selected: this.selected }, a = new CustomEvent("selected", { detail: n, bubbles: !0, composed: !0, cancelable: !0 });
|
|
23
|
+
this.dispatchEvent(a), a.defaultPrevented && t.preventDefault(), this.selected = n.selected;
|
|
24
24
|
}
|
|
25
25
|
crossIcon() {
|
|
26
26
|
return o`<o-icon-button size="small" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`;
|
|
@@ -182,6 +182,11 @@ e.styles = u`
|
|
|
182
182
|
stroke-width: 4px;
|
|
183
183
|
stroke-linecap: round;
|
|
184
184
|
}
|
|
185
|
+
|
|
186
|
+
o-icon-button::part(icon-button) {
|
|
187
|
+
padding-left: 0;
|
|
188
|
+
padding-right: 0;
|
|
189
|
+
}
|
|
185
190
|
`;
|
|
186
191
|
r([
|
|
187
192
|
i({ reflect: !0 })
|
|
@@ -884,7 +884,7 @@ var G = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, b = (e, t, o
|
|
|
884
884
|
const J = S(A(w)), lt = ["primary", "secondary", "ghost", "tertiary", "link"];
|
|
885
885
|
let d = class extends J {
|
|
886
886
|
constructor() {
|
|
887
|
-
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.
|
|
887
|
+
super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.text = "", this.textsecond = "", this.fullwidth = !1, this.disabled = !1, this.startIconModel = "", this.endIconModel = "", this.startIcon = !1, this.endIcon = !1, this.panelTarget = "", this.href = "", this.target = "", this.ctatitle = "", this.underlined = !1, this.withbadge = !1, this.describedBy = null, this.ariaExpanded = null;
|
|
888
888
|
}
|
|
889
889
|
get name() {
|
|
890
890
|
return this.getAttribute("name") ?? "";
|
|
@@ -926,7 +926,7 @@ let d = class extends J {
|
|
|
926
926
|
const e = this.text || this.textsecond;
|
|
927
927
|
return u`
|
|
928
928
|
<button type=${this.type} class="button" ?disabled=${this.disabled} @click=${this.handleClick} @keydown=${this.handleClick}
|
|
929
|
-
title=${this.
|
|
929
|
+
title=${this.ctatitle || p}
|
|
930
930
|
aria-describedby=${this.describedBy || p} aria-expanded=${this.ariaExpanded || p} >
|
|
931
931
|
${this.startIcon ? this.renderIcon("start") : p}
|
|
932
932
|
${e ? u`
|
|
@@ -944,7 +944,7 @@ let d = class extends J {
|
|
|
944
944
|
<a
|
|
945
945
|
href=${this.href}
|
|
946
946
|
target=${this.target || p}
|
|
947
|
-
title=${this.
|
|
947
|
+
title=${this.ctatitle || p}
|
|
948
948
|
class="button"
|
|
949
949
|
?disabled=${this.disabled}
|
|
950
950
|
@click=${this.handleClick}
|
|
@@ -1262,7 +1262,7 @@ b([
|
|
|
1262
1262
|
], d.prototype, "target", 2);
|
|
1263
1263
|
b([
|
|
1264
1264
|
a({ type: String })
|
|
1265
|
-
], d.prototype, "
|
|
1265
|
+
], d.prototype, "ctatitle", 2);
|
|
1266
1266
|
b([
|
|
1267
1267
|
a({ type: Boolean, reflect: !0 })
|
|
1268
1268
|
], d.prototype, "underlined", 2);
|
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.13";
|
|
8
8
|
const i = {
|
|
9
9
|
"o-accordion": () => import("./components/accordion.mjs"),
|
|
10
10
|
"o-accordion-group": () => import("./components/accordion-group.mjs"),
|