@florid-kit/components 3.0.0 → 3.0.1
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.mjs +2 -2
- package/components/chip.d.ts +4 -0
- package/components/chip.mjs +122 -35
- package/components/dropdown-variant.mjs +25 -25
- package/components/dropdown.mjs +1 -1
- package/components/filter-chip.mjs +26 -23
- package/components/icon-button.mjs +2 -2
- package/components/rating.mjs +1 -1
- package/components/side-panel.mjs +2 -2
- package/components/toast.mjs +1 -1
- package/components/wishlist-button.mjs +2 -2
- package/{icons-Pdn_6YtT.mjs → icons-BZ0oOFaE.mjs} +2 -2
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{svg-utils-CRDBD8ES.mjs → svg-utils-wXxOZLnu.mjs} +1 -1
package/components/button.mjs
CHANGED
|
@@ -3,8 +3,8 @@ import "../property-S_Y9cb04.mjs";
|
|
|
3
3
|
import "../css-C8WrrxT-.mjs";
|
|
4
4
|
import "../element-internals-Dw7LndlH.mjs";
|
|
5
5
|
import { O as c, v as e } from "./side-panel.mjs";
|
|
6
|
-
import "../icons-
|
|
7
|
-
import "../svg-utils-
|
|
6
|
+
import "../icons-BZ0oOFaE.mjs";
|
|
7
|
+
import "../svg-utils-wXxOZLnu.mjs";
|
|
8
8
|
import "../unsafe-svg-C3uTocNg.mjs";
|
|
9
9
|
export {
|
|
10
10
|
c as OccitaneButton,
|
package/components/chip.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export declare class OccitaneChip extends buttonBaseClass {
|
|
|
11
11
|
selected: boolean;
|
|
12
12
|
fullwidth: boolean;
|
|
13
13
|
inactive: boolean;
|
|
14
|
+
withprice: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
private strikethroughImgName;
|
|
17
|
+
private strikeThroughImg;
|
|
14
18
|
private handleClick;
|
|
15
19
|
protected render(): import('lit').TemplateResult<1>;
|
|
16
20
|
}
|
package/components/chip.mjs
CHANGED
|
@@ -1,41 +1,55 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { n as
|
|
3
|
-
import { f } from "../css-C8WrrxT-.mjs";
|
|
4
|
-
import { m as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { m as p, a as b, i as u, E as c, x as l, t as v } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
|
+
import { n as o } from "../property-S_Y9cb04.mjs";
|
|
3
|
+
import { f as g } from "../css-C8WrrxT-.mjs";
|
|
4
|
+
import { m as f } from "../element-internals-Dw7LndlH.mjs";
|
|
5
|
+
import { i as m } from "../icons-BZ0oOFaE.mjs";
|
|
6
|
+
import { o as y } from "../unsafe-svg-C3uTocNg.mjs";
|
|
7
|
+
var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, e = (r, i, n, a) => {
|
|
8
|
+
for (var s = a > 1 ? void 0 : a ? w(i, n) : i, h = r.length - 1, d; h >= 0; h--)
|
|
9
|
+
(d = r[h]) && (s = (a ? d(i, n, s) : d(s)) || s);
|
|
10
|
+
return a && s && x(i, n, s), s;
|
|
9
11
|
};
|
|
10
|
-
const
|
|
11
|
-
let t = class extends
|
|
12
|
+
const k = p(f(b));
|
|
13
|
+
let t = class extends k {
|
|
12
14
|
constructor() {
|
|
13
|
-
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1;
|
|
15
|
+
super(...arguments), this.link = "", this.name = "", this.value = "", this.text = "", this.size = "standard", this.selected = !1, this.fullwidth = !1, this.inactive = !1, this.withprice = !1, this.disabled = !1, this.strikethroughImgName = "strikeDiagonal";
|
|
14
16
|
}
|
|
15
|
-
|
|
17
|
+
strikeThroughImg() {
|
|
18
|
+
const r = m[this.strikethroughImgName].replace(
|
|
19
|
+
"<svg",
|
|
20
|
+
'<svg aria-hidden="true" focusable="false" part="strikethrough"'
|
|
21
|
+
).replace(/stroke=[#"'a-z1-9]*/gi, "");
|
|
22
|
+
return y(r);
|
|
23
|
+
}
|
|
24
|
+
handleClick(r) {
|
|
16
25
|
this.selected || (this.selected = !0);
|
|
17
|
-
const
|
|
18
|
-
this.dispatchEvent(
|
|
26
|
+
const i = { selected: this.selected }, n = new CustomEvent("selected", { detail: i, bubbles: !0, composed: !0, cancelable: !0 });
|
|
27
|
+
this.dispatchEvent(n), n.defaultPrevented && r.preventDefault(), this.selected = i.selected;
|
|
19
28
|
}
|
|
20
29
|
render() {
|
|
21
|
-
const n = this.
|
|
22
|
-
return
|
|
23
|
-
<a href="${this.link}" class="o-chip" tabindex="${this.inactive ? "-1" :
|
|
24
|
-
aria-current="${this.selected ? "true" :
|
|
25
|
-
${
|
|
30
|
+
const r = this.text, i = this.link, n = this.withprice, a = this.disabled;
|
|
31
|
+
return i ? l`
|
|
32
|
+
<a href="${this.link}" class="o-chip" tabindex="${this.inactive ? "-1" : c}"
|
|
33
|
+
aria-current="${this.selected ? "true" : c}">
|
|
34
|
+
${r ? this.text : l`<slot></slot>`}
|
|
35
|
+
${n ? l`<slot name="price"></slot><slot name="basicprice"></slot>` : c}
|
|
26
36
|
</a>
|
|
27
|
-
|
|
37
|
+
${a ? this.strikeThroughImg() : c}
|
|
38
|
+
` : l`
|
|
28
39
|
<button type="button" class="button" @click=${this.handleClick}
|
|
29
|
-
aria-label=${this.ariaLabel ||
|
|
30
|
-
${
|
|
40
|
+
aria-label=${this.ariaLabel || c} aria-pressed=${this.selected}>
|
|
41
|
+
${r ? this.text : l`<slot></slot>`}
|
|
42
|
+
${n ? l`<slot name="price"></slot><slot name="basicprice"></slot>` : c}
|
|
31
43
|
</button>
|
|
44
|
+
${a ? this.strikeThroughImg() : c}
|
|
32
45
|
`;
|
|
33
46
|
}
|
|
34
47
|
};
|
|
35
|
-
t.styles =
|
|
48
|
+
t.styles = u`
|
|
36
49
|
:host {
|
|
37
50
|
cursor: pointer;
|
|
38
51
|
display: inline-flex;
|
|
52
|
+
position: relative;
|
|
39
53
|
--button-bg: var(--color-container-action-secondary-default);
|
|
40
54
|
--button-bg-hover: var(--color-container-action-secondary-hover);
|
|
41
55
|
--button-bg-pressed: var(--color-container-action-secondary-pressed);
|
|
@@ -43,8 +57,12 @@ t.styles = p`
|
|
|
43
57
|
--button-text-hover: var(--color-content-action-secondary);
|
|
44
58
|
--button-border: var(--color-border-secondary);
|
|
45
59
|
--button-border-width: var(--border-m);
|
|
46
|
-
--button-padding: var(--spacing-xs) var(--spacing-m);
|
|
60
|
+
--button-padding: calc(var(--spacing-xs) - var(--button-border-width)) calc(var(--spacing-m) - var(--button-border-width));
|
|
47
61
|
--button-endicon-svg-width: 0px; /* No endicon SVG for secondary button */
|
|
62
|
+
--button-strikethrough-stroke: var(--color-border-secondary);
|
|
63
|
+
--price-margin: var(--spacing-s);
|
|
64
|
+
--basicprice-font-size: var(--font-size-100);
|
|
65
|
+
--basicprice-spacing: var(--spacing-2-xs);
|
|
48
66
|
}
|
|
49
67
|
|
|
50
68
|
:host(.a--tabfocus) {
|
|
@@ -65,8 +83,43 @@ t.styles = p`
|
|
|
65
83
|
--button-border-width: var(--border-m);
|
|
66
84
|
}
|
|
67
85
|
|
|
86
|
+
:host([disabled]) {
|
|
87
|
+
--button-bg: var(--color-container-disabled);
|
|
88
|
+
}
|
|
89
|
+
:host([disabled][selected]) {
|
|
90
|
+
--button-text: var(--color-content-action-primary);
|
|
91
|
+
--button-bg: var(--color-container-filter-pressed);
|
|
92
|
+
--button-strikethrough-stroke: var(--color-border-tertiary);
|
|
93
|
+
opacity: 0.6;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host([disabled]) a::after {
|
|
97
|
+
content: "";
|
|
98
|
+
position: absolute;
|
|
99
|
+
height: 100%;
|
|
100
|
+
width: 100%;
|
|
101
|
+
display: block;
|
|
102
|
+
z-index: 2;
|
|
103
|
+
top: 0;
|
|
104
|
+
bottom: 0;
|
|
105
|
+
left: 0;
|
|
106
|
+
right: 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:host([withprice]) a {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
:host([withprice][selected]) a:hover,
|
|
114
|
+
:host([withprice][selected]) .button:hover,
|
|
115
|
+
:host([withprice][disabled]) a:hover,
|
|
116
|
+
:host([withprice][disabled]) .button:hover {
|
|
117
|
+
background-color: var(--button-bg);
|
|
118
|
+
color: var(--button-text);
|
|
119
|
+
}
|
|
120
|
+
|
|
68
121
|
:host([size="large"]) {
|
|
69
|
-
--button-padding: var(--spacing-m) var(--spacing-xl);
|
|
122
|
+
--button-padding: calc(var(--spacing-m) - var(--button-border-width)) calc(var(--spacing-xl) - var(--button-border-width));
|
|
70
123
|
}
|
|
71
124
|
|
|
72
125
|
.o-chip,
|
|
@@ -75,7 +128,6 @@ t.styles = p`
|
|
|
75
128
|
align-items: center;
|
|
76
129
|
justify-content: center;
|
|
77
130
|
width: 100%;
|
|
78
|
-
gap: var(--spacing-2-xs);
|
|
79
131
|
height: 100%;
|
|
80
132
|
background-color: var(--button-bg);
|
|
81
133
|
color: var(--button-text);
|
|
@@ -113,7 +165,7 @@ t.styles = p`
|
|
|
113
165
|
|
|
114
166
|
.o-chip:focus-visible,
|
|
115
167
|
.button:focus-visible {
|
|
116
|
-
${
|
|
168
|
+
${g};
|
|
117
169
|
}
|
|
118
170
|
|
|
119
171
|
span.text + span.text::before {
|
|
@@ -125,31 +177,66 @@ t.styles = p`
|
|
|
125
177
|
display: inline-flex;
|
|
126
178
|
align-items: center;
|
|
127
179
|
}
|
|
180
|
+
|
|
181
|
+
::slotted([slot=price])::before {
|
|
182
|
+
content: "•";
|
|
183
|
+
margin: 0 var(--price-margin);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
::slotted([slot=basicprice]) {
|
|
187
|
+
font-size: var(--basicprice-font-size);
|
|
188
|
+
margin-left: var(--basicprice-spacing);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
[part="strikethrough"] {
|
|
192
|
+
position: absolute;
|
|
193
|
+
width: 100%;
|
|
194
|
+
height: 100%;
|
|
195
|
+
top: 0;
|
|
196
|
+
bottom: 0;
|
|
197
|
+
left: 0;
|
|
198
|
+
right: 0;
|
|
199
|
+
padding-left: 2px;
|
|
200
|
+
padding-right: 2px;
|
|
201
|
+
box-sizing: border-box;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
[part="strikethrough"] line {
|
|
205
|
+
stroke: var(--button-strikethrough-stroke);
|
|
206
|
+
stroke-width: 4px;
|
|
207
|
+
stroke-linecap: round;
|
|
208
|
+
}
|
|
128
209
|
`;
|
|
129
210
|
e([
|
|
130
|
-
|
|
211
|
+
o({ type: String, reflect: !0 })
|
|
131
212
|
], t.prototype, "link", 2);
|
|
132
213
|
e([
|
|
133
|
-
|
|
214
|
+
o({ reflect: !0 })
|
|
134
215
|
], t.prototype, "name", 2);
|
|
135
216
|
e([
|
|
136
|
-
|
|
217
|
+
o({ reflect: !0 })
|
|
137
218
|
], t.prototype, "value", 2);
|
|
138
219
|
e([
|
|
139
|
-
|
|
220
|
+
o({ type: String })
|
|
140
221
|
], t.prototype, "text", 2);
|
|
141
222
|
e([
|
|
142
|
-
|
|
223
|
+
o({ type: String, reflect: !0 })
|
|
143
224
|
], t.prototype, "size", 2);
|
|
144
225
|
e([
|
|
145
|
-
|
|
226
|
+
o({ type: Boolean, reflect: !0 })
|
|
146
227
|
], t.prototype, "selected", 2);
|
|
147
228
|
e([
|
|
148
|
-
|
|
229
|
+
o({ type: Boolean, reflect: !0 })
|
|
149
230
|
], t.prototype, "fullwidth", 2);
|
|
150
231
|
e([
|
|
151
|
-
|
|
232
|
+
o({ type: Boolean, reflect: !0 })
|
|
152
233
|
], t.prototype, "inactive", 2);
|
|
234
|
+
e([
|
|
235
|
+
o({ type: Boolean, reflect: !0 })
|
|
236
|
+
], t.prototype, "withprice", 2);
|
|
237
|
+
e([
|
|
238
|
+
o({ type: Boolean, reflect: !0 })
|
|
239
|
+
], t.prototype, "disabled", 2);
|
|
153
240
|
t = e([
|
|
154
241
|
v("o-chip")
|
|
155
242
|
], t);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { i as m, m as y, a as w, x as p, t as x } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as c } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { r as f } from "../state-DjMxXomO.mjs";
|
|
4
|
-
import { o as _,
|
|
4
|
+
import { o as _, a as k } from "../icons-BZ0oOFaE.mjs";
|
|
5
5
|
import { o as $ } from "../unsafe-svg-C3uTocNg.mjs";
|
|
6
6
|
import { o as l } from "../if-defined-j0wE2gL4.mjs";
|
|
7
|
-
var I = Object.defineProperty, O = Object.getOwnPropertyDescriptor,
|
|
7
|
+
var I = Object.defineProperty, O = Object.getOwnPropertyDescriptor, r = (e, i, o, t) => {
|
|
8
8
|
for (var n = t > 1 ? void 0 : t ? O(i, o) : i, s = e.length - 1, d; s >= 0; s--)
|
|
9
9
|
(d = e[s]) && (n = (t ? d(i, o, n) : d(n)) || n);
|
|
10
10
|
return t && n && I(i, o, n), n;
|
|
11
11
|
};
|
|
12
|
-
let
|
|
12
|
+
let a = class extends y(w) {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this.options = [], this.value = "", this.name = "", this.additionaltext = "+X variant(s)", this.disabled = !1, this.width = "100%", this.open = !1, this.activeIndex = -1, this.menuWidth = "", this._sent = /* @__PURE__ */ new Set(), this._pendingByKey = /* @__PURE__ */ new Map(), this._handleOutsideClick = (e) => {
|
|
15
15
|
this.contains(e.target) || (this.open = !1, this.activeIndex = -1, this._stopObserveVisibleItems());
|
|
@@ -234,7 +234,7 @@ let r = class extends y(w) {
|
|
|
234
234
|
`;
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
|
-
|
|
237
|
+
a.styles = m`
|
|
238
238
|
:host {
|
|
239
239
|
display: inline-block;
|
|
240
240
|
position: relative;
|
|
@@ -411,36 +411,36 @@ r.styles = m`
|
|
|
411
411
|
display: none;
|
|
412
412
|
}
|
|
413
413
|
`;
|
|
414
|
-
|
|
414
|
+
r([
|
|
415
415
|
c({ type: Array, reflect: !0 })
|
|
416
|
-
],
|
|
417
|
-
|
|
416
|
+
], a.prototype, "options", 2);
|
|
417
|
+
r([
|
|
418
418
|
c({ type: String, reflect: !0 })
|
|
419
|
-
],
|
|
420
|
-
|
|
419
|
+
], a.prototype, "value", 2);
|
|
420
|
+
r([
|
|
421
421
|
c({ type: String, reflect: !0 })
|
|
422
|
-
],
|
|
423
|
-
|
|
422
|
+
], a.prototype, "name", 2);
|
|
423
|
+
r([
|
|
424
424
|
c({ type: String, reflect: !0 })
|
|
425
|
-
],
|
|
426
|
-
|
|
425
|
+
], a.prototype, "additionaltext", 2);
|
|
426
|
+
r([
|
|
427
427
|
c({ type: Boolean, reflect: !0 })
|
|
428
|
-
],
|
|
429
|
-
|
|
428
|
+
], a.prototype, "disabled", 2);
|
|
429
|
+
r([
|
|
430
430
|
c({ type: String, reflect: !0 })
|
|
431
|
-
],
|
|
432
|
-
|
|
431
|
+
], a.prototype, "width", 2);
|
|
432
|
+
r([
|
|
433
433
|
f()
|
|
434
|
-
],
|
|
435
|
-
|
|
434
|
+
], a.prototype, "open", 2);
|
|
435
|
+
r([
|
|
436
436
|
f()
|
|
437
|
-
],
|
|
438
|
-
|
|
437
|
+
], a.prototype, "activeIndex", 2);
|
|
438
|
+
r([
|
|
439
439
|
f()
|
|
440
|
-
],
|
|
441
|
-
|
|
440
|
+
], a.prototype, "menuWidth", 2);
|
|
441
|
+
a = r([
|
|
442
442
|
x("o-dropdown-variant")
|
|
443
|
-
],
|
|
443
|
+
], a);
|
|
444
444
|
export {
|
|
445
|
-
|
|
445
|
+
a as OccitaneDropdownVariant
|
|
446
446
|
};
|
package/components/dropdown.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as u, m as v, a as b, x as s, t as f } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as l } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { r as h } from "../state-DjMxXomO.mjs";
|
|
4
|
-
import { o as g,
|
|
4
|
+
import { o as g, a as y } from "../icons-BZ0oOFaE.mjs";
|
|
5
5
|
import { o as p } from "../unsafe-svg-C3uTocNg.mjs";
|
|
6
6
|
var m = Object.defineProperty, w = Object.getOwnPropertyDescriptor, n = (e, t, r, o) => {
|
|
7
7
|
for (var i = o > 1 ? void 0 : o ? w(t, r) : t, c = e.length - 1, d; c >= 0; c--)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { m as
|
|
2
|
-
import { n as
|
|
3
|
-
import { f as
|
|
4
|
-
import { m as
|
|
5
|
-
import {
|
|
1
|
+
import { m as b, a as p, i as u, x as o, E as l, t as f } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
|
+
import { n as i } from "../property-S_Y9cb04.mjs";
|
|
3
|
+
import { f as g } from "../css-C8WrrxT-.mjs";
|
|
4
|
+
import { m as v } from "../element-internals-Dw7LndlH.mjs";
|
|
5
|
+
import { i as m } from "../icons-BZ0oOFaE.mjs";
|
|
6
6
|
import { o as y } from "../unsafe-svg-C3uTocNg.mjs";
|
|
7
7
|
import "./icon-button.mjs";
|
|
8
|
-
var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t,
|
|
9
|
-
for (var n = c > 1 ? void 0 : c ? k(
|
|
10
|
-
(
|
|
11
|
-
return c && n && x(
|
|
8
|
+
var x = Object.defineProperty, k = Object.getOwnPropertyDescriptor, r = (t, s, a, c) => {
|
|
9
|
+
for (var n = c > 1 ? void 0 : c ? k(s, a) : s, d = t.length - 1, h; d >= 0; d--)
|
|
10
|
+
(h = t[d]) && (n = (c ? h(s, a, n) : h(n)) || n);
|
|
11
|
+
return c && n && x(s, a, n), n;
|
|
12
12
|
};
|
|
13
|
-
const $ =
|
|
13
|
+
const $ = b(v(p));
|
|
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 s = { selected: this.selected }, a = new CustomEvent("selected", { detail: s, bubbles: !0, composed: !0, cancelable: !0 });
|
|
23
|
+
this.dispatchEvent(a), a.defaultPrevented && t.preventDefault(), this.selected = s.selected;
|
|
24
24
|
}
|
|
25
25
|
crossIcon() {
|
|
26
26
|
return o`<o-icon-button size="xsmall" icon="occ-close-outlined" bgstyle="none-light"></o-icon-button>`;
|
|
@@ -57,7 +57,7 @@ let e = class extends $ {
|
|
|
57
57
|
`;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
e.styles =
|
|
60
|
+
e.styles = u`
|
|
61
61
|
:host {
|
|
62
62
|
cursor: pointer;
|
|
63
63
|
display: inline-flex;
|
|
@@ -139,7 +139,7 @@ e.styles = p`
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.button:focus-visible {
|
|
142
|
-
${
|
|
142
|
+
${g};
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
span.text + span.text::before {
|
|
@@ -172,6 +172,9 @@ e.styles = p`
|
|
|
172
172
|
bottom: 0;
|
|
173
173
|
left: 0;
|
|
174
174
|
right: 0;
|
|
175
|
+
padding-left: 2px;
|
|
176
|
+
padding-right: 2px;
|
|
177
|
+
box-sizing: border-box;
|
|
175
178
|
}
|
|
176
179
|
|
|
177
180
|
[part="strikethrough"] line {
|
|
@@ -181,31 +184,31 @@ e.styles = p`
|
|
|
181
184
|
}
|
|
182
185
|
`;
|
|
183
186
|
r([
|
|
184
|
-
|
|
187
|
+
i({ reflect: !0 })
|
|
185
188
|
], e.prototype, "name", 2);
|
|
186
189
|
r([
|
|
187
|
-
|
|
190
|
+
i({ reflect: !0 })
|
|
188
191
|
], e.prototype, "value", 2);
|
|
189
192
|
r([
|
|
190
|
-
|
|
193
|
+
i({ type: String, reflect: !0 })
|
|
191
194
|
], e.prototype, "type", 2);
|
|
192
195
|
r([
|
|
193
|
-
|
|
196
|
+
i({ type: String, reflect: !0 })
|
|
194
197
|
], e.prototype, "href", 2);
|
|
195
198
|
r([
|
|
196
|
-
|
|
199
|
+
i({ type: String, reflect: !0, attribute: "data-href" })
|
|
197
200
|
], e.prototype, "dataHref", 2);
|
|
198
201
|
r([
|
|
199
|
-
|
|
202
|
+
i({ type: String })
|
|
200
203
|
], e.prototype, "text", 2);
|
|
201
204
|
r([
|
|
202
|
-
|
|
205
|
+
i({ type: Boolean, reflect: !0 })
|
|
203
206
|
], e.prototype, "selected", 2);
|
|
204
207
|
r([
|
|
205
|
-
|
|
208
|
+
i({ type: Boolean, reflect: !0 })
|
|
206
209
|
], e.prototype, "disabled", 2);
|
|
207
210
|
r([
|
|
208
|
-
|
|
211
|
+
i({ type: Boolean, reflect: !0 })
|
|
209
212
|
], e.prototype, "fullwidth", 2);
|
|
210
213
|
e = r([
|
|
211
214
|
f("o-filter-chip")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as u, m as g, E as b, x as a, a as p, t as d } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as i } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { o as v } from "../if-defined-j0wE2gL4.mjs";
|
|
4
|
-
import { b as y, o as f } from "../icons-
|
|
5
|
-
import { c as m } from "../svg-utils-
|
|
4
|
+
import { b as y, o as f } from "../icons-BZ0oOFaE.mjs";
|
|
5
|
+
import { c as m } from "../svg-utils-wXxOZLnu.mjs";
|
|
6
6
|
import { f as x, i as w, s as k } from "../css-C8WrrxT-.mjs";
|
|
7
7
|
var $ = Object.defineProperty, O = Object.getOwnPropertyDescriptor, n = (t, s, e, r) => {
|
|
8
8
|
for (var c = r > 1 ? void 0 : r ? O(s, e) : s, l = t.length - 1, h; l >= 0; l--)
|
package/components/rating.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as f, m as g, a as v, x as p, t as m } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as c } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { o as h } from "../unsafe-svg-C3uTocNg.mjs";
|
|
4
|
-
import { b as u } from "../icons-
|
|
4
|
+
import { b as u } from "../icons-BZ0oOFaE.mjs";
|
|
5
5
|
import "./link.mjs";
|
|
6
6
|
var y = Object.defineProperty, d = Object.getOwnPropertyDescriptor, a = (s, t, e, r) => {
|
|
7
7
|
for (var i = r > 1 ? void 0 : r ? d(t, e) : t, o = s.length - 1, l; o >= 0; o--)
|
|
@@ -2,8 +2,8 @@ import { E as p, i as k, a as w, m as C, x as h, t as S } from "../performance-m
|
|
|
2
2
|
import { n as r } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { f as x } from "../css-C8WrrxT-.mjs";
|
|
4
4
|
import { i as B, m as A } from "../element-internals-Dw7LndlH.mjs";
|
|
5
|
-
import { o as P,
|
|
6
|
-
import { g as I } from "../svg-utils-
|
|
5
|
+
import { o as P, a as _ } from "../icons-BZ0oOFaE.mjs";
|
|
6
|
+
import { g as I } from "../svg-utils-wXxOZLnu.mjs";
|
|
7
7
|
import { o as F } from "../unsafe-svg-C3uTocNg.mjs";
|
|
8
8
|
import "./icon-button.mjs";
|
|
9
9
|
import { i as z, t as L, e as O } from "../directive-oAbCiebi.mjs";
|
package/components/toast.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { i as f, m as p, a as u, x as m, t as d } from "../performance-mixin-D7Y
|
|
|
2
2
|
import { n as a } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { o as v } from "../unsafe-svg-C3uTocNg.mjs";
|
|
4
4
|
import "./icon-button.mjs";
|
|
5
|
-
import { t as g } from "../icons-
|
|
5
|
+
import { t as g } from "../icons-BZ0oOFaE.mjs";
|
|
6
6
|
var y = Object.defineProperty, x = Object.getOwnPropertyDescriptor, o = (t, i, r, s) => {
|
|
7
7
|
for (var n = s > 1 ? void 0 : s ? x(i, r) : i, l = t.length - 1, c; l >= 0; l--)
|
|
8
8
|
(c = t[l]) && (n = (s ? c(i, r, n) : c(n)) || n);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as u, m as p, a as d, x as h, t as b } from "../performance-mixin-D7YmSeqN.mjs";
|
|
2
2
|
import { n as r } from "../property-S_Y9cb04.mjs";
|
|
3
3
|
import { o as g } from "../unsafe-svg-C3uTocNg.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { g as f } from "../svg-utils-
|
|
4
|
+
import { a as y } from "../icons-BZ0oOFaE.mjs";
|
|
5
|
+
import { g as f } from "../svg-utils-wXxOZLnu.mjs";
|
|
6
6
|
import { f as v, s as w } from "../css-C8WrrxT-.mjs";
|
|
7
7
|
var m = Object.defineProperty, S = Object.getOwnPropertyDescriptor, o = (t, i, a, n) => {
|
|
8
8
|
for (var e = n > 1 ? void 0 : n ? S(i, a) : i, l = t.length - 1, c; l >= 0; l--)
|
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { occIconRegistry as r } from "./icons-occ.mjs";
|
|
2
|
-
import { r as o } from "./icons-
|
|
2
|
+
import { r as o } from "./icons-BZ0oOFaE.mjs";
|
|
3
3
|
import "./components/side-panel.mjs";
|
|
4
4
|
import "./components/wishlist-button.mjs";
|
|
5
5
|
import "./components/icon-button.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { e as p, i as d, t as h } from "./directive-oAbCiebi.mjs";
|
|
2
2
|
import { T as o } from "./performance-mixin-D7YmSeqN.mjs";
|
|
3
|
-
import { b as v } from "./icons-
|
|
3
|
+
import { b as v } from "./icons-BZ0oOFaE.mjs";
|
|
4
4
|
const a = /* @__PURE__ */ new Map();
|
|
5
5
|
function f(e, t, r) {
|
|
6
6
|
const s = `${e}|${t}|${r}`;
|