@xsolla/xui-multi-select 0.209.0 → 0.210.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.
- package/native/index.js +6 -0
- package/native/index.js.map +1 -1
- package/native/index.mjs +6 -0
- package/native/index.mjs.map +1 -1
- package/package.json +6 -6
- package/web/index.js +12 -0
- package/web/index.js.map +1 -1
- package/web/index.mjs +12 -0
- package/web/index.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-multi-select",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.210.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-checkbox": "0.
|
|
14
|
-
"@xsolla/xui-core": "0.
|
|
15
|
-
"@xsolla/xui-dropdown": "0.
|
|
16
|
-
"@xsolla/xui-icons-base": "0.
|
|
17
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-checkbox": "0.210.0",
|
|
14
|
+
"@xsolla/xui-core": "0.210.0",
|
|
15
|
+
"@xsolla/xui-dropdown": "0.210.0",
|
|
16
|
+
"@xsolla/xui-icons-base": "0.210.0",
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.210.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": ">=16.8.0",
|
package/web/index.js
CHANGED
|
@@ -199,12 +199,18 @@ var StyledBox = (0, import_styled_components.default)(FilteredDiv)`
|
|
|
199
199
|
opacity: ${(props) => props.opacity != null ? props.opacity : props.disabled ? 0.5 : 1};
|
|
200
200
|
pointer-events: ${(props) => props.disabled ? "none" : "auto"};
|
|
201
201
|
|
|
202
|
+
/* \`background\` is emitted before \`background-color\` so a caller passing
|
|
203
|
+
both still gets backgroundColor as the winner. Use the shorthand for a
|
|
204
|
+
layered fill (e.g. an overlay tint over a resting surface colour), which
|
|
205
|
+
a single background-color cannot express. */
|
|
202
206
|
&:hover {
|
|
207
|
+
${(props) => props.hoverStyle?.background && `background: ${props.hoverStyle.background};`}
|
|
203
208
|
${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
|
|
204
209
|
${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
|
|
205
210
|
}
|
|
206
211
|
|
|
207
212
|
&:active {
|
|
213
|
+
${(props) => props.pressStyle?.background && `background: ${props.pressStyle.background};`}
|
|
208
214
|
${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
|
|
209
215
|
}
|
|
210
216
|
`;
|
|
@@ -744,12 +750,18 @@ var StyledBox2 = (0, import_styled_components5.default)(FilteredDiv4)`
|
|
|
744
750
|
opacity: ${(props) => props.opacity != null ? props.opacity : props.disabled ? 0.5 : 1};
|
|
745
751
|
pointer-events: ${(props) => props.disabled ? "none" : "auto"};
|
|
746
752
|
|
|
753
|
+
/* \`background\` is emitted before \`background-color\` so a caller passing
|
|
754
|
+
both still gets backgroundColor as the winner. Use the shorthand for a
|
|
755
|
+
layered fill (e.g. an overlay tint over a resting surface colour), which
|
|
756
|
+
a single background-color cannot express. */
|
|
747
757
|
&:hover {
|
|
758
|
+
${(props) => props.hoverStyle?.background && `background: ${props.hoverStyle.background};`}
|
|
748
759
|
${(props) => props.hoverStyle?.backgroundColor && `background-color: ${props.hoverStyle.backgroundColor};`}
|
|
749
760
|
${(props) => props.hoverStyle?.borderColor && `border-color: ${props.hoverStyle.borderColor};`}
|
|
750
761
|
}
|
|
751
762
|
|
|
752
763
|
&:active {
|
|
764
|
+
${(props) => props.pressStyle?.background && `background: ${props.pressStyle.background};`}
|
|
753
765
|
${(props) => props.pressStyle?.backgroundColor && `background-color: ${props.pressStyle.backgroundColor};`}
|
|
754
766
|
}
|
|
755
767
|
`;
|