@florid-kit/components 2.6.7 → 2.6.9

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.
Files changed (63) hide show
  1. package/assets/icons/icons-occ.d.ts +315 -0
  2. package/assets/icons/icons.d.ts +7 -66
  3. package/components/accordion-group.mjs +61 -0
  4. package/components/accordion.mjs +185 -0
  5. package/components/arch-image.mjs +135 -0
  6. package/components/badge.mjs +75 -0
  7. package/components/breadcrumb.mjs +83 -0
  8. package/components/breadcrumbs.mjs +35 -0
  9. package/components/button.d.ts +3 -0
  10. package/components/button.mjs +10 -0
  11. package/components/checkbox.mjs +188 -0
  12. package/components/chip.mjs +158 -0
  13. package/components/chipset.mjs +44 -0
  14. package/components/dots.mjs +60 -0
  15. package/components/dropdown-variant.d.ts +1 -0
  16. package/components/dropdown-variant.mjs +445 -0
  17. package/components/dropdown.d.ts +1 -0
  18. package/components/dropdown.mjs +302 -0
  19. package/components/feedback-message.mjs +136 -0
  20. package/components/filter-chip.mjs +214 -0
  21. package/components/footer-simplify.mjs +178 -0
  22. package/components/header-simplify.mjs +234 -0
  23. package/components/icon-button.d.ts +5 -0
  24. package/components/icon-button.mjs +345 -0
  25. package/components/input.mjs +294 -0
  26. package/components/link.mjs +172 -0
  27. package/components/mediumtile.mjs +307 -0
  28. package/components/minitile.mjs +231 -0
  29. package/components/option-tile.mjs +413 -0
  30. package/components/popin.mjs +412 -0
  31. package/components/radio.mjs +165 -0
  32. package/components/rating.mjs +84 -0
  33. package/components/reassurance.mjs +163 -0
  34. package/components/search-input-dropdown.mjs +314 -0
  35. package/components/search-input.mjs +107 -0
  36. package/components/side-panel.mjs +1197 -0
  37. package/components/tab.mjs +140 -0
  38. package/components/tablist.mjs +44 -0
  39. package/components/tag.mjs +86 -0
  40. package/components/textarea.mjs +269 -0
  41. package/components/thumbnail-navigation.mjs +232 -0
  42. package/components/toast.mjs +190 -0
  43. package/components/tooltip.mjs +125 -0
  44. package/components/wishlist-button.d.ts +2 -0
  45. package/components/wishlist-button.mjs +137 -0
  46. package/css-r3TDS8Ma.mjs +37 -0
  47. package/directive-helpers-CjGdYF2i.mjs +11 -0
  48. package/directive-oAbCiebi.mjs +27 -0
  49. package/element-internals-Dw7LndlH.mjs +19 -0
  50. package/icons-occ-DW--7nRr.mjs +834 -0
  51. package/if-defined-BaFqfNKT.mjs +10 -0
  52. package/index.mjs +68 -9629
  53. package/live-BPnRJXAq.mjs +30 -0
  54. package/loader.d.ts +3 -0
  55. package/loader.mjs +81 -0
  56. package/logo-CEgaTL93.mjs +4 -0
  57. package/package.json +19 -2
  58. package/performance-mixin-vBVz5Iib.mjs +774 -0
  59. package/property-8EkRXcYy.mjs +36 -0
  60. package/query-NJDNu0-P.mjs +25 -0
  61. package/state-BvkYxy1c.mjs +12 -0
  62. package/unsafe-svg-CRYN20gz.mjs +210 -0
  63. package/index.js +0 -5742
@@ -0,0 +1,315 @@
1
+ export declare const occIconRegistry: {
2
+ readonly "occ-address": {
3
+ readonly small: string;
4
+ readonly medium: string;
5
+ readonly large: string;
6
+ };
7
+ readonly "occ-autorep": {
8
+ readonly small: string;
9
+ readonly medium: string;
10
+ readonly large: string;
11
+ };
12
+ readonly "occ-back": {
13
+ readonly small: string;
14
+ readonly medium: string;
15
+ readonly large: string;
16
+ };
17
+ readonly "occ-bag-filled": {
18
+ readonly small: string;
19
+ readonly medium: string;
20
+ readonly large: string;
21
+ };
22
+ readonly "occ-bag-outlined": {
23
+ readonly small: string;
24
+ readonly medium: string;
25
+ readonly large: string;
26
+ };
27
+ readonly "occ-bag-strike": {
28
+ readonly small: string;
29
+ readonly medium: string;
30
+ readonly large: string;
31
+ };
32
+ readonly "occ-bottle": {
33
+ readonly small: string;
34
+ readonly medium: string;
35
+ readonly large: string;
36
+ };
37
+ readonly "occ-briefcase": {
38
+ readonly small: string;
39
+ readonly medium: string;
40
+ readonly large: string;
41
+ };
42
+ readonly "occ-burger": {
43
+ readonly small: string;
44
+ readonly medium: string;
45
+ readonly large: string;
46
+ };
47
+ readonly "occ-card": {
48
+ readonly small: string;
49
+ readonly medium: string;
50
+ readonly large: string;
51
+ };
52
+ readonly "occ-career": {
53
+ readonly small: string;
54
+ readonly medium: string;
55
+ readonly large: string;
56
+ };
57
+ readonly "occ-check-filled": {
58
+ readonly small: string;
59
+ readonly medium: string;
60
+ readonly large: string;
61
+ };
62
+ readonly "occ-check-outlined": {
63
+ readonly small: string;
64
+ readonly medium: string;
65
+ readonly large: string;
66
+ };
67
+ readonly "occ-chevron-bottom": {
68
+ readonly small: string;
69
+ readonly medium: string;
70
+ readonly large: string;
71
+ };
72
+ readonly "occ-chevron-double": {
73
+ readonly small: string;
74
+ readonly medium: string;
75
+ readonly large: string;
76
+ };
77
+ readonly "occ-chevron-left": {
78
+ readonly small: string;
79
+ readonly medium: string;
80
+ readonly large: string;
81
+ };
82
+ readonly "occ-chevron-right": {
83
+ readonly small: string;
84
+ readonly medium: string;
85
+ readonly large: string;
86
+ };
87
+ readonly "occ-chevron-top": {
88
+ readonly small: string;
89
+ readonly medium: string;
90
+ readonly large: string;
91
+ };
92
+ readonly "occ-close-filled": {
93
+ readonly small: string;
94
+ readonly medium: string;
95
+ readonly large: string;
96
+ };
97
+ readonly "occ-close-outlined": {
98
+ readonly small: string;
99
+ readonly medium: string;
100
+ readonly large: string;
101
+ };
102
+ readonly "occ-cream": {
103
+ readonly small: string;
104
+ readonly medium: string;
105
+ readonly large: string;
106
+ };
107
+ readonly "occ-cream-tube": {
108
+ readonly small: string;
109
+ readonly medium: string;
110
+ readonly large: string;
111
+ };
112
+ readonly "occ-eye-hide": {
113
+ readonly small: string;
114
+ readonly medium: string;
115
+ readonly large: string;
116
+ };
117
+ readonly "occ-eye-show": {
118
+ readonly small: string;
119
+ readonly medium: string;
120
+ readonly large: string;
121
+ };
122
+ readonly "occ-gear": {
123
+ readonly small: string;
124
+ readonly medium: string;
125
+ readonly large: string;
126
+ };
127
+ readonly "occ-gear-outline": {
128
+ readonly small: string;
129
+ readonly medium: string;
130
+ readonly large: string;
131
+ };
132
+ readonly "occ-geoloc": {
133
+ readonly small: string;
134
+ readonly medium: string;
135
+ readonly large: string;
136
+ };
137
+ readonly "occ-gift": {
138
+ readonly small: string;
139
+ readonly medium: string;
140
+ readonly large: string;
141
+ };
142
+ readonly "occ-group": {
143
+ readonly small: string;
144
+ readonly medium: string;
145
+ readonly large: string;
146
+ };
147
+ readonly "occ-hand-shake": {
148
+ readonly small: string;
149
+ readonly medium: string;
150
+ readonly large: string;
151
+ };
152
+ readonly "occ-info": {
153
+ readonly small: string;
154
+ readonly medium: string;
155
+ readonly large: string;
156
+ };
157
+ readonly "occ-location": {
158
+ readonly small: string;
159
+ readonly medium: string;
160
+ readonly large: string;
161
+ };
162
+ readonly "occ-mail": {
163
+ readonly small: string;
164
+ readonly medium: string;
165
+ readonly large: string;
166
+ };
167
+ readonly "occ-message": {
168
+ readonly small: string;
169
+ readonly medium: string;
170
+ readonly large: string;
171
+ };
172
+ readonly "occ-minus": {
173
+ readonly small: string;
174
+ readonly medium: string;
175
+ readonly large: string;
176
+ };
177
+ readonly "occ-order": {
178
+ readonly small: string;
179
+ readonly medium: string;
180
+ readonly large: string;
181
+ };
182
+ readonly "occ-order-sent": {
183
+ readonly small: string;
184
+ readonly medium: string;
185
+ readonly large: string;
186
+ };
187
+ readonly "occ-padlock": {
188
+ readonly small: string;
189
+ readonly medium: string;
190
+ readonly large: string;
191
+ };
192
+ readonly "occ-pause": {
193
+ readonly small: string;
194
+ readonly medium: string;
195
+ readonly large: string;
196
+ };
197
+ readonly "occ-play": {
198
+ readonly small: string;
199
+ readonly medium: string;
200
+ readonly large: string;
201
+ };
202
+ readonly "occ-plus": {
203
+ readonly small: string;
204
+ readonly medium: string;
205
+ readonly large: string;
206
+ };
207
+ readonly "occ-product": {
208
+ readonly small: string;
209
+ readonly medium: string;
210
+ readonly large: string;
211
+ };
212
+ readonly "occ-profil-filled": {
213
+ readonly small: string;
214
+ readonly medium: string;
215
+ readonly large: string;
216
+ };
217
+ readonly "occ-profil-outlined": {
218
+ readonly small: string;
219
+ readonly medium: string;
220
+ readonly large: string;
221
+ };
222
+ readonly "occ-refill": {
223
+ readonly small: string;
224
+ readonly medium: string;
225
+ readonly large: string;
226
+ };
227
+ readonly "occ-refine": {
228
+ readonly small: string;
229
+ readonly medium: string;
230
+ readonly large: string;
231
+ };
232
+ readonly "occ-reward-card": {
233
+ readonly small: string;
234
+ readonly medium: string;
235
+ readonly large: string;
236
+ };
237
+ readonly "occ-samples": {
238
+ readonly small: string;
239
+ readonly medium: string;
240
+ readonly large: string;
241
+ };
242
+ readonly "occ-search": {
243
+ readonly small: string;
244
+ readonly medium: string;
245
+ readonly large: string;
246
+ };
247
+ readonly "occ-star-0": {
248
+ readonly small: string;
249
+ readonly medium: string;
250
+ readonly large: string;
251
+ };
252
+ readonly "occ-star-100": {
253
+ readonly small: string;
254
+ readonly medium: string;
255
+ readonly large: string;
256
+ };
257
+ readonly "occ-star-25": {
258
+ readonly small: string;
259
+ readonly medium: string;
260
+ readonly large: string;
261
+ };
262
+ readonly "occ-star-50": {
263
+ readonly small: string;
264
+ readonly medium: string;
265
+ readonly large: string;
266
+ };
267
+ readonly "occ-star-75": {
268
+ readonly small: string;
269
+ readonly medium: string;
270
+ readonly large: string;
271
+ };
272
+ readonly "occ-store": {
273
+ readonly small: string;
274
+ readonly medium: string;
275
+ readonly large: string;
276
+ };
277
+ readonly "occ-warning": {
278
+ readonly small: string;
279
+ readonly medium: string;
280
+ readonly large: string;
281
+ };
282
+ readonly "occ-warning-stroke": {
283
+ readonly small: string;
284
+ readonly medium: string;
285
+ readonly large: string;
286
+ };
287
+ readonly "occ-wishlist-filled": {
288
+ readonly small: string;
289
+ readonly medium: string;
290
+ readonly large: string;
291
+ };
292
+ readonly "occ-wishlist-outlined": {
293
+ readonly small: string;
294
+ readonly medium: string;
295
+ readonly large: string;
296
+ };
297
+ readonly "occ-trash": {
298
+ readonly small: string;
299
+ readonly medium: string;
300
+ readonly large: string;
301
+ };
302
+ readonly "occ-triangle-up": {
303
+ readonly small: string;
304
+ readonly medium: string;
305
+ readonly large: string;
306
+ };
307
+ readonly "occ-triangle-down": {
308
+ readonly small: string;
309
+ readonly medium: string;
310
+ readonly large: string;
311
+ };
312
+ };
313
+ export type OccIconName = keyof typeof occIconRegistry;
314
+ export type OccIconSize = "small" | "medium" | "large";
315
+ export type OccIconVariants = Partial<Record<OccIconSize, string>>;
@@ -1,66 +1,6 @@
1
- declare const iconRegistry: {
2
- readonly "occ-address": string;
3
- readonly "occ-autorep": string;
4
- readonly "occ-back": string;
5
- readonly "occ-bag-filled": string;
6
- readonly "occ-bag-outlined": string;
7
- readonly "occ-bag-strike": string;
8
- readonly "occ-bottle": string;
9
- readonly "occ-briefcase": string;
10
- readonly "occ-burger": string;
11
- readonly "occ-card": string;
12
- readonly "occ-career": string;
13
- readonly "occ-check-filled": string;
14
- readonly "occ-check-outlined": string;
15
- readonly "occ-chevron-bottom": string;
16
- readonly "occ-chevron-double": string;
17
- readonly "occ-chevron-left": string;
18
- readonly "occ-chevron-right": string;
19
- readonly "occ-chevron-top": string;
20
- readonly "occ-close-filled": string;
21
- readonly "occ-close-outlined": string;
22
- readonly "occ-cream": string;
23
- readonly "occ-cream-tube": string;
24
- readonly "occ-eye-hide": string;
25
- readonly "occ-eye-show": string;
26
- readonly "occ-gear": string;
27
- readonly "occ-gear-outline": string;
28
- readonly "occ-geoloc": string;
29
- readonly "occ-gift": string;
30
- readonly "occ-group": string;
31
- readonly "occ-hand-shake": string;
32
- readonly "occ-info": string;
33
- readonly "occ-location": string;
34
- readonly "occ-mail": string;
35
- readonly "occ-message": string;
36
- readonly "occ-minus": string;
37
- readonly "occ-order": string;
38
- readonly "occ-order-sent": string;
39
- readonly "occ-padlock": string;
40
- readonly "occ-pause": string;
41
- readonly "occ-play": string;
42
- readonly "occ-plus": string;
43
- readonly "occ-product": string;
44
- readonly "occ-profil-filled": string;
45
- readonly "occ-profil-outlined": string;
46
- readonly "occ-refill": string;
47
- readonly "occ-refine": string;
48
- readonly "occ-reward-card": string;
49
- readonly "occ-samples": string;
50
- readonly "occ-search": string;
51
- readonly "occ-star-0": string;
52
- readonly "occ-star-100": string;
53
- readonly "occ-star-25": string;
54
- readonly "occ-star-50": string;
55
- readonly "occ-star-75": string;
56
- readonly "occ-store": string;
57
- readonly "occ-warning": string;
58
- readonly "occ-warning-stroke": string;
59
- readonly "occ-wishlist-filled": string;
60
- readonly "occ-wishlist-outlined": string;
61
- readonly "occ-trash": string;
62
- readonly "occ-triangle-up": string;
63
- readonly "occ-triangle-down": string;
1
+ import { OccIconName } from './icons-occ';
2
+
3
+ declare const baseIconRegistry: {
64
4
  readonly wishlist: string;
65
5
  readonly playerv: string;
66
6
  readonly chevronRight: string;
@@ -89,7 +29,9 @@ declare const iconRegistry: {
89
29
  readonly sliderLeftArrow: string;
90
30
  readonly sliderRightArrow: string;
91
31
  };
92
- export type IconName = keyof typeof iconRegistry;
32
+ export declare function onOccIconsLoaded(callback: () => void): () => void;
33
+ export type { OccIconName } from './icons-occ';
34
+ export type IconName = keyof typeof baseIconRegistry | OccIconName;
93
35
  export type IconLogicalSize = "xsmall" | "small" | "medium" | "large";
94
36
  export type IconBgStyle = "background-light" | "background-contrast" | "ghost-light" | "ghost-contrast" | "none-light" | "none-contrast";
95
37
  export declare const LOGICAL_ICON_SIZE_TO_PX: Record<IconLogicalSize, number>;
@@ -101,7 +43,6 @@ export declare const resolveIconVariant: (icon: IconName, { size, bgstyle }: {
101
43
  pixelSize: number;
102
44
  shouldApplyLogicalSize: boolean;
103
45
  };
104
- export declare const iconsMap: Record<IconName, string> & Record<string, string>;
46
+ export declare const iconsMap: Record<string, string>;
105
47
  export declare const imagesMap: Record<string, string>;
106
48
  export declare const toastIconsMap: Record<string, string>;
107
- export {};
@@ -0,0 +1,61 @@
1
+ import { i as c, m as f, a as d, x as p, t as h } from "../performance-mixin-vBVz5Iib.mjs";
2
+ import { n as g } from "../property-8EkRXcYy.mjs";
3
+ import { e as u } from "../query-NJDNu0-P.mjs";
4
+ import "./accordion.mjs";
5
+ var m = Object.defineProperty, O = Object.getOwnPropertyDescriptor, a = (e, t, o, r) => {
6
+ for (var n = r > 1 ? void 0 : r ? O(t, o) : t, i = e.length - 1, l; i >= 0; i--)
7
+ (l = e[i]) && (n = (r ? l(t, o, n) : l(n)) || n);
8
+ return r && n && m(t, o, n), n;
9
+ };
10
+ let s = class extends f(d) {
11
+ constructor() {
12
+ super(), this.single = !1, this.handleAccordionChange = (e) => {
13
+ var o;
14
+ if (!this.single) return;
15
+ const t = e.target;
16
+ !t || ((o = t.tagName) == null ? void 0 : o.toLowerCase()) !== "o-accordion" || t.expanded && this.getAccordions().forEach((r) => {
17
+ r !== t && (r.expanded = !1);
18
+ });
19
+ }, this.enforceSingleOpen = () => {
20
+ if (!this.single) return;
21
+ let e = !1;
22
+ this.getAccordions().forEach((t) => {
23
+ t.expanded && (e ? t.expanded = !1 : e = !0);
24
+ });
25
+ }, this.addEventListener("change", this.handleAccordionChange);
26
+ }
27
+ firstUpdated() {
28
+ var e;
29
+ this.enforceSingleOpen(), (e = this.defaultSlot) == null || e.addEventListener("slotchange", this.enforceSingleOpen);
30
+ }
31
+ disconnectedCallback() {
32
+ var e;
33
+ (e = this.defaultSlot) == null || e.removeEventListener("slotchange", this.enforceSingleOpen), super.disconnectedCallback();
34
+ }
35
+ updated(e) {
36
+ e.has("single") && this.single && this.enforceSingleOpen();
37
+ }
38
+ getAccordions() {
39
+ return Array.from(this.querySelectorAll("o-accordion"));
40
+ }
41
+ render() {
42
+ return p`<slot></slot>`;
43
+ }
44
+ };
45
+ s.styles = c`
46
+ :host {
47
+ display: block;
48
+ }
49
+ `;
50
+ a([
51
+ g({ type: Boolean, reflect: !0 })
52
+ ], s.prototype, "single", 2);
53
+ a([
54
+ u("slot")
55
+ ], s.prototype, "defaultSlot", 2);
56
+ s = a([
57
+ h("o-accordion-group")
58
+ ], s);
59
+ export {
60
+ s as OccitaneAccordionGroup
61
+ };
@@ -0,0 +1,185 @@
1
+ import { i as c, m as p, a as h, x as f, t as m } from "../performance-mixin-vBVz5Iib.mjs";
2
+ import { n as d } from "../property-8EkRXcYy.mjs";
3
+ import { f as g } from "../css-r3TDS8Ma.mjs";
4
+ import "./icon-button.mjs";
5
+ var u = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (a, o, s, n) => {
6
+ for (var e = n > 1 ? void 0 : n ? b(o, s) : o, r = a.length - 1, l; r >= 0; r--)
7
+ (l = a[r]) && (e = (n ? l(o, s, e) : l(e)) || e);
8
+ return n && e && u(o, s, e), e;
9
+ };
10
+ let y = 0, t = class extends p(h) {
11
+ constructor() {
12
+ super(), this.label = "", this.expanded = !1, this.disabled = !1;
13
+ const a = ++y;
14
+ this.headerId = `o-accordion-header-${a}`, this.panelId = `o-accordion-panel-${a}`;
15
+ }
16
+ toggle() {
17
+ this.disabled || (this.expanded = !this.expanded, this.dispatchEvent(new CustomEvent("change", {
18
+ detail: { expanded: this.expanded },
19
+ bubbles: !0,
20
+ composed: !0
21
+ })));
22
+ }
23
+ render() {
24
+ return f`
25
+ <button
26
+ id=${this.headerId}
27
+ class="header"
28
+ part="header"
29
+ aria-expanded="${this.expanded ? "true" : "false"}"
30
+ aria-controls=${this.panelId}
31
+ ?disabled=${this.disabled}
32
+ @click=${this.toggle}
33
+ >
34
+ <span class="label">
35
+ <slot name="header">${this.label}</slot>
36
+ </span>
37
+ <span class="icon" aria-hidden="true">
38
+ <span class="icon-swap">
39
+ <o-icon-button class="icon-plus" icon="occ-plus" size="medium" bgstyle="none-contrast" type="span"></o-icon-button>
40
+ <o-icon-button class="icon-minus" icon="occ-minus" size="medium" bgstyle="none-contrast" type="span"></o-icon-button>
41
+ </span>
42
+ </span>
43
+ </button>
44
+ <div
45
+ id=${this.panelId}
46
+ class="panel"
47
+ role="region"
48
+ aria-labelledby=${this.headerId}
49
+ aria-hidden="${this.expanded ? "false" : "true"}"
50
+ >
51
+ <div class="panel-inner" part="panel-inner">
52
+ <slot></slot>
53
+ </div>
54
+ </div>
55
+ `;
56
+ }
57
+ };
58
+ t.styles = c`
59
+ :host {
60
+ display: block;
61
+ border-bottom: var(--color-border-tertiary) solid 1px;
62
+ }
63
+
64
+ :host([disabled]) {
65
+ opacity: 0.5;
66
+ }
67
+
68
+ .header {
69
+ width: 100%;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: space-between;
73
+ gap: var(--spacing-m);
74
+ padding: var(--spacing-l) 0;
75
+ background: none;
76
+ border: 0;
77
+ cursor: pointer;
78
+ text-align: left;
79
+ }
80
+
81
+ .header:focus-visible {
82
+ ${g};
83
+ }
84
+
85
+ :host([disabled]) .header {
86
+ cursor: not-allowed;
87
+ }
88
+
89
+ .label {
90
+ font-family: var(--font-family-loccitane-sans);
91
+ font-size: var(--font-size-100);
92
+ font-weight: var(--font-weight-500);
93
+ line-height: var(--line-height-160);
94
+ letter-spacing: var(--letter-spacing-400);
95
+ text-transform: uppercase;
96
+ color: var(--color-content-body);
97
+ flex: 1 1 auto;
98
+ }
99
+
100
+ .icon {
101
+ display: inline-flex;
102
+ align-items: center;
103
+ justify-content: center;
104
+ flex: 0 0 auto;
105
+ }
106
+
107
+ .icon-swap {
108
+ position: relative;
109
+ width: 40px;
110
+ }
111
+
112
+ .icon-swap o-icon-button {
113
+ position: absolute;
114
+ inset: 0;
115
+ transition: transform 180ms ease, opacity 180ms ease;
116
+ transform-origin: 50% 50%;
117
+ }
118
+
119
+ .icon-plus {
120
+ opacity: 1;
121
+ transform: rotate(0deg) scale(1);
122
+ }
123
+
124
+ .icon-minus {
125
+ opacity: 0;
126
+ transform: rotate(-90deg) scale(0.6);
127
+ }
128
+
129
+ :host([expanded]) .icon-plus {
130
+ opacity: 0;
131
+ transform: rotate(90deg) scale(0.6);
132
+ }
133
+
134
+ :host([expanded]) .icon-minus {
135
+ opacity: 1;
136
+ transform: rotate(0deg) scale(1);
137
+ }
138
+
139
+ .panel {
140
+ display: grid;
141
+ grid-template-rows: 0fr;
142
+ transition: grid-template-rows 220ms ease, opacity 220ms ease;
143
+ opacity: 0;
144
+ }
145
+
146
+ :host([expanded]) .panel {
147
+ grid-template-rows: 1fr;
148
+ opacity: 1;
149
+ }
150
+
151
+ .panel-inner {
152
+ overflow: hidden;
153
+ min-height: 0;
154
+ padding-bottom: 0;
155
+ }
156
+
157
+ .panel-inner ::slotted(div) {
158
+ color: var(--color-content-body, #3F2B2E);
159
+ font-family: var(--font-family-loccitane-sans);
160
+ font-size: var(--font-size-150, 14px);
161
+ font-style: normal;
162
+ font-weight: var(--font-weight-400, 400);
163
+ line-height: var(--line-height-200, 20px);
164
+ letter-spacing: var(--letter-spacing-000, 0);
165
+ }
166
+
167
+ :host([expanded]) .panel-inner {
168
+ padding-bottom: var(--spacing-3-xl);
169
+ }
170
+ `;
171
+ i([
172
+ d({ type: String })
173
+ ], t.prototype, "label", 2);
174
+ i([
175
+ d({ type: Boolean, reflect: !0 })
176
+ ], t.prototype, "expanded", 2);
177
+ i([
178
+ d({ type: Boolean, reflect: !0 })
179
+ ], t.prototype, "disabled", 2);
180
+ t = i([
181
+ m("o-accordion")
182
+ ], t);
183
+ export {
184
+ t as OccitaneAccordion
185
+ };