@proximus/lavender-header 2.0.0-alpha.78 → 2.0.0-alpha.79
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/dist/index.es.js +14 -14
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var V = (r) => {
|
|
2
2
|
throw TypeError(r);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
5
|
-
var d = (r, t, e) => (
|
|
4
|
+
var _ = (r, t, e) => t.has(r) || V("Cannot " + e);
|
|
5
|
+
var d = (r, t, e) => (_(r, t, "read from private field"), e ? e.call(r) : t.get(r)), u = (r, t, e) => t.has(r) ? V("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e), k = (r, t, e, o) => (_(r, t, "write to private field"), o ? o.call(r, e) : t.set(r, e), e), b = (r, t, e) => (_(r, t, "access private method"), e);
|
|
6
6
|
import "@proximus/lavender-button-icon";
|
|
7
7
|
import "@proximus/lavender-cell";
|
|
8
8
|
import { WithExtraAttributes as J, fontsizeValues as zt, PxElement as $t, transferAccessibilityAttributes as At, fontweightValues as St, colorValues as Ct, log as q, checkName as Et, WrappedInteractiveStateController as Lt } from "@proximus/lavender-common";
|
|
@@ -359,17 +359,17 @@ function N(r) {
|
|
|
359
359
|
var t = typeof r;
|
|
360
360
|
return r != null && (t == "object" || t == "function");
|
|
361
361
|
}
|
|
362
|
-
var Wt = typeof global == "object" && global && global.Object === Object && global,
|
|
362
|
+
var Wt = typeof global == "object" && global && global.Object === Object && global, Dt = typeof self == "object" && self && self.Object === Object && self, lt = Wt || Dt || Function("return this")(), U = function() {
|
|
363
363
|
return lt.Date.now();
|
|
364
|
-
},
|
|
365
|
-
function
|
|
366
|
-
for (var t = r.length; t-- &&
|
|
364
|
+
}, Ft = /\s/;
|
|
365
|
+
function _t(r) {
|
|
366
|
+
for (var t = r.length; t-- && Ft.test(r.charAt(t)); )
|
|
367
367
|
;
|
|
368
368
|
return t;
|
|
369
369
|
}
|
|
370
370
|
var Ut = /^\s+/;
|
|
371
371
|
function Yt(r) {
|
|
372
|
-
return r && r.slice(0,
|
|
372
|
+
return r && r.slice(0, _t(r) + 1).replace(Ut, "");
|
|
373
373
|
}
|
|
374
374
|
var O = lt.Symbol, pt = Object.prototype, Zt = pt.hasOwnProperty, Xt = pt.toString, C = O ? O.toStringTag : void 0;
|
|
375
375
|
function Jt(r) {
|
|
@@ -419,12 +419,12 @@ function be(r, t, e) {
|
|
|
419
419
|
if (typeof r != "function")
|
|
420
420
|
throw new TypeError(le);
|
|
421
421
|
t = ot(t) || 0, N(e) && (A = !!e.leading, h = "maxWait" in e, s = h ? pe(ot(e.maxWait) || 0, t) : s, W = "trailing" in e ? !!e.trailing : W);
|
|
422
|
-
function
|
|
422
|
+
function D(p) {
|
|
423
423
|
var x = o, S = a;
|
|
424
424
|
return o = a = void 0, g = p, n = r.apply(S, x), n;
|
|
425
425
|
}
|
|
426
426
|
function mt(p) {
|
|
427
|
-
return g = p, l = setTimeout(M, t), A ?
|
|
427
|
+
return g = p, l = setTimeout(M, t), A ? D(p) : n;
|
|
428
428
|
}
|
|
429
429
|
function kt(p) {
|
|
430
430
|
var x = p - c, S = p - g, G = t - x;
|
|
@@ -441,7 +441,7 @@ function be(r, t, e) {
|
|
|
441
441
|
l = setTimeout(M, kt(p));
|
|
442
442
|
}
|
|
443
443
|
function Q(p) {
|
|
444
|
-
return l = void 0, W && o ?
|
|
444
|
+
return l = void 0, W && o ? D(p) : (o = a = void 0, n);
|
|
445
445
|
}
|
|
446
446
|
function yt() {
|
|
447
447
|
l !== void 0 && clearTimeout(l), g = 0, o = c = a = l = void 0;
|
|
@@ -449,17 +449,17 @@ function be(r, t, e) {
|
|
|
449
449
|
function wt() {
|
|
450
450
|
return l === void 0 ? n : Q(U());
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function F() {
|
|
453
453
|
var p = U(), x = K(p);
|
|
454
454
|
if (o = arguments, a = this, c = p, x) {
|
|
455
455
|
if (l === void 0)
|
|
456
456
|
return mt(c);
|
|
457
457
|
if (h)
|
|
458
|
-
return clearTimeout(l), l = setTimeout(M, t),
|
|
458
|
+
return clearTimeout(l), l = setTimeout(M, t), D(c);
|
|
459
459
|
}
|
|
460
460
|
return l === void 0 && (l = setTimeout(M, t)), n;
|
|
461
461
|
}
|
|
462
|
-
return
|
|
462
|
+
return F.cancel = yt, F.flush = wt, F;
|
|
463
463
|
}
|
|
464
464
|
var ue = "Expected a function";
|
|
465
465
|
function he(r, t, e) {
|
|
@@ -504,7 +504,7 @@ class ge extends J {
|
|
|
504
504
|
<px-hstack gap--mobile="none" gap="default">
|
|
505
505
|
<slot name="header-actions"></slot>
|
|
506
506
|
<px-button-icon id="burger-menu" variant="naked" aria-label="${this.burgerMenuAriaLabel ?? "Open menu"}"
|
|
507
|
-
aria-expanded="false"
|
|
507
|
+
aria-expanded="false" hidden--tablet hidden--laptop
|
|
508
508
|
hidden--desktop>
|
|
509
509
|
<px-icon name="burger_menu" from="lavender"></px-icon>
|
|
510
510
|
</px-button-icon>
|