@astryxdesign/lab 0.7.6-canary.afcbd47 → 0.7.6-canary.b094f93
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": "@astryxdesign/lab",
|
|
3
|
-
"version": "0.7.6-canary.
|
|
3
|
+
"version": "0.7.6-canary.b094f93",
|
|
4
4
|
"description": "Experimental Astryx components — published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
|
|
5
5
|
"author": "Meta Open Source",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@stylexjs/stylex": ">=0.10.0",
|
|
52
|
-
"@astryxdesign/core": "0.7.6-canary.
|
|
52
|
+
"@astryxdesign/core": "0.7.6-canary.b094f93",
|
|
53
53
|
"react": ">=19.0.0",
|
|
54
54
|
"react-dom": ">=19.0.0"
|
|
55
55
|
},
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"d3-shape": "^3.2.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@astryxdesign/a11y-spec": "0.7.6-canary.
|
|
63
|
-
"@astryxdesign/cli": "0.7.6-canary.
|
|
62
|
+
"@astryxdesign/a11y-spec": "0.7.6-canary.b094f93",
|
|
63
|
+
"@astryxdesign/cli": "0.7.6-canary.b094f93",
|
|
64
64
|
"@babel/cli": "^7.29.7",
|
|
65
65
|
"@babel/core": "^7.29.7",
|
|
66
66
|
"@babel/preset-react": "^7.29.7",
|
|
@@ -33,6 +33,18 @@ const STORIES = [
|
|
|
33
33
|
const RTL_LOCALE = 'lab-schedule--right-to-left-locale';
|
|
34
34
|
|
|
35
35
|
let evidence: Evidence;
|
|
36
|
+
|
|
37
|
+
// The stories build their events from the browser's clock, at fixed hours of
|
|
38
|
+
// the browser's own day and week, and the Schedule shows them in
|
|
39
|
+
// America/Los_Angeles in a 7–19 grid. Run the browser in that zone, so every
|
|
40
|
+
// event lands at its hour in the week the Schedule shows, and pin the clock to
|
|
41
|
+
// the week US daylight saving time ends, so this contract also covers that
|
|
42
|
+
// week, whatever day it runs.
|
|
43
|
+
test.use({timezoneId: 'America/Los_Angeles'});
|
|
44
|
+
const PINNED_NOW = new Date('2026-11-01T10:00:00-08:00');
|
|
45
|
+
test.beforeEach(async ({page}) => {
|
|
46
|
+
await page.clock.install({time: PINNED_NOW});
|
|
47
|
+
});
|
|
36
48
|
test.beforeAll(async () => {
|
|
37
49
|
evidence = await startEvidence();
|
|
38
50
|
});
|