@multiplatform.one/components 10.3.1 → 10.5.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/components",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.5.0",
|
|
4
4
|
"description": "multiplatform.one ui components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@floating-ui/react": "^0.27.20",
|
|
72
|
-
"@multiplatform.one/forms": "^10.
|
|
73
|
-
"@multiplatform.one/platform": "^10.
|
|
74
|
-
"@multiplatform.one/theme": "^10.
|
|
72
|
+
"@multiplatform.one/forms": "^10.5.0",
|
|
73
|
+
"@multiplatform.one/platform": "^10.5.0",
|
|
74
|
+
"@multiplatform.one/theme": "^10.5.0",
|
|
75
75
|
"@phosphor-icons/react": "^2.1.10",
|
|
76
76
|
"@shopify/flash-list": "^2.3.1",
|
|
77
77
|
"@tamagui/colors": "3.2.3",
|
|
@@ -97,9 +97,9 @@
|
|
|
97
97
|
"tamagui": "3.2.3"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@multiplatform.one/config": "10.
|
|
101
|
-
"@multiplatform.one/storybook": "10.
|
|
102
|
-
"@multiplatform.one/test-utils": "10.
|
|
100
|
+
"@multiplatform.one/config": "10.5.0",
|
|
101
|
+
"@multiplatform.one/storybook": "10.5.0",
|
|
102
|
+
"@multiplatform.one/test-utils": "10.5.0",
|
|
103
103
|
"@tamagui/build": "3.2.3",
|
|
104
104
|
"@testing-library/jest-dom": "^7.0.1",
|
|
105
105
|
"@testing-library/react": "^16.3.3",
|
package/src/Toast/Toast.spec.tsx
CHANGED
|
@@ -101,7 +101,7 @@ describe("Toast (standalone)", () => {
|
|
|
101
101
|
* so only a read of the attribute itself can tell the explicit one went
|
|
102
102
|
* missing — and these controls are selected by `[role="button"]` elsewhere.
|
|
103
103
|
*/
|
|
104
|
-
it("gives the action and close controls an explicit button role
|
|
104
|
+
it("gives the action and close controls an explicit button role on a native button", () => {
|
|
105
105
|
renderWithProviders(
|
|
106
106
|
<Toast
|
|
107
107
|
title="Saved"
|
package/src/checkedRow.spec.tsx
CHANGED
|
@@ -76,6 +76,12 @@ describe("a checked menu or picker row is highlighted under its check (LC-262, F
|
|
|
76
76
|
expect(
|
|
77
77
|
cssVariableName(atomicStyle(unchecked, { condition: ":hover" }).backgroundColor),
|
|
78
78
|
).toBe("color-3");
|
|
79
|
+
// And under keyboard focus, which is a separate declaration from the
|
|
80
|
+
// hover one. Reading it only in light would pass on the hover fill,
|
|
81
|
+
// since light's checked fill is $color-3 and dark's is $color-6.
|
|
82
|
+
expect(cssVariableName(atomicStyle(checked, { condition: ":focus" }).backgroundColor)).toBe(
|
|
83
|
+
checkedFill[scheme],
|
|
84
|
+
);
|
|
79
85
|
await waitFor(() => {
|
|
80
86
|
expect(document.activeElement?.getAttribute("role")).not.toBe("menuitemcheckbox");
|
|
81
87
|
});
|