@momentum-design/components 0.121.5 → 0.121.6
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/browser/index.js +9 -5
- package/dist/browser/index.js.map +2 -2
- package/dist/components/input/input.styles.js +8 -4
- package/dist/components/password/password.component.js +2 -2
- package/dist/components/textarea/textarea.types.d.ts +11 -6
- package/dist/custom-elements.json +4 -2
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -3371,11 +3371,13 @@
|
|
|
3371
3371
|
:host,
|
|
3372
3372
|
:host::part(input-container),
|
|
3373
3373
|
:host::part(input-section),
|
|
3374
|
-
:host::part(input-text)
|
|
3374
|
+
:host::part(input-text),
|
|
3375
|
+
::slotted(input) {
|
|
3375
3376
|
width: 100%;
|
|
3376
3377
|
}
|
|
3377
3378
|
|
|
3378
|
-
:host::part(input-text)
|
|
3379
|
+
:host::part(input-text),
|
|
3380
|
+
::slotted(input) {
|
|
3379
3381
|
font-family: inherit;
|
|
3380
3382
|
}
|
|
3381
3383
|
|
|
@@ -3413,14 +3415,16 @@
|
|
|
3413
3415
|
gap: 0.25rem;
|
|
3414
3416
|
}
|
|
3415
3417
|
|
|
3416
|
-
:host::part(input-text)
|
|
3418
|
+
:host::part(input-text),
|
|
3419
|
+
::slotted(input) {
|
|
3417
3420
|
border: none;
|
|
3418
3421
|
color: var(--mdc-input-text-color);
|
|
3419
3422
|
background-color: inherit;
|
|
3420
3423
|
outline: none;
|
|
3421
3424
|
}
|
|
3422
3425
|
|
|
3423
|
-
:host::part(input-text)::selection
|
|
3426
|
+
:host::part(input-text)::selection,
|
|
3427
|
+
::slotted(input)::selection {
|
|
3424
3428
|
background-color: var(--mdc-input-selection-background-color);
|
|
3425
3429
|
color: var(--mdc-input-selection-text-color);
|
|
3426
3430
|
}
|
|
@@ -4633,7 +4637,7 @@
|
|
|
4633
4637
|
aria-label=${this.showPassword?this.hideButtonAriaLabel:this.showButtonAriaLabel}
|
|
4634
4638
|
prefix-icon=${this.showPassword?xh.HIDE_BOLD:xh.SHOW_BOLD}
|
|
4635
4639
|
></mdc-button>
|
|
4636
|
-
`:j}renderInputElement(t,i){let a=this.showPassword?Is.TEXT:Is.PASSWORD;return super.renderInputElement(a,i)}};Xi.styles=[...Sr.styles],p([u({type:String,attribute:"show-button-aria-label"})],Xi.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label"})],Xi.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Xi.prototype,"helpTextType",2),p([vt()],Xi.prototype,"showPassword",2);var Ah=Xi;Ah.register(Uv);var _x=Ah;Ve.register(Mf);Dl.register($l);var Ix=Ve;var id=z.constructTagName("progressbar"),od={DEFAULT:"default",INLINE:"inline"},Hv={VARIANT:od.DEFAULT,VALIDATION:Ft.DEFAULT};var Cx=[bt,B`
|
|
4640
|
+
`:j}renderInputElement(t,i){let a=this.showPassword?Is.TEXT:Is.PASSWORD;return super.renderInputElement(a,i)}};Xi.styles=[...Sr.styles],p([u({type:String,attribute:"show-button-aria-label",reflect:!0})],Xi.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label",reflect:!0})],Xi.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],Xi.prototype,"helpTextType",2),p([vt()],Xi.prototype,"showPassword",2);var Ah=Xi;Ah.register(Uv);var _x=Ah;Ve.register(Mf);Dl.register($l);var Ix=Ve;var id=z.constructTagName("progressbar"),od={DEFAULT:"default",INLINE:"inline"},Hv={VARIANT:od.DEFAULT,VALIDATION:Ft.DEFAULT};var Cx=[bt,B`
|
|
4637
4641
|
:host {
|
|
4638
4642
|
--mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
|
4639
4643
|
--mdc-progressbar-progress-background-color: var(--mds-color-theme-control-active-normal);
|