@momentum-design/components 0.141.1 → 0.141.2

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.
@@ -6306,9 +6306,11 @@
6306
6306
  ${this.renderHelperText()}
6307
6307
  `}};vr.styles=[...ee.styles,...eE],h([u({type:String})],vr.prototype,"placeholder",2),h([u({type:String,reflect:!0})],vr.prototype,"placement",2),h([u({type:String,reflect:!0,attribute:"boundary"})],vr.prototype,"boundary",2),h([u({type:String,reflect:!0,attribute:"strategy"})],vr.prototype,"strategy",2),h([u({type:Number,reflect:!0,attribute:"popover-z-index"})],vr.prototype,"popoverZIndex",2),h([u({type:Boolean,reflect:!0,attribute:"disable-flip"})],vr.prototype,"disableFlip",2),h([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],vr.prototype,"backdropAppendTo",2),h([Ht(`[id="${Lc}"]`)],vr.prototype,"visualCombobox",2),h([lt()],vr.prototype,"selectedOption",2),h([lt()],vr.prototype,"displayPopover",2);var Lm=vr;Lm.register(Qy);var EI=Lm;var Mm=class extends Q{connectedCallback(){super.connectedCallback(),this.role=et.LISTBOX}createRenderRoot(){return this}},Om=Mm;var Mc=$.constructTagName("selectlistbox");Om.register(Mc);var TI=Om;Ss.register(Lo);var xI=Ss;var rE=$.constructTagName("skeleton"),iE={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Rm={MOTION:!1,VARIANT:iE.RECTANGULAR};var AI=z`
6308
6308
  :host {
6309
+ --mdc-skeleton-animation-delay: 0s;
6309
6310
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
6310
6311
  --mdc-skeleton-height: 100%;
6311
6312
  --mdc-skeleton-width: 100%;
6313
+ position: relative;
6312
6314
  display: block;
6313
6315
  overflow: hidden;
6314
6316
  background-color: var(--mdc-skeleton-background-color);
@@ -6316,32 +6318,38 @@
6316
6318
  width: var(--mdc-skeleton-width);
6317
6319
  }
6318
6320
 
6319
- :host([motion]) {
6321
+ :host([motion])::before {
6322
+ content: '';
6323
+ position: absolute;
6324
+ top: 0;
6325
+ left: 0;
6326
+ width: 200%;
6327
+ height: 100%;
6328
+ pointer-events: none;
6320
6329
  background-image: linear-gradient(
6321
6330
  90deg,
6322
6331
  var(--mds-color-theme-background-skeleton-shimmer-0) 0%,
6323
6332
  var(--mds-color-theme-background-skeleton-shimmer-1) 50%,
6324
6333
  var(--mds-color-theme-background-skeleton-shimmer-2) 100%
6325
6334
  );
6326
- background-repeat: no-repeat;
6327
- background-size: 200% 100%;
6328
6335
  animation: skeleton-shimmer 2s linear infinite;
6336
+ animation-delay: var(--mdc-skeleton-animation-delay);
6329
6337
  }
6330
6338
 
6331
6339
  @media (prefers-reduced-motion: reduce) {
6332
- :host([motion]) {
6340
+ :host([motion])::before {
6333
6341
  animation: none;
6334
- background-position: 50% 0;
6342
+ transform: translateX(-25%);
6335
6343
  }
6336
6344
  }
6337
6345
 
6338
6346
  @keyframes skeleton-shimmer {
6339
6347
  0% {
6340
- background-position: 200% 0;
6348
+ transform: translateX(-100%);
6341
6349
  }
6342
6350
 
6343
6351
  100% {
6344
- background-position: -200% 0;
6352
+ transform: translateX(100%);
6345
6353
  }
6346
6354
  }
6347
6355