mediacube-ui 0.1.378 → 0.1.379
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.379](https://github.com/MediaCubeCo/mcui/compare/v0.1.378...v0.1.379) (2025-05-14)
|
|
6
|
+
|
|
5
7
|
### [0.1.378](https://github.com/MediaCubeCo/mcui/compare/v0.1.377...v0.1.378) (2025-05-08)
|
|
6
8
|
|
|
7
9
|
### [0.1.377](https://github.com/MediaCubeCo/mcui/compare/v0.1.376...v0.1.377) (2025-05-08)
|
package/package.json
CHANGED
|
@@ -816,17 +816,27 @@ export default {
|
|
|
816
816
|
display: flex;
|
|
817
817
|
justify-content: space-between;
|
|
818
818
|
align-items: center;
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
819
|
+
flex-direction: column;
|
|
820
|
+
row-gap: $space-150;
|
|
821
|
+
@media #{$media-query-m} {
|
|
822
|
+
flex-direction: row;
|
|
823
|
+
@include child-indent-right($space-200);
|
|
824
|
+
> * {
|
|
825
|
+
@include child-indent-right($space-300);
|
|
826
|
+
}
|
|
822
827
|
}
|
|
823
828
|
&-periods {
|
|
824
|
-
@include child-indent-right(0);
|
|
825
|
-
column-gap: $space-300;
|
|
826
829
|
row-gap: $space-100;
|
|
827
830
|
align-items: center;
|
|
828
831
|
display: flex;
|
|
829
832
|
flex-wrap: wrap;
|
|
833
|
+
width: 100%;
|
|
834
|
+
justify-content: space-between;
|
|
835
|
+
@media #{$media-query-m} {
|
|
836
|
+
width: auto;
|
|
837
|
+
column-gap: $space-300;
|
|
838
|
+
@include child-indent-right($space-zero);
|
|
839
|
+
}
|
|
830
840
|
}
|
|
831
841
|
.mc-button {
|
|
832
842
|
@include child-indent-right($space-zero);
|
|
@@ -496,7 +496,7 @@ export default {
|
|
|
496
496
|
|
|
497
497
|
inputAttrs() {
|
|
498
498
|
return {
|
|
499
|
-
class:
|
|
499
|
+
class: this.inputClasses,
|
|
500
500
|
style: this.inputStyles,
|
|
501
501
|
placeholder: this.placeholder,
|
|
502
502
|
value: this.computedValue,
|
|
@@ -507,6 +507,16 @@ export default {
|
|
|
507
507
|
tabindex: this.tabindex,
|
|
508
508
|
}
|
|
509
509
|
},
|
|
510
|
+
inputClasses() {
|
|
511
|
+
return {
|
|
512
|
+
'mc-field-text__input': true,
|
|
513
|
+
'mc-field-text__input--text-normalized': this.isPhoneType && this.isRtl,
|
|
514
|
+
}
|
|
515
|
+
},
|
|
516
|
+
|
|
517
|
+
isPhoneType() {
|
|
518
|
+
return this.type === 'phone_number'
|
|
519
|
+
},
|
|
510
520
|
|
|
511
521
|
isPasswordType() {
|
|
512
522
|
return this.prettyType === 'password'
|
|
@@ -892,6 +902,10 @@ export default {
|
|
|
892
902
|
@include input-placeholder() {
|
|
893
903
|
color: $color-gray;
|
|
894
904
|
}
|
|
905
|
+
&--text-normalized {
|
|
906
|
+
text-align: right;
|
|
907
|
+
unicode-bidi: plaintext;
|
|
908
|
+
}
|
|
895
909
|
}
|
|
896
910
|
|
|
897
911
|
&__footer {
|
package/src/styles/toast.scss
CHANGED
|
@@ -34,7 +34,10 @@
|
|
|
34
34
|
margin-inline-end: $space-50;
|
|
35
35
|
}
|
|
36
36
|
&:first-of-type {
|
|
37
|
-
margin-inline-start:
|
|
37
|
+
margin-inline-start: auto;
|
|
38
|
+
@media #{$media-query-s} {
|
|
39
|
+
margin-inline-start: $space-600;
|
|
40
|
+
}
|
|
38
41
|
}
|
|
39
42
|
&:last-child {
|
|
40
43
|
margin-inline-end: -$space-300; // TODO: refactor negative margin
|