@swisspost/internet-header 1.16.0 → 1.16.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.
Files changed (32) hide show
  1. package/dist/cjs/focus-trap.cjs.entry.js +32 -50
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/{post-internet-header-72edf928.js → post-internet-header-5c0dbfd2.js} +2 -3
  4. package/dist/cjs/swisspost-internet-header.cjs.entry.js +1 -1
  5. package/dist/collection/components/post-internet-breadcrumbs/post-internet-breadcrumbs.js +2 -8
  6. package/dist/collection/components/post-internet-header/post-internet-header.js +14 -60
  7. package/dist/components/focus-trap2.js +32 -50
  8. package/dist/components/swisspost-internet-header.js +2 -3
  9. package/dist/docs.json +18 -118
  10. package/dist/esm/focus-trap.entry.js +32 -50
  11. package/dist/esm/index.js +1 -1
  12. package/dist/esm/{post-internet-header-25cbaecc.js → post-internet-header-6768743b.js} +2 -3
  13. package/dist/esm/swisspost-internet-header.entry.js +1 -1
  14. package/dist/esm-es5/focus-trap.entry.js +3 -3
  15. package/dist/esm-es5/index.js +1 -1
  16. package/dist/esm-es5/{post-internet-header-25cbaecc.js → post-internet-header-6768743b.js} +1 -1
  17. package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
  18. package/dist/swisspost-internet-header/index.esm.js +1 -1
  19. package/dist/swisspost-internet-header/{p-c45a080c.system.entry.js → p-4d5bddc5.system.entry.js} +3 -3
  20. package/dist/swisspost-internet-header/p-695fe962.system.js +1 -1
  21. package/dist/swisspost-internet-header/{p-2ca95ddf.system.js → p-7ceca008.system.js} +1 -1
  22. package/dist/swisspost-internet-header/p-944e8412.entry.js +11 -0
  23. package/dist/swisspost-internet-header/{p-572ff7a8.js → p-ccc07e33.js} +1 -1
  24. package/dist/swisspost-internet-header/{p-df70d07e.system.entry.js → p-f6e9c9eb.system.entry.js} +1 -1
  25. package/dist/swisspost-internet-header/{p-935c52e3.entry.js → p-fa6b0e3c.entry.js} +1 -1
  26. package/dist/swisspost-internet-header/{p-5a806d1a.system.js → p-fc7b59e2.system.js} +1 -1
  27. package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
  28. package/dist/types/components/post-internet-breadcrumbs/post-internet-breadcrumbs.d.ts +0 -2
  29. package/dist/types/components/post-internet-header/post-internet-header.d.ts +0 -15
  30. package/dist/types/components.d.ts +0 -33
  31. package/package.json +2 -2
  32. package/dist/swisspost-internet-header/p-085d38af.entry.js +0 -11
@@ -5,12 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-ecd8c9bb.js');
6
6
 
7
7
  /*!
8
- * tabbable 6.4.0
8
+ * tabbable 6.2.0
9
9
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
10
10
  */
11
11
  // NOTE: separate `:not()` selectors has broader browser support than the newer
12
12
  // `:not([inert], [inert] *)` (Feb 2023)
13
- var candidateSelectors = ['input:not([inert]):not([inert] *)', 'select:not([inert]):not([inert] *)', 'textarea:not([inert]):not([inert] *)', 'a[href]:not([inert]):not([inert] *)', 'button:not([inert]):not([inert] *)', '[tabindex]:not(slot):not([inert]):not([inert] *)', 'audio[controls]:not([inert]):not([inert] *)', 'video[controls]:not([inert]):not([inert] *)', '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', 'details>summary:first-of-type:not([inert]):not([inert] *)', 'details:not([inert]):not([inert] *)'];
13
+ // CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
14
+ // the entire query to fail, resulting in no nodes found, which will break a lot
15
+ // of things... so we have to rely on JS to identify nodes inside an inert container
16
+ var candidateSelectors = ['input:not([inert])', 'select:not([inert])', 'textarea:not([inert])', 'a[href]:not([inert])', 'button:not([inert])', '[tabindex]:not(slot):not([inert])', 'audio[controls]:not([inert])', 'video[controls]:not([inert])', '[contenteditable]:not([contenteditable="false"]):not([inert])', 'details>summary:first-of-type:not([inert])', 'details:not([inert])'];
14
17
  var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
15
18
  var NoElement = typeof Element === 'undefined';
16
19
  var matches = NoElement ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
@@ -23,13 +26,13 @@ var getRootNode = !NoElement && Element.prototype.getRootNode ? function (elemen
23
26
 
24
27
  /**
25
28
  * Determines if a node is inert or in an inert ancestor.
26
- * @param {Node} [node]
29
+ * @param {Element} [node]
27
30
  * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to
28
31
  * see if any of them are inert. If false, only `node` itself is considered.
29
32
  * @returns {boolean} True if inert itself or by way of being in an inert ancestor.
30
33
  * False if `node` is falsy.
31
34
  */
32
- var _isInert = function isInert(node, lookUp) {
35
+ var isInert = function isInert(node, lookUp) {
33
36
  var _node$getAttribute;
34
37
  if (lookUp === void 0) {
35
38
  lookUp = true;
@@ -43,10 +46,10 @@ var _isInert = function isInert(node, lookUp) {
43
46
  // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`
44
47
  // if it weren't for `matches()` not being a function on shadow roots; the following
45
48
  // code works for any kind of node
46
- var result = inert || lookUp && node && (
47
- // closest does not exist on shadow roots, so we fall back to a manual
48
- // lookup upward, in case it is not defined.
49
- typeof node.closest === 'function' ? node.closest('[inert]') : _isInert(node.parentNode));
49
+ // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`
50
+ // so it likely would not support `:is([inert] *)` either...
51
+ var result = inert || lookUp && node && isInert(node.parentNode); // recursive
52
+
50
53
  return result;
51
54
  };
52
55
 
@@ -72,8 +75,8 @@ var isContentEditable = function isContentEditable(node) {
72
75
  */
73
76
  var getCandidates = function getCandidates(el, includeContainer, filter) {
74
77
  // even if `includeContainer=false`, we still have to check it for inertness because
75
- // if it's inert (either by itself or via its parent), then all its children are inert
76
- if (_isInert(el)) {
78
+ // if it's inert, all its children are inert
79
+ if (isInert(el)) {
77
80
  return [];
78
81
  }
79
82
  var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
@@ -118,12 +121,12 @@ var getCandidates = function getCandidates(el, includeContainer, filter) {
118
121
  * @param {IterativeOptions} options
119
122
  * @returns {Array.<Element|CandidateScope>}
120
123
  */
121
- var _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
124
+ var getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
122
125
  var candidates = [];
123
126
  var elementsToCheck = Array.from(elements);
124
127
  while (elementsToCheck.length) {
125
128
  var element = elementsToCheck.shift();
126
- if (_isInert(element, false)) {
129
+ if (isInert(element, false)) {
127
130
  // no need to look up since we're drilling down
128
131
  // anything inside this container will also be inert
129
132
  continue;
@@ -132,7 +135,7 @@ var _getCandidatesIteratively = function getCandidatesIteratively(elements, incl
132
135
  // add shadow dom slot scope (slot itself cannot be focusable)
133
136
  var assigned = element.assignedElements();
134
137
  var content = assigned.length ? assigned : element.children;
135
- var nestedCandidates = _getCandidatesIteratively(content, true, options);
138
+ var nestedCandidates = getCandidatesIteratively(content, true, options);
136
139
  if (options.flatten) {
137
140
  candidates.push.apply(candidates, nestedCandidates);
138
141
  } else {
@@ -156,7 +159,7 @@ var _getCandidatesIteratively = function getCandidatesIteratively(elements, incl
156
159
  // no inert look up because we're already drilling down and checking for inertness
157
160
  // on the way down, so all containers to this root node should have already been
158
161
  // vetted as non-inert
159
- var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
162
+ var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
160
163
  if (shadowRoot && validShadowRoot) {
161
164
  // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
162
165
  // shadow exists, so look at light dom children as fallback BUT create a scope for any
@@ -164,7 +167,7 @@ var _getCandidatesIteratively = function getCandidatesIteratively(elements, incl
164
167
  // children of the web component element (which has the shadow), in the light dom, but
165
168
  // slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
166
169
  // _after_ we return from this recursive call
167
- var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
170
+ var _nestedCandidates = getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
168
171
  if (options.flatten) {
169
172
  candidates.push.apply(candidates, _nestedCandidates);
170
173
  } else {
@@ -341,28 +344,6 @@ var isZeroArea = function isZeroArea(node) {
341
344
  var isHidden = function isHidden(node, _ref) {
342
345
  var displayCheck = _ref.displayCheck,
343
346
  getShadowRoot = _ref.getShadowRoot;
344
- if (displayCheck === 'full-native') {
345
- if ('checkVisibility' in node) {
346
- // Chrome >= 105, Edge >= 105, Firefox >= 106, Safari >= 17.4
347
- // @see https://developer.mozilla.org/en-US/docs/Web/API/Element/checkVisibility#browser_compatibility
348
- var visible = node.checkVisibility({
349
- // Checking opacity might be desirable for some use cases, but natively,
350
- // opacity zero elements _are_ focusable and tabbable.
351
- checkOpacity: false,
352
- opacityProperty: false,
353
- contentVisibilityAuto: true,
354
- visibilityProperty: true,
355
- // This is an alias for `visibilityProperty`. Contemporary browsers
356
- // support both. However, this alias has wider browser support (Chrome
357
- // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
358
- // we include it anyway.
359
- checkVisibilityCSS: true
360
- });
361
- return !visible;
362
- }
363
- // Fall through to manual visibility checks
364
- }
365
-
366
347
  // NOTE: visibility will be `undefined` if node is detached from the document
367
348
  // (see notes about this further down), which means we will consider it visible
368
349
  // (this is legacy behavior from a very long way back)
@@ -376,10 +357,7 @@ var isHidden = function isHidden(node, _ref) {
376
357
  if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
377
358
  return true;
378
359
  }
379
- if (!displayCheck || displayCheck === 'full' ||
380
- // full-native can run this branch when it falls through in case
381
- // Element#checkVisibility is unsupported
382
- displayCheck === 'full-native' || displayCheck === 'legacy-full') {
360
+ if (!displayCheck || displayCheck === 'full' || displayCheck === 'legacy-full') {
383
361
  if (typeof getShadowRoot === 'function') {
384
362
  // figure out if we should consider the node to be in an undisclosed shadow and use the
385
363
  // 'non-zero-area' fallback
@@ -488,7 +466,11 @@ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
488
466
  return false;
489
467
  };
490
468
  var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
491
- if (node.disabled || isHiddenInput(node) || isHidden(node, options) ||
469
+ if (node.disabled ||
470
+ // we must do an inert look up to filter out any elements inside an inert ancestor
471
+ // because we're limited in the type of selectors we can use in JSDom (see related
472
+ // note related to `candidateSelectors`)
473
+ isInert(node) || isHiddenInput(node) || isHidden(node, options) ||
492
474
  // For a details element with a summary, the summary element gets the focus
493
475
  isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
494
476
  return false;
@@ -501,7 +483,7 @@ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(opt
501
483
  }
502
484
  return true;
503
485
  };
504
- var isShadowRootTabbable = function isShadowRootTabbable(shadowHostNode) {
486
+ var isValidShadowRootTabbable = function isValidShadowRootTabbable(shadowHostNode) {
505
487
  var tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);
506
488
  if (isNaN(tabIndex) || tabIndex >= 0) {
507
489
  return true;
@@ -515,14 +497,14 @@ var isShadowRootTabbable = function isShadowRootTabbable(shadowHostNode) {
515
497
  * @param {Array.<Element|CandidateScope>} candidates
516
498
  * @returns Element[]
517
499
  */
518
- var _sortByOrder = function sortByOrder(candidates) {
500
+ var sortByOrder = function sortByOrder(candidates) {
519
501
  var regularTabbables = [];
520
502
  var orderedTabbables = [];
521
503
  candidates.forEach(function (item, i) {
522
504
  var isScope = !!item.scopeParent;
523
505
  var element = isScope ? item.scopeParent : item;
524
506
  var candidateTabindex = getSortOrderTabIndex(element, isScope);
525
- var elements = isScope ? _sortByOrder(item.candidates) : element;
507
+ var elements = isScope ? sortByOrder(item.candidates) : element;
526
508
  if (candidateTabindex === 0) {
527
509
  isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
528
510
  } else {
@@ -544,22 +526,22 @@ var tabbable = function tabbable(container, options) {
544
526
  options = options || {};
545
527
  var candidates;
546
528
  if (options.getShadowRoot) {
547
- candidates = _getCandidatesIteratively([container], options.includeContainer, {
529
+ candidates = getCandidatesIteratively([container], options.includeContainer, {
548
530
  filter: isNodeMatchingSelectorTabbable.bind(null, options),
549
531
  flatten: false,
550
532
  getShadowRoot: options.getShadowRoot,
551
- shadowRootFilter: isShadowRootTabbable
533
+ shadowRootFilter: isValidShadowRootTabbable
552
534
  });
553
535
  } else {
554
536
  candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
555
537
  }
556
- return _sortByOrder(candidates);
538
+ return sortByOrder(candidates);
557
539
  };
558
540
  var focusable = function focusable(container, options) {
559
541
  options = options || {};
560
542
  var candidates;
561
543
  if (options.getShadowRoot) {
562
- candidates = _getCandidatesIteratively([container], options.includeContainer, {
544
+ candidates = getCandidatesIteratively([container], options.includeContainer, {
563
545
  filter: isNodeMatchingSelectorFocusable.bind(null, options),
564
546
  flatten: true,
565
547
  getShadowRoot: options.getShadowRoot
@@ -579,7 +561,7 @@ var isTabbable = function isTabbable(node, options) {
579
561
  }
580
562
  return isNodeMatchingSelectorTabbable(options, node);
581
563
  };
582
- var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe:not([inert]):not([inert] *)').join(',');
564
+ var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
583
565
  var isFocusable = function isFocusable(node, options) {
584
566
  options = options || {};
585
567
  if (!node) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postInternetHeader = require('./post-internet-header-72edf928.js');
5
+ const postInternetHeader = require('./post-internet-header-5c0dbfd2.js');
6
6
  const postInternetBreadcrumbs = require('./post-internet-breadcrumbs-6c043d02.js');
7
7
  const postInternetFooter = require('./post-internet-footer-9e46e1fc.js');
8
8
  const postSkiplinks = require('./post-skiplinks-469cc355.js');
@@ -373,7 +373,7 @@ const setMainNavigationIds = (navMainEntities) => {
373
373
  };
374
374
 
375
375
  const name = "@swisspost/internet-header";
376
- const version = "1.16.0";
376
+ const version = "1.16.1";
377
377
  const description = "The header for client facing applications.";
378
378
  const author = "Swiss Post <design-system@post.ch>";
379
379
  const license = "Apache-2.0";
@@ -414,7 +414,7 @@ const scripts = {
414
414
  generate: "stencil generate"
415
415
  };
416
416
  const dependencies = {
417
- "@swisspost/design-system-styles": "workspace:9.7.0",
417
+ "@swisspost/design-system-styles": "workspace:9.8.0",
418
418
  "body-scroll-lock": "4.0.0-beta.0",
419
419
  "iframe-resizer": "4.4.5",
420
420
  jquery: "3.7.1",
@@ -584,7 +584,6 @@ const PostInternetHeader = class {
584
584
  /**
585
585
  * Get the currently set language as a two letter string ("de", "fr" "it" or "en")
586
586
  * @returns string
587
- * @deprecated use `document.documentElement.lang` instead
588
587
  */
589
588
  async getCurrentLanguage() {
590
589
  var _a;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const postInternetHeader = require('./post-internet-header-72edf928.js');
5
+ const postInternetHeader = require('./post-internet-header-5c0dbfd2.js');
6
6
  require('./index-ecd8c9bb.js');
7
7
  require('./index-fbcc9ff3.js');
8
8
  require('./language.service-15af0e29.js');
@@ -245,10 +245,7 @@ export class PostInternetBreadcrumbs {
245
245
  "required": false,
246
246
  "optional": true,
247
247
  "docs": {
248
- "tags": [{
249
- "name": "deprecated",
250
- "text": "overlays will no longer be provided in the next major release, therefore this method will no longer be needed."
251
- }],
248
+ "tags": [],
252
249
  "text": "Add custom breadcrumb items to the end of the pre-configured list. Handy if your online service has its own navigation structure."
253
250
  },
254
251
  "attribute": "custom-items",
@@ -265,10 +262,7 @@ export class PostInternetBreadcrumbs {
265
262
  "required": false,
266
263
  "optional": false,
267
264
  "docs": {
268
- "tags": [{
269
- "name": "deprecated",
270
- "text": "Help and Contact buttons will no longer be provided in the next major release, therefore this prop will no longer be needed."
271
- }],
265
+ "tags": [],
272
266
  "text": "Hide all buttons."
273
267
  },
274
268
  "attribute": "hide-buttons",
@@ -14,7 +14,6 @@ export class PostInternetHeader {
14
14
  /**
15
15
  * Get the currently set language as a two letter string ("de", "fr" "it" or "en")
16
16
  * @returns string
17
- * @deprecated use `document.documentElement.lang` instead
18
17
  */
19
18
  async getCurrentLanguage() {
20
19
  var _a;
@@ -350,10 +349,7 @@ export class PostInternetHeader {
350
349
  "required": false,
351
350
  "optional": false,
352
351
  "docs": {
353
- "tags": [{
354
- "name": "deprecated",
355
- "text": "this option will no longer be configurable with the new header in the next major release."
356
- }],
352
+ "tags": [],
357
353
  "text": "Sticky behaviour of the header."
358
354
  },
359
355
  "attribute": "stickyness",
@@ -388,10 +384,7 @@ export class PostInternetHeader {
388
384
  "required": false,
389
385
  "optional": false,
390
386
  "docs": {
391
- "tags": [{
392
- "name": "deprecated",
393
- "text": "use the new configuration API to show or hide the meta navigation links. This option will be removed in the next major release."
394
- }],
387
+ "tags": [],
395
388
  "text": "Toggle the meta navigation."
396
389
  },
397
390
  "attribute": "meta",
@@ -409,10 +402,7 @@ export class PostInternetHeader {
409
402
  "required": false,
410
403
  "optional": false,
411
404
  "docs": {
412
- "tags": [{
413
- "name": "deprecated",
414
- "text": "use the new configuration API to show or hide the login. This option will be removed in the next major release."
415
- }],
405
+ "tags": [],
416
406
  "text": "Toggle the login link (when logged out) or the user widget (when logged in)."
417
407
  },
418
408
  "attribute": "login",
@@ -430,10 +420,7 @@ export class PostInternetHeader {
430
420
  "required": false,
431
421
  "optional": false,
432
422
  "docs": {
433
- "tags": [{
434
- "name": "deprecated",
435
- "text": "use the new configuration API to show or hide the search. This option will be removed in the next major release."
436
- }],
423
+ "tags": [],
437
424
  "text": "Toggle the search button."
438
425
  },
439
426
  "attribute": "search",
@@ -451,10 +438,7 @@ export class PostInternetHeader {
451
438
  "required": false,
452
439
  "optional": false,
453
440
  "docs": {
454
- "tags": [{
455
- "name": "deprecated",
456
- "text": "please implement the skiplinks component. This option will be removed in the next major release."
457
- }],
441
+ "tags": [],
458
442
  "text": "Toggle skiplinks. They help keyboard users to quickly jump to important sections of the page."
459
443
  },
460
444
  "attribute": "skiplinks",
@@ -472,10 +456,7 @@ export class PostInternetHeader {
472
456
  "required": false,
473
457
  "optional": true,
474
458
  "docs": {
475
- "tags": [{
476
- "name": "deprecated",
477
- "text": "this functionality will no longer be provided in the next major release and was deprecated previously."
478
- }],
459
+ "tags": [],
479
460
  "text": "Define a proxy URL for the config fetch request."
480
461
  },
481
462
  "attribute": "config-proxy",
@@ -522,10 +503,7 @@ export class PostInternetHeader {
522
503
  "required": false,
523
504
  "optional": true,
524
505
  "docs": {
525
- "tags": [{
526
- "name": "deprecated",
527
- "text": "use the language menu slot to override the language switch and specify custom URLs. This option will be removed in the next major release."
528
- }],
506
+ "tags": [],
529
507
  "text": "Override the language switch links with custom URLs. Helpful when your application contains sub-pages, and you\nwould like to stay on subpages when the user changes language."
530
508
  },
531
509
  "attribute": "language-switch-overrides",
@@ -548,10 +526,7 @@ export class PostInternetHeader {
548
526
  "required": false,
549
527
  "optional": true,
550
528
  "docs": {
551
- "tags": [{
552
- "name": "deprecated",
553
- "text": "use the main navigation slot to add custom menu entries. This option will be removed in the next major release."
554
- }],
529
+ "tags": [],
555
530
  "text": "Customize the header config loaded from the post portal."
556
531
  },
557
532
  "attribute": "custom-config",
@@ -568,10 +543,7 @@ export class PostInternetHeader {
568
543
  "required": false,
569
544
  "optional": true,
570
545
  "docs": {
571
- "tags": [{
572
- "name": "deprecated",
573
- "text": "this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution."
574
- }],
546
+ "tags": [],
575
547
  "text": "The header uses this cookie to set the language. Disables automatic language detection."
576
548
  },
577
549
  "attribute": "language-cookie-key",
@@ -588,10 +560,7 @@ export class PostInternetHeader {
588
560
  "required": false,
589
561
  "optional": true,
590
562
  "docs": {
591
- "tags": [{
592
- "name": "deprecated",
593
- "text": "this will no longer be supported in the next major release due to low usage, in favor of a project-specific solution."
594
- }],
563
+ "tags": [],
595
564
  "text": "The header uses this local storage key to set the language. Disables automatic language selection."
596
565
  },
597
566
  "attribute": "language-local-storage-key",
@@ -609,10 +578,7 @@ export class PostInternetHeader {
609
578
  "required": false,
610
579
  "optional": true,
611
580
  "docs": {
612
- "tags": [{
613
- "name": "deprecated",
614
- "text": "use the new configuration API to specify the logout URL. This option will be removed in the next major release."
615
- }],
581
+ "tags": [],
616
582
  "text": "Overrides the logout-url provided by the portal config."
617
583
  },
618
584
  "attribute": "logout-url",
@@ -629,10 +595,7 @@ export class PostInternetHeader {
629
595
  "required": false,
630
596
  "optional": true,
631
597
  "docs": {
632
- "tags": [{
633
- "name": "deprecated",
634
- "text": "use the new configuration API to specify these URLs. This option will be removed in the next major release."
635
- }],
598
+ "tags": [],
636
599
  "text": "Overrides the selfadmin url in case it needs to differ from the logoutUrl, which is the url that is used by default.\nThe selfadmin url is used in the KLP login widget to set the user menu links."
637
600
  },
638
601
  "attribute": "self-admin-origin",
@@ -649,10 +612,7 @@ export class PostInternetHeader {
649
612
  "required": false,
650
613
  "optional": true,
651
614
  "docs": {
652
- "tags": [{
653
- "name": "deprecated",
654
- "text": "boolean values will no longer be accepted in the next major release. Use \"none\" for false and \"auto\" for true. All other values remain unchanged."
655
- }],
615
+ "tags": [],
656
616
  "text": "Set the currently activated route. If there is a link matching this URL in the header, it will be highlighted.\nWill also highlight partly matching URLs. When set to auto, will use current location.href for comparison."
657
617
  },
658
618
  "attribute": "active-route",
@@ -676,10 +636,7 @@ export class PostInternetHeader {
676
636
  "required": false,
677
637
  "optional": true,
678
638
  "docs": {
679
- "tags": [{
680
- "name": "deprecatedthe",
681
- "text": "new header will no longer include this flyout in the next major release. Use the main navigation slot to add application-specific menu items."
682
- }],
639
+ "tags": [],
683
640
  "text": "Online Services only: Add custom links to the special online service navigation entry"
684
641
  },
685
642
  "attribute": "os-flyout-overrides",
@@ -749,9 +706,6 @@ export class PostInternetHeader {
749
706
  "tags": [{
750
707
  "name": "returns",
751
708
  "text": "string"
752
- }, {
753
- "name": "deprecated",
754
- "text": "use `document.documentElement.lang` instead"
755
709
  }]
756
710
  }
757
711
  }