@maggioli-design-system/mds-input-tip 1.3.0 → 1.4.0

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 (46) hide show
  1. package/dist/cjs/{index-66d8bb25.js → index-4daec419.js} +119 -62
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-input-tip.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-input-tip.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/mds-input-tip/mds-input-tip.css +7 -22
  7. package/dist/components/mds-input-tip.js +1 -1
  8. package/dist/documentation.json +2 -2
  9. package/dist/esm/{index-4e431d49.js → index-07630e0c.js} +119 -62
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/esm/mds-input-tip.entry.js +2 -2
  12. package/dist/esm/mds-input-tip.js +3 -3
  13. package/dist/esm-es5/index-07630e0c.js +1 -0
  14. package/dist/esm-es5/loader.js +1 -1
  15. package/dist/esm-es5/mds-input-tip.entry.js +1 -1
  16. package/dist/esm-es5/mds-input-tip.js +1 -1
  17. package/dist/mds-input-tip/mds-input-tip.esm.js +1 -1
  18. package/dist/mds-input-tip/mds-input-tip.js +1 -1
  19. package/dist/mds-input-tip/p-04193c07.entry.js +1 -0
  20. package/dist/mds-input-tip/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
  21. package/dist/mds-input-tip/p-937c40eb.js +2 -0
  22. package/dist/mds-input-tip/p-d28332e9.system.js +2 -0
  23. package/dist/mds-input-tip/p-d8a5540f.system.entry.js +1 -0
  24. package/dist/stats.json +29 -30
  25. package/documentation.json +2 -2
  26. package/package.json +4 -4
  27. package/src/components/mds-input-tip/css/mds-input-tip-pref-animation.css +5 -12
  28. package/src/components/mds-input-tip/mds-input-tip.css +2 -7
  29. package/src/tailwind/components.css +2 -48
  30. package/src/tailwind/index.css +4 -0
  31. package/www/build/mds-input-tip.esm.js +1 -1
  32. package/www/build/mds-input-tip.js +1 -1
  33. package/www/build/p-04193c07.entry.js +1 -0
  34. package/www/build/{p-c7ede63a.system.js → p-41e6f98e.system.js} +1 -1
  35. package/www/build/p-937c40eb.js +2 -0
  36. package/www/build/p-d28332e9.system.js +2 -0
  37. package/www/build/p-d8a5540f.system.entry.js +1 -0
  38. package/dist/esm-es5/index-4e431d49.js +0 -1
  39. package/dist/mds-input-tip/p-27388d25.entry.js +0 -1
  40. package/dist/mds-input-tip/p-7eeec96b.system.js +0 -2
  41. package/dist/mds-input-tip/p-b8376582.js +0 -2
  42. package/dist/mds-input-tip/p-d876075e.system.entry.js +0 -1
  43. package/www/build/p-27388d25.entry.js +0 -1
  44. package/www/build/p-7eeec96b.system.js +0 -2
  45. package/www/build/p-b8376582.js +0 -2
  46. package/www/build/p-d876075e.system.entry.js +0 -1
@@ -21,10 +21,10 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'mds-input-tip';
24
- const BUILD = /* mds-input-tip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* mds-input-tip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -33,10 +33,15 @@ var __export = (target, all) => {
33
33
  };
34
34
 
35
35
  // src/client/client-host-ref.ts
36
- var hostRefs = /* @__PURE__ */ new WeakMap();
37
- var getHostRef = (ref) => hostRefs.get(ref);
36
+ var getHostRef = (ref) => {
37
+ if (ref.__stencil__getHostRef) {
38
+ return ref.__stencil__getHostRef();
39
+ }
40
+ return void 0;
41
+ };
38
42
  var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
43
+ lazyInstance.__stencil__getHostRef = () => hostRef;
44
+ hostRef.$lazyInstance$ = lazyInstance;
40
45
  };
41
46
  var registerHost = (hostElement, cmpMeta) => {
42
47
  const hostRef = {
@@ -50,7 +55,8 @@ var registerHost = (hostElement, cmpMeta) => {
50
55
  hostElement["s-p"] = [];
51
56
  hostElement["s-rc"] = [];
52
57
  }
53
- const ref = hostRefs.set(hostElement, hostRef);
58
+ const ref = hostRef;
59
+ hostElement.__stencil__getHostRef = () => ref;
54
60
  return ref;
55
61
  };
56
62
  var isMemberInElement = (elm, memberName) => memberName in elm;
@@ -107,7 +113,6 @@ var HYDRATED_STYLE_ID = "sty-id";
107
113
  var HYDRATED_CSS = "{visibility:hidden}[hydrated]{visibility:inherit}";
108
114
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
109
115
  var win = typeof window !== "undefined" ? window : {};
110
- var doc = win.document || { head: {} };
111
116
  var plt = {
112
117
  $flags$: 0,
113
118
  $resourcesUrl$: "",
@@ -167,9 +172,9 @@ var isComplexType = (o) => {
167
172
  };
168
173
 
169
174
  // src/utils/query-nonce-meta-tag-content.ts
170
- function queryNonceMetaTagContent(doc2) {
175
+ function queryNonceMetaTagContent(doc) {
171
176
  var _a, _b, _c;
172
- return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
177
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
173
178
  }
174
179
 
175
180
  // src/utils/result.ts
@@ -328,7 +333,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
328
333
  var _a;
329
334
  const scopeId2 = getScopeId(cmpMeta);
330
335
  const style = styles.get(scopeId2);
331
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
336
+ if (!win.document) {
337
+ return scopeId2;
338
+ }
339
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
332
340
  if (style) {
333
341
  if (typeof style === "string") {
334
342
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -339,9 +347,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
339
347
  }
340
348
  if (!appliedStyles.has(scopeId2)) {
341
349
  {
342
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
350
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
343
351
  styleElm.innerHTML = style;
344
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
352
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
345
353
  if (nonce != null) {
346
354
  styleElm.setAttribute("nonce", nonce);
347
355
  }
@@ -370,7 +378,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
370
378
  styleContainerNode.append(styleElm);
371
379
  }
372
380
  }
373
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
381
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
374
382
  styleContainerNode.insertBefore(styleElm, null);
375
383
  }
376
384
  }
@@ -395,7 +403,7 @@ var attachStyles = (hostRef) => {
395
403
  const scopeId2 = addStyle(
396
404
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
397
405
  cmpMeta);
398
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
406
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
399
407
  elm["s-sc"] = scopeId2;
400
408
  elm.classList.add(scopeId2 + "-h");
401
409
  }
@@ -403,42 +411,43 @@ var attachStyles = (hostRef) => {
403
411
  };
404
412
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
405
413
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
406
- if (oldValue !== newValue) {
407
- let isProp = isMemberInElement(elm, memberName);
408
- memberName.toLowerCase();
409
- if (memberName === "key") ; else {
410
- const isComplex = isComplexType(newValue);
411
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
412
- try {
413
- if (!elm.tagName.includes("-")) {
414
- const n = newValue == null ? "" : newValue;
415
- if (memberName === "list") {
416
- isProp = false;
417
- } else if (oldValue == null || elm[memberName] != n) {
418
- if (typeof elm.__lookupSetter__(memberName) === "function") {
419
- elm[memberName] = n;
420
- } else {
421
- elm.setAttribute(memberName, n);
422
- }
414
+ if (oldValue === newValue) {
415
+ return;
416
+ }
417
+ let isProp = isMemberInElement(elm, memberName);
418
+ memberName.toLowerCase();
419
+ if (memberName === "key") ; else {
420
+ const isComplex = isComplexType(newValue);
421
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
422
+ try {
423
+ if (!elm.tagName.includes("-")) {
424
+ const n = newValue == null ? "" : newValue;
425
+ if (memberName === "list") {
426
+ isProp = false;
427
+ } else if (oldValue == null || elm[memberName] != n) {
428
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
429
+ elm[memberName] = n;
430
+ } else {
431
+ elm.setAttribute(memberName, n);
423
432
  }
424
- } else if (elm[memberName] !== newValue) {
425
- elm[memberName] = newValue;
426
433
  }
427
- } catch (e) {
434
+ } else if (elm[memberName] !== newValue) {
435
+ elm[memberName] = newValue;
428
436
  }
437
+ } catch (e) {
429
438
  }
430
- if (newValue == null || newValue === false) {
431
- if (newValue !== false || elm.getAttribute(memberName) === "") {
432
- {
433
- elm.removeAttribute(memberName);
434
- }
435
- }
436
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
437
- newValue = newValue === true ? "" : newValue;
439
+ }
440
+ if (newValue == null || newValue === false) {
441
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
438
442
  {
439
- elm.setAttribute(memberName, newValue);
443
+ elm.removeAttribute(memberName);
440
444
  }
441
445
  }
446
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
447
+ newValue = newValue === true ? "" : newValue;
448
+ {
449
+ elm.setAttribute(memberName, newValue);
450
+ }
442
451
  }
443
452
  }
444
453
  };
@@ -489,7 +498,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
489
498
  let elm;
490
499
  let childNode;
491
500
  {
492
- elm = newVNode2.$elm$ = doc.createElement(
501
+ if (!win.document) {
502
+ throw new Error(
503
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
504
+ );
505
+ }
506
+ elm = newVNode2.$elm$ = win.document.createElement(
493
507
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
494
508
  );
495
509
  {
@@ -634,12 +648,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
634
648
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
635
649
  const oldChildren = oldVNode.$children$;
636
650
  const newChildren = newVNode2.$children$;
637
- const tag = newVNode2.$tag$;
638
651
  {
639
652
  {
640
- if (tag === "slot" && !useNativeShadowDom) ; else {
641
- updateElement(oldVNode, newVNode2, isSvgMode);
642
- }
653
+ updateElement(oldVNode, newVNode2, isSvgMode);
643
654
  }
644
655
  if (oldChildren !== null && newChildren !== null) {
645
656
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -681,7 +692,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
681
692
  rootVnode.$flags$ |= 4 /* isHost */;
682
693
  hostRef.$vnode$ = rootVnode;
683
694
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
684
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
695
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
685
696
  patch(oldVNode, rootVnode, isInitialLoad);
686
697
  };
687
698
 
@@ -720,6 +731,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
720
731
  );
721
732
  }
722
733
  let maybePromise;
734
+ if (isInitialLoad) {
735
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
736
+ } else {
737
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
738
+ }
739
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
723
740
  endSchedule();
724
741
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
725
742
  };
@@ -783,12 +800,15 @@ var postUpdateComponent = (hostRef) => {
783
800
  const tagName = hostRef.$cmpMeta$.$tagName$;
784
801
  const elm = hostRef.$hostElement$;
785
802
  const endPostUpdate = createTime("postUpdate", tagName);
803
+ const instance = hostRef.$lazyInstance$ ;
786
804
  const ancestorComponent = hostRef.$ancestorComponent$;
805
+ safeCall(instance, "componentDidRender", void 0, elm);
787
806
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
788
807
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
789
808
  {
790
809
  addHydratedFlag(elm);
791
810
  }
811
+ safeCall(instance, "componentDidLoad", void 0, elm);
792
812
  endPostUpdate();
793
813
  {
794
814
  hostRef.$onReadyResolve$(elm);
@@ -797,6 +817,7 @@ var postUpdateComponent = (hostRef) => {
797
817
  }
798
818
  }
799
819
  } else {
820
+ safeCall(instance, "componentDidUpdate", void 0, elm);
800
821
  endPostUpdate();
801
822
  }
802
823
  {
@@ -811,11 +832,18 @@ var postUpdateComponent = (hostRef) => {
811
832
  }
812
833
  };
813
834
  var appDidLoad = (who) => {
814
- {
815
- addHydratedFlag(doc.documentElement);
816
- }
817
835
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
818
836
  };
837
+ var safeCall = (instance, method, arg, elm) => {
838
+ if (instance && instance[method]) {
839
+ try {
840
+ return instance[method](arg);
841
+ } catch (e) {
842
+ consoleError(e, elm);
843
+ }
844
+ }
845
+ return void 0;
846
+ };
819
847
  var addHydratedFlag = (elm) => {
820
848
  var _b;
821
849
  return elm.setAttribute((_b = BUILD.hydratedSelectorName) != null ? _b : "hydrated", "") ;
@@ -827,7 +855,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
827
855
  const hostRef = getHostRef(ref);
828
856
  if (!hostRef) {
829
857
  throw new Error(
830
- `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
858
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
831
859
  );
832
860
  }
833
861
  const oldVal = hostRef.$instanceValues$.get(propName);
@@ -840,6 +868,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
840
868
  hostRef.$instanceValues$.set(propName, newVal);
841
869
  if (instance) {
842
870
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
871
+ if (instance.componentShouldUpdate) {
872
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
873
+ return;
874
+ }
875
+ }
843
876
  scheduleUpdate(hostRef, false);
844
877
  }
845
878
  }
@@ -976,7 +1009,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
976
1009
  let Cstr;
977
1010
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
978
1011
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
979
- {
1012
+ const bundleId = cmpMeta.$lazyBundleId$;
1013
+ if (bundleId) {
980
1014
  const CstrImport = loadModule(cmpMeta, hostRef);
981
1015
  if (CstrImport && "then" in CstrImport) {
982
1016
  const endLoad = uniqueTime();
@@ -1005,6 +1039,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1005
1039
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1006
1040
  }
1007
1041
  endNewInstance();
1042
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1043
+ } else {
1044
+ Cstr = elm.constructor;
1045
+ const cmpTag = elm.localName;
1046
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1008
1047
  }
1009
1048
  if (Cstr && Cstr.style) {
1010
1049
  let style;
@@ -1028,6 +1067,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1028
1067
  }
1029
1068
  };
1030
1069
  var fireConnectedCallback = (instance, elm) => {
1070
+ {
1071
+ safeCall(instance, "connectedCallback", void 0, elm);
1072
+ }
1031
1073
  };
1032
1074
 
1033
1075
  // src/runtime/connected-callback.ts
@@ -1060,20 +1102,27 @@ var connectedCallback = (elm) => {
1060
1102
  initializeComponent(elm, hostRef, cmpMeta);
1061
1103
  }
1062
1104
  } else {
1063
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1064
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1105
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1106
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1107
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1108
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1065
1109
  }
1066
1110
  }
1067
1111
  endConnected();
1068
1112
  }
1069
1113
  };
1070
1114
  var disconnectInstance = (instance, elm) => {
1115
+ {
1116
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1117
+ }
1071
1118
  };
1072
1119
  var disconnectedCallback = async (elm) => {
1073
1120
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1074
1121
  const hostRef = getHostRef(elm);
1075
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1076
- hostRef.$onReadyPromise$.then(() => disconnectInstance());
1122
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1123
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1124
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1125
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1077
1126
  }
1078
1127
  }
1079
1128
  if (rootAppliedStyles.has(elm)) {
@@ -1087,18 +1136,22 @@ var disconnectedCallback = async (elm) => {
1087
1136
  // src/runtime/bootstrap-lazy.ts
1088
1137
  var bootstrapLazy = (lazyBundles, options = {}) => {
1089
1138
  var _a;
1139
+ if (!win.document) {
1140
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1141
+ return;
1142
+ }
1090
1143
  const endBootstrap = createTime();
1091
1144
  const cmpTags = [];
1092
1145
  const exclude = options.exclude || [];
1093
1146
  const customElements2 = win.customElements;
1094
- const head = doc.head;
1147
+ const head = win.document.head;
1095
1148
  const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1096
- const dataStyles = /* @__PURE__ */ doc.createElement("style");
1149
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1097
1150
  const deferredConnectedCallbacks = [];
1098
1151
  let appLoadFallback;
1099
1152
  let isBootstrapping = true;
1100
1153
  Object.assign(plt, options);
1101
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1154
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1102
1155
  let hasSlotRelocation = false;
1103
1156
  lazyBundles.map((lazyBundle) => {
1104
1157
  lazyBundle[1].map((compactMeta) => {
@@ -1161,6 +1214,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1161
1214
  plt.raf(() => {
1162
1215
  var _a3;
1163
1216
  const hostRef = getHostRef(this);
1217
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1218
+ if (i2 > -1) {
1219
+ deferredConnectedCallbacks.splice(i2, 1);
1220
+ }
1164
1221
  if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1165
1222
  delete hostRef.$vnode$.$elm$;
1166
1223
  }
@@ -1189,7 +1246,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1189
1246
  }
1190
1247
  if (dataStyles.innerHTML.length) {
1191
1248
  dataStyles.setAttribute("data-styles", "");
1192
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1249
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1193
1250
  if (nonce != null) {
1194
1251
  dataStyles.setAttribute("nonce", nonce);
1195
1252
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-66d8bb25.js');
5
+ const index = require('./index-4daec419.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-66d8bb25.js');
5
+ const index = require('./index-4daec419.js');
6
6
 
7
- const mdsInputTipCss = "@tailwind utilities;\n\n/**\n * @prop --mds-input-tip-active-translate: Set the translate of the tip when it is active.\n */\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position=\"top\"]) {\n top: 0.25rem;\n}\n\n:host([position=\"bottom\"]) {\n bottom: 0.25rem;\n}\n\n:host([position=\"top\"][active]:not([active=\"false\"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position=\"top\"][active]:not([active=\"false\"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position=\"bottom\"][active]:not([active=\"false\"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position=\"bottom\"][active]:not([active=\"false\"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
7
+ const mdsInputTipCss = ":host{--mds-input-tip-active-translate:translate(0, 0);left:0.25rem;right:0.25rem;gap:0.25rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;pointer-events:none;position:absolute;-webkit-transform:var(--mds-input-tip-active-translate);transform:var(--mds-input-tip-active-translate);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}:host(:empty){display:none}:host([position=\"top\"]){top:0.25rem}:host([position=\"bottom\"]){bottom:0.25rem}:host([position=\"top\"][active]:not([active=\"false\"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), calc(0.25rem * -1))}:host([position=\"top\"][active]:not([active=\"false\"])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position=\"bottom\"][active]:not([active=\"false\"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), 0.25rem)}:host([position=\"bottom\"][active]:not([active=\"false\"])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
8
8
  const MdsInputTipStyle0 = mdsInputTipCss;
9
9
 
10
10
  const MdsInputTip = class {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-66d8bb25.js');
5
+ const index = require('./index-4daec419.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.27.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-input-tip.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.25.1",
7
+ "version": "4.27.2",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -1,21 +1,13 @@
1
- @tailwind utilities;
2
-
3
1
  /**
4
2
  * @prop --mds-input-tip-active-translate: Set the translate of the tip when it is active.
5
3
  */
6
4
 
7
5
  :host {
8
-
9
6
  --mds-input-tip-active-translate: translate(0, 0);
10
-
11
7
  left: 0.25rem;
12
-
13
8
  right: 0.25rem;
14
-
15
9
  gap: 0.25rem;
16
-
17
10
  transition-duration: 300ms;
18
-
19
11
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
20
12
 
21
13
  display: flex;
@@ -39,37 +31,30 @@
39
31
  }
40
32
 
41
33
  :host([position="top"][active]:not([active="false"])) {
42
-
43
34
  --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));
44
35
  }
45
36
 
46
- :host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {
37
+ :host([position="top"][active]:not([active="false"])) ::slotted( mds-input-tip-item) {
47
38
  border-top-left-radius: 0;
48
39
  border-top-right-radius: 0;
49
40
  }
50
41
 
51
42
  :host([position="bottom"][active]:not([active="false"])) {
52
-
53
43
  --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);
54
44
  }
55
45
 
56
- :host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item ) {
46
+ :host([position="bottom"][active]:not([active="false"])) ::slotted( mds-input-tip-item) {
57
47
  border-bottom-left-radius: 0;
58
48
  border-bottom-right-radius: 0;
59
49
  }
60
50
 
61
- @container style(--magma-pref-animation: reduce) {
62
- :host {
63
- transition-duration: 0s;
64
- }
51
+ :host-context(.pref-animation-reduce) {
52
+ transition-duration: 0s;
65
53
  }
66
54
 
67
- @container style(--magma-pref-animation: system) {
68
-
69
- @media (prefers-reduced-motion) {
70
- :host {
71
- transition-duration: 0s;
72
- }
55
+ @media (prefers-reduced-motion) {
56
+ :host-context(.pref-animation-system) {
57
+ transition-duration: 0s;
73
58
  }
74
59
  }
75
60
 
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const mdsInputTipCss = "@tailwind utilities;\n\n/**\n * @prop --mds-input-tip-active-translate: Set the translate of the tip when it is active.\n */\n\n:host {\n\n --mds-input-tip-active-translate: translate(0, 0);\n\n left: 0.25rem;\n\n right: 0.25rem;\n\n gap: 0.25rem;\n\n -webkit-transition-duration: 300ms;\n\n transition-duration: 300ms;\n\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-pack: end;\n justify-content: flex-end;\n pointer-events: none;\n position: absolute;\n -webkit-transform: var(--mds-input-tip-active-translate);\n transform: var(--mds-input-tip-active-translate);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host(:empty) {\n display: none;\n}\n\n:host([position=\"top\"]) {\n top: 0.25rem;\n}\n\n:host([position=\"bottom\"]) {\n bottom: 0.25rem;\n}\n\n:host([position=\"top\"][active]:not([active=\"false\"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), calc(0.25rem * -1));\n}\n\n:host([position=\"top\"][active]:not([active=\"false\"])) ::slotted( mds-input-tip-item ) {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n:host([position=\"bottom\"][active]:not([active=\"false\"])) {\n\n --mds-input-tip-active-translate: translate(calc(0.25rem * -1), 0.25rem);\n}\n\n:host([position=\"bottom\"][active]:not([active=\"false\"])) ::slotted( mds-input-tip-item ) {\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
3
+ const mdsInputTipCss = ":host{--mds-input-tip-active-translate:translate(0, 0);left:0.25rem;right:0.25rem;gap:0.25rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;pointer-events:none;position:absolute;-webkit-transform:var(--mds-input-tip-active-translate);transform:var(--mds-input-tip-active-translate);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform}:host(:empty){display:none}:host([position=\"top\"]){top:0.25rem}:host([position=\"bottom\"]){bottom:0.25rem}:host([position=\"top\"][active]:not([active=\"false\"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), calc(0.25rem * -1))}:host([position=\"top\"][active]:not([active=\"false\"])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position=\"bottom\"][active]:not([active=\"false\"])){--mds-input-tip-active-translate:translate(calc(0.25rem * -1), 0.25rem)}:host([position=\"bottom\"][active]:not([active=\"false\"])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius:0}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
4
4
  const MdsInputTipStyle0 = mdsInputTipCss;
5
5
 
6
6
  const MdsInputTip$1 = /*@__PURE__*/ proxyCustomElement(class MdsInputTip extends HTMLElement {
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2025-02-25T14:48:59",
2
+ "timestamp": "2025-03-05T17:39:52",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.25.1",
5
+ "version": "4.27.2",
6
6
  "typescriptVersion": "5.5.4"
7
7
  },
8
8
  "components": [