@florid-kit/components 4.1.1 → 4.1.3

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.
@@ -159,6 +159,11 @@ export declare const occIconRegistry: {
159
159
  readonly medium: string;
160
160
  readonly large: string;
161
161
  };
162
+ readonly "occ-logout": {
163
+ readonly small: string;
164
+ readonly medium: string;
165
+ readonly large: string;
166
+ };
162
167
  readonly "occ-mail": {
163
168
  readonly small: string;
164
169
  readonly medium: string;
@@ -174,6 +179,16 @@ export declare const occIconRegistry: {
174
179
  readonly medium: string;
175
180
  readonly large: string;
176
181
  };
182
+ readonly "occ-notify": {
183
+ readonly small: string;
184
+ readonly medium: string;
185
+ readonly large: string;
186
+ };
187
+ readonly "occ-notify-filled": {
188
+ readonly small: string;
189
+ readonly medium: string;
190
+ readonly large: string;
191
+ };
177
192
  readonly "occ-order": {
178
193
  readonly small: string;
179
194
  readonly medium: string;
@@ -0,0 +1,5 @@
1
+ export declare const variants: {
2
+ small: string;
3
+ medium: string;
4
+ large: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare const variants: {
2
+ small: string;
3
+ medium: string;
4
+ large: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare const variants: {
2
+ small: string;
3
+ medium: string;
4
+ large: string;
5
+ };
@@ -3,6 +3,7 @@ import { FormSubmitter, FormSubmitterType } from '../controllers/form-submitter'
3
3
 
4
4
  declare const buttonBaseClass: import('../behaviors/mixin').MixinReturn<import('../behaviors/mixin').MixinReturn<typeof LitElement, import('../behaviors/element-internals.js').WithElementInternals>>;
5
5
  type ButtonVariant = "primary" | "secondary" | "ghost" | "tertiary" | "link";
6
+ type ButtonLinkTemplate = "standard" | "discret";
6
7
  export declare const variants: string[];
7
8
  export declare class OccitaneButton extends buttonBaseClass implements FormSubmitter {
8
9
  static readonly formAssociated = true;
@@ -13,6 +14,8 @@ export declare class OccitaneButton extends buttonBaseClass implements FormSubmi
13
14
  set name(name: string);
14
15
  get form(): HTMLFormElement | null;
15
16
  variant: ButtonVariant;
17
+ /** Only applies to variant="link" (same templates as o-link). */
18
+ template: ButtonLinkTemplate;
16
19
  text: string;
17
20
  textsecond: string;
18
21
  fullwidth: boolean;
@@ -43,7 +43,7 @@ let t = class extends f(d) {
43
43
  return this.hideIcon ? "" : a`
44
44
  <o-icon-button
45
45
  @click=${this.onClickIcons}
46
- icon=${this.type === "notifyme" ? "notifyme" : "cart"}
46
+ icon=${this.type === "notifyme" ? "occ-notify" : "cart"}
47
47
  size="small"
48
48
  bgstyle="background-contrast"
49
49
  type="button"
@@ -41,7 +41,7 @@ const c = class c extends d(f) {
41
41
  ` : t`
42
42
  <o-icon-button
43
43
  @click=${this.onClickIcons}
44
- icon=${this.outOfStock ? "notifyme" : "cart"}
44
+ icon=${this.outOfStock ? "occ-notify" : "cart"}
45
45
  size="small"
46
46
  bgstyle="background-contrast"
47
47
  type="button"
@@ -1,5 +1,5 @@
1
- import { E as b, i as E, a as w, m as C, x as p, t as S } from "../performance-mixin-D7YmSeqN.mjs";
2
- import { n as a } from "../property-S_Y9cb04.mjs";
1
+ import { E as b, i as E, a as w, m as S, x as p, t as C } from "../performance-mixin-D7YmSeqN.mjs";
2
+ import { n as s } from "../property-S_Y9cb04.mjs";
3
3
  import { f as g } from "../css-C8WrrxT-.mjs";
4
4
  import { i as D, m as P } from "../element-internals-Dw7LndlH.mjs";
5
5
  import { e as k, o as _, a as I } from "../icons-registry.mjs";
@@ -17,15 +17,15 @@ function q(e) {
17
17
  e.addInitializer((t) => {
18
18
  const o = t;
19
19
  o.addEventListener("click", async (n) => {
20
- const { type: i, [D]: r } = o, { form: s } = r;
21
- if (!(!s || i === "button") && (await new Promise((h) => {
20
+ const { type: i, [D]: r } = o, { form: a } = r;
21
+ if (!(!a || i === "button") && (await new Promise((h) => {
22
22
  setTimeout(h);
23
23
  }), !n.defaultPrevented)) {
24
24
  if (i === "reset") {
25
- s.reset();
25
+ a.reset();
26
26
  return;
27
27
  }
28
- s.addEventListener(
28
+ a.addEventListener(
29
29
  "submit",
30
30
  (h) => {
31
31
  Object.defineProperty(h, "submitter", {
@@ -35,7 +35,7 @@ function q(e) {
35
35
  });
36
36
  },
37
37
  { capture: !0, once: !0 }
38
- ), r.setFormValue(o.value), s.requestSubmit();
38
+ ), r.setFormValue(o.value), a.requestSubmit();
39
39
  }
40
40
  });
41
41
  });
@@ -180,16 +180,16 @@ class U extends V {
180
180
  const r = t[i];
181
181
  if (r === o[i])
182
182
  continue;
183
- const s = i.slice(1);
183
+ const a = i.slice(1);
184
184
  switch (i[0]) {
185
185
  case "@":
186
- this.eventData[s] = r, this.applyEvent(s, r);
186
+ this.eventData[a] = r, this.applyEvent(a, r);
187
187
  break;
188
188
  case ".":
189
- n[s] = r;
189
+ n[a] = r;
190
190
  break;
191
191
  case "?":
192
- r ? n.setAttribute(s, "") : n.removeAttribute(s);
192
+ r ? n.setAttribute(a, "") : n.removeAttribute(a);
193
193
  break;
194
194
  default:
195
195
  r != null ? n.setAttribute(i, String(r)) : n.removeAttribute(i);
@@ -222,11 +222,11 @@ class U extends V {
222
222
  }
223
223
  const $ = R(U);
224
224
  var X = Object.defineProperty, W = Object.getOwnPropertyDescriptor, d = (e, t, o, n) => {
225
- for (var i = n > 1 ? void 0 : n ? W(t, o) : t, r = e.length - 1, s; r >= 0; r--)
226
- (s = e[r]) && (i = (n ? s(t, o, i) : s(i)) || i);
225
+ for (var i = n > 1 ? void 0 : n ? W(t, o) : t, r = e.length - 1, a; r >= 0; r--)
226
+ (a = e[r]) && (i = (n ? a(t, o, i) : a(i)) || i);
227
227
  return n && i && X(t, o, i), i;
228
228
  };
229
- let l = class extends C(w) {
229
+ let l = class extends S(w) {
230
230
  constructor() {
231
231
  super(...arguments), this.open = !1, this.showHeader = !0, this.showFooter = !1, this.showHeaderStartIcon = !1, this.headerTitle = "", this.headerTitleClassName = "panel-title", this.labelDialog = "", this.labelAriaDialogPanel = "", this.closeButtonLabel = "Close the modal", this.goBackButtonLabel = "Go back to", this.firstButtonLabel = "Close", this.firstButtonVariant = "primary", this.firstButtonProps = {}, this.onFirstButtonClickClose = !1, this.secondButtonLabel = "", this.secondButtonVariant = "secondary", this.secondButtonProps = {}, this.onSecondButtonClickClose = !1, this.stickyFooter = !1, this.disablePortal = !1, this.zIndex = 99, this.initialized = !1, this.showDetail = !1, this.isHidingDetail = !1, this.previousFocusedElement = null, this.previousFocusedSelector = null, this._hideTimeout = null, this._onOpenDetail = async (e) => {
232
232
  var o, n;
@@ -286,7 +286,7 @@ let l = class extends C(w) {
286
286
  document.body.style.overflow = "", document.body.removeAttribute("data-side-panel"), this.removeEventListener("keydown", this.handleKeyDown), super.disconnectedCallback(), this.removeEventListener("open-detail", this._onOpenDetail);
287
287
  }
288
288
  async focusDetailReturnBtn() {
289
- var i, r, s, h, f;
289
+ var i, r, a, h, f;
290
290
  await this.updateComplete;
291
291
  const e = this.getDeepActiveElement(document);
292
292
  if (e && e !== document.body)
@@ -297,7 +297,7 @@ let l = class extends C(w) {
297
297
  await new Promise(requestAnimationFrame);
298
298
  const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".detail-view .return-btn");
299
299
  if (!t) return;
300
- t.updateComplete && await t.updateComplete, (h = (s = ((r = t.shadowRoot) == null ? void 0 : r.querySelector("button")) ?? t) == null ? void 0 : s.focus) == null || h.call(s, { preventScroll: !0 });
300
+ t.updateComplete && await t.updateComplete, (h = (a = ((r = t.shadowRoot) == null ? void 0 : r.querySelector("button")) ?? t) == null ? void 0 : a.focus) == null || h.call(a, { preventScroll: !0 });
301
301
  const n = (f = this.shadowRoot) == null ? void 0 : f.querySelector('.panel[role="dialog"]');
302
302
  n && (this.labelAriaDialogPanel ? n.setAttribute("aria-label", this.labelAriaDialogPanel) : n.setAttribute("aria-labelledby", "panel-title"));
303
303
  }
@@ -336,7 +336,7 @@ let l = class extends C(w) {
336
336
  return;
337
337
  }
338
338
  if (document.querySelector("#refineandsortpopin")) {
339
- const s = t.querySelector(".close-btn"), h = s ? this.resolveFocusable(s) : null, f = t.querySelector(".js-clear-refinements"), m = f ? this.resolveFocusable(f) : null, x = (A) => {
339
+ const a = t.querySelector(".close-btn"), h = a ? this.resolveFocusable(a) : null, f = t.querySelector(".js-clear-refinements"), m = f ? this.resolveFocusable(f) : null, x = (A) => {
340
340
  e.preventDefault(), e.stopPropagation(), A.focus();
341
341
  };
342
342
  if (h && m) {
@@ -347,11 +347,11 @@ let l = class extends C(w) {
347
347
  const r = this.renderRoot.querySelector(".close-btn");
348
348
  if (!e.shiftKey && r && r.contains(n)) {
349
349
  e.preventDefault();
350
- const s = this.renderRoot.querySelector(
350
+ const a = this.renderRoot.querySelector(
351
351
  ".o-whats-inside--content p"
352
352
  );
353
- if (s) {
354
- s.focus();
353
+ if (a) {
354
+ a.focus();
355
355
  return;
356
356
  }
357
357
  }
@@ -372,8 +372,8 @@ let l = class extends C(w) {
372
372
  const f = this.resolveFocusable(r);
373
373
  f && !this.isUnavailableElement(f) && o.push(f);
374
374
  }
375
- const s = r.tagName.toLowerCase();
376
- if (s === "o-icon-button" || s === "o-button") return;
375
+ const a = r.tagName.toLowerCase();
376
+ if (a === "o-icon-button" || a === "o-button") return;
377
377
  if (r instanceof HTMLSlotElement) {
378
378
  r.assignedElements({ flatten: !0 }).forEach(i);
379
379
  return;
@@ -395,11 +395,11 @@ let l = class extends C(w) {
395
395
  o && o.setAttribute("aria-modal", "true"), this.updateComplete.then(async () => {
396
396
  var i, r;
397
397
  if (this.showHeader && !t) {
398
- const s = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".panel .close-btn");
399
- s != null && s.updateComplete && await s.updateComplete;
400
- const h = this.resolveFocusable(s);
401
- (r = h == null ? void 0 : h.focus) == null || r.call(h, { preventScroll: !0 }), e || (s == null || s.classList.add("no-outline"), h == null || h.addEventListener("focusout", () => {
402
- s == null || s.classList.remove("no-outline");
398
+ const a = (i = this.shadowRoot) == null ? void 0 : i.querySelector(".panel .close-btn");
399
+ a != null && a.updateComplete && await a.updateComplete;
400
+ const h = this.resolveFocusable(a);
401
+ (r = h == null ? void 0 : h.focus) == null || r.call(h, { preventScroll: !0 }), e || (a == null || a.classList.add("no-outline"), h == null || h.addEventListener("focusout", () => {
402
+ a == null || a.classList.remove("no-outline");
403
403
  }, { once: !0 }));
404
404
  } else
405
405
  this.focusFirstInPanel();
@@ -798,89 +798,89 @@ l.shadowRootOptions = {
798
798
  delegatesFocus: !0
799
799
  };
800
800
  d([
801
- a({ type: Boolean, reflect: !0 })
801
+ s({ type: Boolean, reflect: !0 })
802
802
  ], l.prototype, "open", 2);
803
803
  d([
804
- a({ type: Boolean })
804
+ s({ type: Boolean })
805
805
  ], l.prototype, "showHeader", 2);
806
806
  d([
807
- a({ type: Boolean })
807
+ s({ type: Boolean })
808
808
  ], l.prototype, "showFooter", 2);
809
809
  d([
810
- a({ type: Boolean })
810
+ s({ type: Boolean })
811
811
  ], l.prototype, "showHeaderStartIcon", 2);
812
812
  d([
813
- a({ type: String })
813
+ s({ type: String })
814
814
  ], l.prototype, "headerTitle", 2);
815
815
  d([
816
- a({ type: String })
816
+ s({ type: String })
817
817
  ], l.prototype, "headerTitleClassName", 2);
818
818
  d([
819
- a({ type: String })
819
+ s({ type: String })
820
820
  ], l.prototype, "labelDialog", 2);
821
821
  d([
822
- a({ type: String })
822
+ s({ type: String })
823
823
  ], l.prototype, "labelAriaDialogPanel", 2);
824
824
  d([
825
- a({ type: String })
825
+ s({ type: String })
826
826
  ], l.prototype, "closeButtonLabel", 2);
827
827
  d([
828
- a({ type: String })
828
+ s({ type: String })
829
829
  ], l.prototype, "goBackButtonLabel", 2);
830
830
  d([
831
- a({ type: String })
831
+ s({ type: String })
832
832
  ], l.prototype, "firstButtonLabel", 2);
833
833
  d([
834
- a({ type: String })
834
+ s({ type: String })
835
835
  ], l.prototype, "firstButtonVariant", 2);
836
836
  d([
837
- a({ type: Object })
837
+ s({ type: Object })
838
838
  ], l.prototype, "firstButtonProps", 2);
839
839
  d([
840
- a({ type: Boolean })
840
+ s({ type: Boolean })
841
841
  ], l.prototype, "onFirstButtonClickClose", 2);
842
842
  d([
843
- a({ type: String })
843
+ s({ type: String })
844
844
  ], l.prototype, "secondButtonLabel", 2);
845
845
  d([
846
- a({ type: String })
846
+ s({ type: String })
847
847
  ], l.prototype, "secondButtonVariant", 2);
848
848
  d([
849
- a({ type: Object })
849
+ s({ type: Object })
850
850
  ], l.prototype, "secondButtonProps", 2);
851
851
  d([
852
- a({ type: Boolean })
852
+ s({ type: Boolean })
853
853
  ], l.prototype, "onSecondButtonClickClose", 2);
854
854
  d([
855
- a({ type: Boolean, reflect: !0 })
855
+ s({ type: Boolean, reflect: !0 })
856
856
  ], l.prototype, "stickyFooter", 2);
857
857
  d([
858
- a({ type: Boolean })
858
+ s({ type: Boolean })
859
859
  ], l.prototype, "disablePortal", 2);
860
860
  d([
861
- a({ type: Number })
861
+ s({ type: Number })
862
862
  ], l.prototype, "zIndex", 2);
863
863
  d([
864
- a({ type: Boolean, reflect: !0 })
864
+ s({ type: Boolean, reflect: !0 })
865
865
  ], l.prototype, "initialized", 2);
866
866
  d([
867
- a({ type: Boolean })
867
+ s({ type: Boolean })
868
868
  ], l.prototype, "showDetail", 2);
869
869
  d([
870
- a({ type: Boolean })
870
+ s({ type: Boolean })
871
871
  ], l.prototype, "isHidingDetail", 2);
872
872
  l = d([
873
- S("o-side-panel")
873
+ C("o-side-panel")
874
874
  ], l);
875
875
  var G = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, u = (e, t, o, n) => {
876
- for (var i = n > 1 ? void 0 : n ? Q(t, o) : t, r = e.length - 1, s; r >= 0; r--)
877
- (s = e[r]) && (i = (n ? s(t, o, i) : s(i)) || i);
876
+ for (var i = n > 1 ? void 0 : n ? Q(t, o) : t, r = e.length - 1, a; r >= 0; r--)
877
+ (a = e[r]) && (i = (n ? a(t, o, i) : a(i)) || i);
878
878
  return n && i && G(t, o, i), i;
879
879
  };
880
- const J = C(P(w)), lt = ["primary", "secondary", "ghost", "tertiary", "link"];
880
+ const J = S(P(w)), lt = ["primary", "secondary", "ghost", "tertiary", "link"];
881
881
  let c = class extends J {
882
882
  constructor() {
883
- 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, this.asButton = !1, this.updateDescription = () => {
883
+ super(...arguments), this.type = "submit", this.value = "", this.variant = "primary", this.template = "standard", 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, this.asButton = !1, this.updateDescription = () => {
884
884
  const e = this.renderRoot.querySelector(".button"), t = this.describedBy || this.getAttribute("aria-describedby");
885
885
  if (!e || !t) return;
886
886
  const o = this.getRootNode();
@@ -1091,6 +1091,15 @@ c.styles = E`
1091
1091
  opacity: 0;
1092
1092
  }
1093
1093
 
1094
+ :host([variant="link"][template="discret"]) .button,
1095
+ :host([variant="link"][template="discret"]) .button span {
1096
+ font-family: var(--font-family-loccitane-sans);
1097
+ font-size: var(--font-size-150);
1098
+ font-weight: var(--font-weight-400);
1099
+ line-height: var(--line-height-200);
1100
+ letter-spacing: 0;
1101
+ }
1102
+
1094
1103
  :host([disabled]),
1095
1104
  :host([aria-disabled="true"]),
1096
1105
  :host([aria-disabled="true"]:hover) {
@@ -1233,67 +1242,70 @@ c.styles = E`
1233
1242
  }
1234
1243
  `;
1235
1244
  u([
1236
- a()
1245
+ s()
1237
1246
  ], c.prototype, "type", 2);
1238
1247
  u([
1239
- a()
1248
+ s()
1240
1249
  ], c.prototype, "value", 2);
1241
1250
  u([
1242
- a({ type: String, reflect: !0 })
1251
+ s({ type: String, reflect: !0 })
1243
1252
  ], c.prototype, "variant", 2);
1244
1253
  u([
1245
- a({ type: String })
1254
+ s({ type: String, reflect: !0 })
1255
+ ], c.prototype, "template", 2);
1256
+ u([
1257
+ s({ type: String })
1246
1258
  ], c.prototype, "text", 2);
1247
1259
  u([
1248
- a({ type: String })
1260
+ s({ type: String })
1249
1261
  ], c.prototype, "textsecond", 2);
1250
1262
  u([
1251
- a({ type: Boolean, reflect: !0 })
1263
+ s({ type: Boolean, reflect: !0 })
1252
1264
  ], c.prototype, "fullwidth", 2);
1253
1265
  u([
1254
- a({ type: Boolean, reflect: !0 })
1266
+ s({ type: Boolean, reflect: !0 })
1255
1267
  ], c.prototype, "disabled", 2);
1256
1268
  u([
1257
- a({ type: String })
1269
+ s({ type: String })
1258
1270
  ], c.prototype, "startIconModel", 2);
1259
1271
  u([
1260
- a({ type: String })
1272
+ s({ type: String })
1261
1273
  ], c.prototype, "endIconModel", 2);
1262
1274
  u([
1263
- a({ type: Boolean, reflect: !0, attribute: "starticon" })
1275
+ s({ type: Boolean, reflect: !0, attribute: "starticon" })
1264
1276
  ], c.prototype, "startIcon", 2);
1265
1277
  u([
1266
- a({ type: Boolean, reflect: !0, attribute: "endicon" })
1278
+ s({ type: Boolean, reflect: !0, attribute: "endicon" })
1267
1279
  ], c.prototype, "endIcon", 2);
1268
1280
  u([
1269
- a({ type: String, attribute: "paneltarget" })
1281
+ s({ type: String, attribute: "paneltarget" })
1270
1282
  ], c.prototype, "panelTarget", 2);
1271
1283
  u([
1272
- a({ type: String })
1284
+ s({ type: String })
1273
1285
  ], c.prototype, "href", 2);
1274
1286
  u([
1275
- a({ type: String })
1287
+ s({ type: String })
1276
1288
  ], c.prototype, "target", 2);
1277
1289
  u([
1278
- a({ type: String })
1290
+ s({ type: String })
1279
1291
  ], c.prototype, "ctatitle", 2);
1280
1292
  u([
1281
- a({ type: Boolean, reflect: !0 })
1293
+ s({ type: Boolean, reflect: !0 })
1282
1294
  ], c.prototype, "underlined", 2);
1283
1295
  u([
1284
- a({ type: Boolean, reflect: !0 })
1296
+ s({ type: Boolean, reflect: !0 })
1285
1297
  ], c.prototype, "withbadge", 2);
1286
1298
  u([
1287
- a({ reflect: !0, attribute: "describedby" })
1299
+ s({ reflect: !0, attribute: "describedby" })
1288
1300
  ], c.prototype, "describedBy", 2);
1289
1301
  u([
1290
- a({ reflect: !0, attribute: "expanded" })
1302
+ s({ reflect: !0, attribute: "expanded" })
1291
1303
  ], c.prototype, "ariaExpanded", 2);
1292
1304
  u([
1293
- a({ type: Boolean, attribute: "asbutton" })
1305
+ s({ type: Boolean, attribute: "asbutton" })
1294
1306
  ], c.prototype, "asButton", 2);
1295
1307
  c = u([
1296
- S("o-button")
1308
+ C("o-button")
1297
1309
  ], c);
1298
1310
  export {
1299
1311
  c as O,
@@ -0,0 +1,20 @@
1
+ const C = {
2
+ small: `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M10.96 6.11489C10.44 5.56539 9.64 4.73614 9.33 4.1167L8.66 4.43641C8.96 5.01589 9.57 5.71525 10.09 6.26475H5.5V6.99409H10.12C9.52 7.63351 8.78 8.50272 8.64 8.84241L9.33 9.11216C9.45 8.82243 10.67 7.41371 11.22 6.92415L11.5 6.68437L10.96 6.11489Z" fill="#3F2B2E"/>
4
+ <path d="M7.22 9.86148V10.6308H1.28V2.62806C2.05 1.81879 3.13 1.34922 4.24 1.34922C5.35 1.34922 6.44 1.81879 7.21 2.62806V3.35739H7.99V2.27838L7.88 2.15848C6.95 1.09945 5.62 0.490002 4.24 0.490002C2.86 0.490002 1.54 1.09945 0.61 2.15848L0.5 2.27838V11.49H8V9.86148H7.22Z" fill="#3F2B2E"/>
5
+ </svg>
6
+ `,
7
+ medium: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8
+ <path d="M15.1802 8.74C15.0903 8.64 14.9704 8.52 14.8504 8.38C14.2408 7.72 13.2515 6.32 12.8917 5.59L12.0523 6C12.3821 6.68 13.1416 7.9 13.7312 8.55H7.49534V9.49H13.7612C13.0716 10.25 12.1822 11.65 12.0223 12.05L12.8917 12.4C13.0217 12.08 14.4607 10.02 15.1502 9.4L15.5 9.09L15.1902 8.74H15.1802Z" fill="#3F2B2E"/>
9
+ <path d="M9.27415 12.61V13.71H1.71919V3.83C2.70853 2.85 4.06762 2.29 5.48668 2.29C6.90573 2.29 8.27482 2.85 9.26416 3.84V5.09H10.4833V3.31L10.3135 3.12C9.08428 1.77 7.32545 1 5.48668 1C3.6479 1 1.89907 1.77 0.669887 3.11L0.5 3.3V15H10.4933V12.61H9.27415Z" fill="#3F2B2E"/>
10
+ </svg>
11
+ `,
12
+ large: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
13
+ <path d="M14.5323 19.66V21.38H2.48135V5.21C4.05278 3.56 6.22475 2.62 8.49682 2.62C10.7689 2.62 12.9609 3.57 14.5323 5.23V7.5H16.0136V4.57L15.8035 4.33C13.9418 2.21 11.2793 1 8.49682 1C5.71429 1 3.07188 2.21 1.21019 4.31L1 4.55V23H16.0136V19.66H14.5323Z" fill="#3F2B2E"/>
14
+ <path d="M22.5396 13.42C21.6988 12.59 19.677 10.07 18.9563 8.78L17.6651 9.35C18.2357 10.38 19.4568 11.99 20.4577 13.17H10.5587V14.45H20.4677C19.3066 15.79 17.8854 17.76 17.6351 18.31L18.9663 18.79C19.2266 18.21 21.5787 15.06 22.4695 14.34L23 13.91L22.5196 13.44L22.5396 13.42Z" fill="#3F2B2E"/>
15
+ </svg>
16
+ `
17
+ };
18
+ export {
19
+ C as variants
20
+ };
@@ -0,0 +1,17 @@
1
+ const C = {
2
+ small: `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M11.2106 8.87239C10.4721 8.11308 9.78355 7.39373 9.78355 5.0159C9.78355 3.31744 8.66586 1.87875 7.11906 1.38919C7.08912 0.889646 6.61011 0.5 5.98141 0.5C5.35271 0.5 4.8737 0.889646 4.84376 1.38919C3.30694 1.86876 2.17927 3.31744 2.17927 5.0159C2.17927 7.39373 1.48071 8.11308 0.752221 8.87239C0.572592 9.07221 0.482778 9.32198 0.502737 9.58174C0.512716 9.84151 0.622489 10.0813 0.822077 10.2611C1.00171 10.421 1.23123 10.5209 1.48071 10.5209H4.8737C4.95353 11.0704 5.42257 11.5 6.00137 11.5C6.58017 11.5 7.0492 11.0704 7.12904 10.5209H10.522C11.0609 10.5209 11.5 10.0813 11.5 9.54178C11.5 9.302 11.4102 9.06222 11.2405 8.87239H11.2106Z" fill="#3F2B2E"/>
4
+ </svg>
5
+ `,
6
+ medium: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7
+ <path d="M14.6696 11.6524C13.7284 10.6831 12.8473 9.77373 12.8473 6.7459C12.8473 4.58744 11.4154 2.74875 9.45293 2.12919C9.42289 1.48965 8.8021 1 8.00108 1C7.20006 1 6.57927 1.48965 6.54923 2.12919C4.58673 2.74875 3.1549 4.57744 3.1549 6.7459C3.1549 9.77373 2.26377 10.6831 1.33258 11.6524H1.32257C1.10229 11.9122 0.982135 12.222 1.00216 12.5617C1.02219 12.8915 1.16236 13.2013 1.40267 13.4211C1.63296 13.631 1.93335 13.7509 2.24374 13.7509H6.56925C6.66938 14.4604 7.27015 15 8.00108 15C8.73201 15 9.33278 14.4504 9.43291 13.7509H13.7584C14.4493 13.7509 15 13.1913 15 12.5118C15 12.202 14.8899 11.9022 14.6596 11.6624L14.6696 11.6524Z" fill="#3F2B2E"/>
8
+ </svg>
9
+ `,
10
+ large: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
11
+ <path d="M22.4996 17.74C21.0283 16.22 19.6272 14.79 19.6272 10.03C19.6272 6.63 17.3753 3.74 14.2927 2.77C14.2426 1.77 13.2618 1 12.0108 1C10.7597 1 9.78889 1.77 9.72884 2.77C6.63624 3.74 4.39436 6.63 4.39436 10.03C4.39436 14.78 3.00319 16.22 1.53195 17.74L1.51193 17.76C1.16164 18.15 0.981488 18.64 1.00151 19.17C1.02152 19.69 1.25172 20.17 1.63204 20.52C1.99234 20.85 2.46273 21.03 2.95315 21.03H9.74886C9.90899 22.14 10.8498 23 12.0008 23C13.1517 23 14.1025 22.14 14.2526 21.03H21.0484C22.1293 21.03 23 20.15 23 19.08C23 18.59 22.8198 18.13 22.4696 17.75L22.4996 17.74Z" fill="#3F2B2E"/>
12
+ </svg>
13
+ `
14
+ };
15
+ export {
16
+ C as variants
17
+ };
@@ -0,0 +1,17 @@
1
+ const C = {
2
+ small: `<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M11.2106 8.87239C10.4721 8.11308 9.78355 7.39373 9.78355 5.01589C9.78355 3.31744 8.66586 1.87875 7.11906 1.38919C7.08912 0.889646 6.61011 0.5 5.98141 0.5C5.35271 0.5 4.8737 0.889646 4.84376 1.38919C3.30694 1.86876 2.17927 3.31744 2.17927 5.01589C2.17927 7.39373 1.48071 8.11308 0.752221 8.87239C0.572592 9.07221 0.482778 9.32198 0.502737 9.58174C0.512716 9.84151 0.622489 10.0813 0.822077 10.2611C1.00171 10.421 1.23123 10.5209 1.48071 10.5209H4.8737C4.95353 11.0704 5.42257 11.5 6.00137 11.5C6.58017 11.5 7.0492 11.0704 7.12904 10.5209H10.522C11.0609 10.5209 11.5 10.0813 11.5 9.54178C11.5 9.302 11.4102 9.06222 11.2405 8.87239H11.2106ZM5.71197 10.5309H6.25085C6.1311 10.7007 5.83172 10.7007 5.71197 10.5309ZM10.4921 9.69164H1.47074C1.47074 9.69164 1.40088 9.68165 1.37094 9.65168C1.33102 9.61172 1.32105 9.57175 1.32105 9.54178C1.32105 9.5218 1.32104 9.47184 1.36096 9.43188C2.13935 8.63261 3.01754 7.71344 3.01754 5.01589C3.01754 3.37738 4.35477 2.0386 5.99139 2.0386C7.62801 2.0386 8.96524 3.37738 8.96524 5.01589C8.96524 7.72343 9.84342 8.63261 10.6218 9.43188C10.6518 9.46185 10.6617 9.50182 10.6617 9.53179C10.6617 9.61172 10.5919 9.68165 10.512 9.68165L10.4921 9.69164Z" fill="#3F2B2E"/>
4
+ </svg>
5
+ `,
6
+ medium: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
7
+ <path d="M14.6696 11.6524C13.7284 10.6831 12.8473 9.77373 12.8473 6.7459C12.8473 4.58744 11.4154 2.74875 9.45293 2.12919C9.42289 1.48965 8.8021 1 8.00108 1C7.20006 1 6.57927 1.48965 6.54923 2.12919C4.58673 2.74875 3.1549 4.57744 3.1549 6.7459C3.1549 9.77373 2.26377 10.6831 1.33258 11.6524H1.32257C1.10229 11.9122 0.982135 12.222 1.00216 12.5617C1.02219 12.8915 1.16236 13.2013 1.40267 13.4211C1.63296 13.631 1.93335 13.7509 2.24374 13.7509H6.56925C6.66938 14.4604 7.27015 15 8.00108 15C8.73201 15 9.33278 14.4504 9.43291 13.7509H13.7584C14.4493 13.7509 15 13.1913 15 12.5118C15 12.202 14.8899 11.9022 14.6596 11.6624L14.6696 11.6524ZM7.66065 13.7609H8.34151C8.19132 13.9807 7.80082 13.9807 7.66065 13.7609ZM13.7684 12.6916H2.23373C2.23373 12.6916 2.1336 12.6717 2.10356 12.6417C2.0535 12.5917 2.04349 12.5318 2.04349 12.5018C2.04349 12.4718 2.04349 12.4118 2.09355 12.3619C3.08481 11.3426 4.20624 10.1734 4.20624 6.7359C4.20624 4.64739 5.90841 2.94861 8.00108 2.94861C10.0937 2.94861 11.7959 4.64739 11.7959 6.7359C11.7959 10.1834 12.9274 11.3426 13.9086 12.3519C13.9386 12.3919 13.9587 12.4318 13.9587 12.4818C13.9587 12.5917 13.8686 12.6817 13.7584 12.6817L13.7684 12.6916Z" fill="#3F2B2E"/>
8
+ </svg>
9
+ `,
10
+ large: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
11
+ <path d="M22.4996 17.74C21.0283 16.22 19.6272 14.79 19.6272 10.03C19.6272 6.63 17.3753 3.74 14.2927 2.77C14.2426 1.77 13.2618 1 12.0108 1C10.7597 1 9.78889 1.77 9.72884 2.77C6.63624 3.74 4.39436 6.63 4.39436 10.03C4.39436 14.78 3.00319 16.22 1.53195 17.74L1.51193 17.76C1.16164 18.15 0.981488 18.64 1.00151 19.17C1.02152 19.69 1.25172 20.17 1.63204 20.52C1.99234 20.85 2.46273 21.03 2.95315 21.03H9.74886C9.90899 22.14 10.8498 23 12.0008 23C13.1517 23 14.1025 22.14 14.2526 21.03H21.0484C22.1293 21.03 23 20.15 23 19.08C23 18.59 22.8198 18.13 22.4696 17.75L22.4996 17.74ZM11.4803 21.07H12.5512C12.321 21.42 11.7105 21.42 11.4803 21.07ZM21.0784 19.39H2.96315C2.88309 19.39 2.81303 19.36 2.75298 19.31C2.67291 19.24 2.65289 19.14 2.65289 19.1C2.65289 19.05 2.65289 18.97 2.72295 18.89C4.28427 17.28 6.04575 15.45 6.04575 10.04C6.04575 6.75 8.71799 4.08 12.0108 4.08C15.3035 4.08 17.9758 6.75 17.9758 10.04C17.9758 15.47 19.7473 17.29 21.2886 18.88C21.3386 18.94 21.3686 19.01 21.3686 19.09C21.3686 19.26 21.2285 19.4 21.0584 19.4L21.0784 19.39Z" fill="#3F2B2E"/>
12
+ </svg>
13
+ `
14
+ };
15
+ export {
16
+ C as variants
17
+ };
@@ -70,9 +70,12 @@ const p = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="ht
70
70
  "occ-hand-shake": () => import("./icons/occ-hand-shake.mjs"),
71
71
  "occ-info": () => import("./icons/occ-info.mjs"),
72
72
  "occ-location": () => import("./icons/occ-location.mjs"),
73
+ "occ-logout": () => import("./icons/occ-logout.mjs"),
73
74
  "occ-mail": () => import("./icons/occ-mail.mjs"),
74
75
  "occ-message": () => import("./icons/occ-message.mjs"),
75
76
  "occ-minus": () => import("./icons/occ-minus.mjs"),
77
+ "occ-notify": () => import("./icons/occ-notify.mjs"),
78
+ "occ-notify-filled": () => import("./icons/occ-notify-filled.mjs"),
76
79
  "occ-order": () => import("./icons/occ-order.mjs"),
77
80
  "occ-order-sent": () => import("./icons/occ-order-sent.mjs"),
78
81
  "occ-padlock": () => import("./icons/occ-padlock.mjs"),
@@ -120,7 +123,7 @@ function B() {
120
123
  for (const o of [...n]) o();
121
124
  }
122
125
  function Z(o, c) {
123
- s[o] = c, y[o] = c.medium ?? c.small ?? c.large ?? "", B();
126
+ s[o] = c, H[o] = c.medium ?? c.small ?? c.large ?? "", B();
124
127
  }
125
128
  function b(o) {
126
129
  if (s[o] || e.has(o)) return;
@@ -136,7 +139,7 @@ const I = (o) => o.startsWith("occ-"), V = {
136
139
  small: 12,
137
140
  medium: 16,
138
141
  large: 24
139
- }, k = (o) => o === "xsmall" ? "small" : o, H = (o, c, i) => {
142
+ }, k = (o) => o === "xsmall" ? "small" : o, y = (o, c, i) => {
140
143
  const t = s[o];
141
144
  if (!t) return "";
142
145
  if (i) {
@@ -146,8 +149,8 @@ const I = (o) => o.startsWith("occ-"), V = {
146
149
  return t.large ?? t.medium ?? t.small ?? "";
147
150
  }, S = (o, { size: c, bgstyle: i }) => {
148
151
  const t = V[c], r = i === "none-light" || i === "none-contrast";
149
- return I(o) ? (b(o), { svg: H(o, c, r), pixelSize: t, shouldApplyLogicalSize: r }) : { svg: l[o] ?? "", pixelSize: t, shouldApplyLogicalSize: r };
150
- }, y = { ...l }, A = {
152
+ return I(o) ? (b(o), { svg: y(o, c, r), pixelSize: t, shouldApplyLogicalSize: r }) : { svg: l[o] ?? "", pixelSize: t, shouldApplyLogicalSize: r };
153
+ }, H = { ...l }, A = {
151
154
  strikeDiagonal: f
152
155
  }, R = {
153
156
  success: L,
@@ -155,7 +158,7 @@ const I = (o) => o.startsWith("occ-"), V = {
155
158
  info: x
156
159
  };
157
160
  export {
158
- y as a,
161
+ H as a,
159
162
  b as e,
160
163
  A as i,
161
164
  F as o,
package/index.mjs CHANGED
@@ -39,4 +39,4 @@ import "./components/search-input-dropdown.mjs";
39
39
  import "./components/option-tile.mjs";
40
40
  import "./components/option-tile-group.mjs";
41
41
  import "./components/content-push.mjs";
42
- globalThis.__FLORID_KIT__ = "4.1.1";
42
+ globalThis.__FLORID_KIT__ = "4.1.3";
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__ = "4.1.1";
7
+ globalThis.__FLORID_KIT__ = "4.1.3";
8
8
  const i = {
9
9
  "o-accordion": () => import("./components/accordion.mjs"),
10
10
  "o-accordion-group": () => import("./components/accordion-group.mjs"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@florid-kit/components",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "main": "index.js",
5
5
  "module": "index.mjs",
6
6
  "typings": "index.d.ts",