You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
silverwind 0d3ec8e2ad
Use `Temporal.PlainDate` for absolute dates (#29804)
Use the upcoming
[Temporal.PlainDate](https://tc39.es/proposal-temporal/docs/plaindate.html)
via polyfill. If there is any remaining bugs in `<absolute-date>` this
will iron them out. I opted for the lightweight polyfill because both
seem to achieve our goal of localizeable absolute dates.

- With
[`@js-temporal/polyfill`](https://www.npmjs.com/package/@js-temporal/polyfill)
chunk size goes from 81.4 KiB to 274 KiB
- With
[`temporal-polyfill`](https://www.npmjs.com/package/temporal-polyfill)
chunk size goes from 81.4 KiB to 142 KiB

Also see [this
table](https://github.com/fullcalendar/temporal-polyfill?tab=readme-ov-file#comparison-with-js-temporalpolyfill)
for more comparisons of these polyfills. Soon there will be
[treeshakable
API](https://github.com/fullcalendar/temporal-polyfill?tab=readme-ov-file#tree-shakable-api)
as well which will further reduce size.
11 months ago
..
components Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
features Fix Citation modal responsiveness and clipboard copy (#29799) 11 months ago
markup Use more specific selector for `name` links (#29679) 11 months ago
modules Add `<overflow-menu>`, rename webcomponents (#29400) 11 months ago
render Use vitest globals (#27102) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
utils Support pasting URLs over markdown text (#29566) 11 months ago
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 1 year ago
webcomponents Use `Temporal.PlainDate` for absolute dates (#29804) 11 months ago
bootstrap.js Suppress error from monaco-editor (#29684) 11 months ago
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 1 year ago
htmx.js Auto-update the system status in admin dashboard (#29163) 12 months ago
index.js Filter Repositories by type (#29231) 11 months ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Artifact deletion in actions ui (#27172) 12 months ago
svg.test.js Use vitest globals (#27102) 1 year ago
utils.js enforce maxlength in frontend (#29389) 11 months ago
utils.test.js Use vitest globals (#27102) 1 year ago
vitest.setup.js Move vitest setup file to root (#29097) 1 year ago