Commit f5b3b11
committed
fix(website): register CLDR loaders with absolute URLs in playground
The playground-elements service worker sandbox causes unreliable
import.meta.url resolution for fetch()-based CLDR loaders (Assets-fetch.js).
This intermittently breaks date components for users with regional
locales (en-GB, en-AU, de-AT, etc.).
Register CLDR locale data loaders in playground-support.js with absolute
URLs constructed from the known site base URL. This is the same pattern
already used for theme property loaders. Remove Assets-fetch.js imports
from date/calendar/time samples since CLDR is now handled centrally.1 parent f1e3836 commit f5b3b11
File tree
36 files changed
+13
-38
lines changed- packages/website
- docs/_samples/main
- CalendarLegend/Basic
- Calendar
- Basic
- Bounds
- CalendarInDifferentTimezone
- CalendarTypes
- CalendarWeekNumbering
- CalendarWithDisabledDates
- CalendarWithLegend
- SelectionModes
- DatePicker
- Basic
- CalendarTypes
- CalendarWeekNumbering
- ClearIcon
- CustomFormatting
- DatePickerInDifferentTimezone
- MinMax
- State
- DateRangePicker
- Basic
- ClearIcon
- CustomFormatting
- DateFormat
- MinMax
- DateTimePicker
- Basic
- ClearIcon
- CustomFormatting
- DateTimePickerInDifferentTimezone
- FormatPattern
- MinMax
- DynamicDateRange
- Basic
- DynamicDateRangeValueSample
- TimePicker
- Basic
- CustomFormatting
- States
- TimePickerInDifferentTimezone
- src/components/Editor
36 files changed
+13
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
0 commit comments