@keenmate/web-multiselect 1.8.4 → 1.8.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/README.md +43 -0
- package/dist/index.d.ts +669 -0
- package/dist/multiselect.js +44 -44
- package/dist/multiselect.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +4 -3
- package/src/css/_base.css +1 -1
- package/src/css/_rtl.css +23 -0
- package/src/css/_variables.css +4 -0
package/src/css/_rtl.css
CHANGED
|
@@ -70,6 +70,18 @@
|
|
|
70
70
|
direction: rtl;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/* RTL: Fix margins for inline badge positions */
|
|
74
|
+
/* In RTL, visual left/right are swapped, so margins need to be on opposite sides */
|
|
75
|
+
.ms--rtl .ms__badges--right {
|
|
76
|
+
margin-left: 0;
|
|
77
|
+
margin-right: var(--ms-badges-margin-right);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ms--rtl .ms__badges--left {
|
|
81
|
+
margin-right: 0;
|
|
82
|
+
margin-left: var(--ms-badges-margin-left);
|
|
83
|
+
}
|
|
84
|
+
|
|
73
85
|
/* Badges flow right-to-left */
|
|
74
86
|
.ms--rtl .ms__badge {
|
|
75
87
|
flex-direction: row-reverse;
|
|
@@ -98,6 +110,17 @@
|
|
|
98
110
|
direction: rtl;
|
|
99
111
|
}
|
|
100
112
|
|
|
113
|
+
/* RTL: Fix margins for inline count-display positions */
|
|
114
|
+
.ms--rtl .ms__count-display--right {
|
|
115
|
+
margin-left: 0;
|
|
116
|
+
margin-right: var(--ms-count-display-margin-right);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ms--rtl .ms__count-display--left {
|
|
120
|
+
margin-right: 0;
|
|
121
|
+
margin-left: var(--ms-count-display-margin-left);
|
|
122
|
+
}
|
|
123
|
+
|
|
101
124
|
.ms--rtl .ms__counter-wrapper {
|
|
102
125
|
flex-direction: row-reverse;
|
|
103
126
|
}
|
package/src/css/_variables.css
CHANGED
|
@@ -407,6 +407,10 @@
|
|
|
407
407
|
--ms-badges-margin-left: calc(0.4 * var(--ms-rem));
|
|
408
408
|
--ms-badges-margin-right: calc(0.4 * var(--ms-rem));
|
|
409
409
|
|
|
410
|
+
/* Vertical alignment for inline (left/right) badge positioning */
|
|
411
|
+
/* Options: center (default), flex-start (top), flex-end (bottom) */
|
|
412
|
+
--ms-inline-align: center;
|
|
413
|
+
|
|
410
414
|
/* Individual Badge */
|
|
411
415
|
--ms-badge-gap: calc(0.8 * var(--ms-rem));
|
|
412
416
|
--ms-badge-height: calc(2.7 * var(--ms-rem));
|