mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 01:34:25 +00:00
ab344a36e3
Backport #30732 by @silverwind Fixes https://github.com/go-gitea/gitea/issues/30721 and overhauls the stopwatch. Time is now shown inside the "dot" icon and on both mobile and desktop. All rendering is now done by `<relative-time>`, the `pretty-ms` dependency is dropped. Desktop: <img width="557" alt="Screenshot 2024-04-29 at 22 33 27" src="https://github.com/go-gitea/gitea/assets/115237/3a46cdbf-6af2-4bf9-b07f-021348badaac"> Mobile: <img width="640" alt="Screenshot 2024-04-29 at 22 34 19" src="https://github.com/go-gitea/gitea/assets/115237/8a2beea7-bd5d-473f-8fff-66f63fd50877"> Note for tippy: Previously, tippy instances defaulted to "menu" theme, but that theme is really only meant for `.ui.menu`, so it was not optimal for the stopwatch popover. This introduces a unopinionated `default` theme that has no padding and should be suitable for all content. I reviewed all existing uses and explicitely set the desired `theme` on all of them. Co-authored-by: silverwind <me@silverwind.io>
102 lines
3.1 KiB
JSON
102 lines
3.1 KiB
JSON
{
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@citation-js/core": "0.7.11",
|
|
"@citation-js/plugin-bibtex": "0.7.11",
|
|
"@citation-js/plugin-csl": "0.7.11",
|
|
"@citation-js/plugin-software-formats": "0.6.1",
|
|
"@github/markdown-toolbar-element": "2.2.3",
|
|
"@github/relative-time-element": "4.4.0",
|
|
"@github/text-expander-element": "2.6.1",
|
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
|
"@primer/octicons": "19.9.0",
|
|
"add-asset-webpack-plugin": "2.0.1",
|
|
"ansi_up": "6.0.2",
|
|
"asciinema-player": "3.7.1",
|
|
"chart.js": "4.4.2",
|
|
"chartjs-adapter-dayjs-4": "1.0.4",
|
|
"chartjs-plugin-zoom": "2.0.1",
|
|
"clippie": "4.0.7",
|
|
"css-loader": "7.1.1",
|
|
"dayjs": "1.11.10",
|
|
"dropzone": "6.0.0-beta.2",
|
|
"easymde": "2.18.0",
|
|
"esbuild-loader": "4.1.0",
|
|
"escape-goat": "4.0.0",
|
|
"fast-glob": "3.3.2",
|
|
"htmx.org": "1.9.12",
|
|
"idiomorph": "0.3.0",
|
|
"jquery": "3.7.1",
|
|
"katex": "0.16.10",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "10.9.0",
|
|
"mini-css-extract-plugin": "2.9.0",
|
|
"minimatch": "9.0.4",
|
|
"monaco-editor": "0.48.0",
|
|
"monaco-editor-webpack-plugin": "7.1.0",
|
|
"pdfobject": "2.3.0",
|
|
"postcss": "8.4.38",
|
|
"postcss-loader": "8.1.1",
|
|
"postcss-nesting": "12.1.2",
|
|
"sortablejs": "1.15.2",
|
|
"swagger-ui-dist": "5.17.2",
|
|
"tailwindcss": "3.4.3",
|
|
"temporal-polyfill": "0.2.4",
|
|
"throttle-debounce": "5.0.0",
|
|
"tinycolor2": "1.6.0",
|
|
"tippy.js": "6.3.7",
|
|
"toastify-js": "1.12.0",
|
|
"tributejs": "5.1.3",
|
|
"uint8-to-base64": "0.2.0",
|
|
"vanilla-colorful": "0.7.2",
|
|
"vue": "3.4.25",
|
|
"vue-bar-graph": "2.0.0",
|
|
"vue-chartjs": "5.3.1",
|
|
"vue-loader": "17.4.2",
|
|
"vue3-calendar-heatmap": "2.0.5",
|
|
"webpack": "5.91.0",
|
|
"webpack-cli": "5.1.4",
|
|
"wrap-ansi": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.3.0",
|
|
"@playwright/test": "1.43.1",
|
|
"@stoplight/spectral-cli": "6.11.1",
|
|
"@stylistic/eslint-plugin-js": "1.7.2",
|
|
"@stylistic/stylelint-plugin": "2.1.1",
|
|
"@vitejs/plugin-vue": "5.0.4",
|
|
"eslint": "8.57.0",
|
|
"eslint-plugin-array-func": "4.0.0",
|
|
"eslint-plugin-github": "4.10.2",
|
|
"eslint-plugin-i": "2.29.1",
|
|
"eslint-plugin-jquery": "1.5.1",
|
|
"eslint-plugin-no-jquery": "2.7.0",
|
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
"eslint-plugin-regexp": "2.5.0",
|
|
"eslint-plugin-sonarjs": "0.25.1",
|
|
"eslint-plugin-unicorn": "52.0.0",
|
|
"eslint-plugin-vitest": "0.4.1",
|
|
"eslint-plugin-vitest-globals": "1.5.0",
|
|
"eslint-plugin-vue": "9.25.0",
|
|
"eslint-plugin-vue-scoped-css": "2.8.0",
|
|
"eslint-plugin-wc": "2.1.0",
|
|
"happy-dom": "14.7.1",
|
|
"markdownlint-cli": "0.39.0",
|
|
"postcss-html": "1.6.0",
|
|
"stylelint": "16.4.0",
|
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
"stylelint-declaration-strict-value": "1.10.4",
|
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
"svgo": "3.2.0",
|
|
"updates": "16.0.1",
|
|
"vite-string-plugin": "1.2.0",
|
|
"vitest": "1.5.2"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
]
|
|
}
|