Comments (8)
Yeah, I noticed that the polyfill created breaking changes between 0.2.x and 0.3.x, which is a tad frustrating, as it prevents you from easily providing a 0.5.3 update.
For now, for my project, I've gone to using something else that isn't quite as nice.
from kahi-ui.
Some additional information...
It's complaining that the variable 'time' doesn't exist. Ignoring the existential, it's clearly defined around line 8474, but I wonder if there's some update to JavaScript that doesn't like the syntax you're using there.
from kahi-ui.
Oh no, it's much worse than I thought...
All of your widgets for handling dates and times are impacted by this, likely because you're using that same function everywhere.
from kahi-ui.
Ah, it's the temporal polyfill that has the bug and you've inherited it. Gads. This is going to impact a lot of libraries.
from kahi-ui.
I'll submit a bug-fix to your dependency. Sorry for the trouble, but at least you're now aware of it, heh.
from kahi-ui.
Ah, no maybe you need an update:
js-temporal/temporal-polyfill#92
from kahi-ui.
Thanks for the report!
I actually ran into this issue while working on the upcoming stylesheet rework. And tested the newer 0.3.0
polyfill release and seemed to fix it in Chrome. But a new issue came up with calendar handling with non-ISO-8601 (or maybe just Gregorian) calendars in FF 96+.
RangeError: Era a (ISO year 2022) was not matched by any era
completeEraYear calendar.js:1477
adjustCalendarDate calendar.js:1506
isoToCalendarDate calendar.js:593
temporalToCalendarDate calendar.js:836
dateAdd calendar.js:1922
dateAdd calendar.js:102
CalendarDateAdd ecmascript.js:1402
add plaindate.js:126
instance DayPicker.stories.svelte:27
init index.mjs:1778
DayPicker_stories DayPicker.stories.svelte:2698
createProxiedComponent svelte-hooks.js:245
ProxyComponent proxy.js:239
Proxy<DayPicker.stories> proxy.js:339
create_fragment RegisterContext.svelte:34
init index.mjs:1793
RegisterContext RegisterContext.svelte:142
createProxiedComponent svelte-hooks.js:245
ProxyComponent proxy.js:239
Proxy<RegisterContext> proxy.js:339
default collect-stories.js:49
<anonymous> DayPicker.stories.svelte:2714
A workaround seemed to be explicitly only use the ISO-8601 calendar, but then the components wouldn't automatically inherit the user's defaults. So I'm going to have to look into it a bit more.
from kahi-ui.
Fixed in v0.6.0
.
from kahi-ui.
Related Issues (20)
- Is it possible to add the sveltekit specific attribute to an "a" button ? HOT 2
- Invalid prop "variation" for Menu.Buton component HOT 2
- Darkmode store works (and stop working) unexpectedly HOT 2
- No shape/radius in Tile.Figure HOT 2
- Nesting Stacks
- DataSelect indicator doesn't go away as expected on deselect
- BrowserRender in Deno
- Docs: Snippet Menu Improvement
- How to make data select required for form
- TextInput 'resizable' attribute type mismatch between 'boolean' and '"x" | "y"'
- <Stack orientation="horizontal"> does not work HOT 2
- Bug: Popover HOT 4
- Webhook test HOT 1
- Docs: Community/ Contributor information HOT 1
- How to add Kahi-ui to a blank svelte template page HOT 4
- Interactive styling + Event modifiers HOT 1
- File upload HOT 6
- [REQUEST] Datatable component HOT 5
- [1.0] Theming — Viewports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kahi-ui.