admin-lte 4.0.0 → 4.0.2
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/CHANGELOG.md +31 -0
- package/README.md +185 -111
- package/dist/UI/general.html +27 -3
- package/dist/UI/icons.html +27 -3
- package/dist/UI/timeline.html +27 -3
- package/dist/docs/browser-support.html +27 -3
- package/dist/docs/color-mode.html +27 -3
- package/dist/docs/components/main-header.html +27 -3
- package/dist/docs/components/main-sidebar.html +27 -3
- package/dist/docs/customization.html +27 -3
- package/dist/docs/deployment.html +27 -3
- package/dist/docs/faq.html +27 -3
- package/dist/docs/getting-started.html +27 -3
- package/dist/docs/how-to-contribute.html +27 -3
- package/dist/docs/integrations.html +27 -3
- package/dist/docs/introduction.html +27 -3
- package/dist/docs/javascript/accessibility.html +27 -3
- package/dist/docs/javascript/card-widget.html +27 -3
- package/dist/docs/javascript/direct-chat.html +27 -3
- package/dist/docs/javascript/fullscreen.html +27 -3
- package/dist/docs/javascript/layout.html +27 -3
- package/dist/docs/javascript/plugins-overview.html +27 -3
- package/dist/docs/javascript/pushmenu.html +27 -3
- package/dist/docs/javascript/treeview.html +27 -3
- package/dist/docs/layout-blueprint.html +27 -3
- package/dist/docs/layout.html +27 -3
- package/dist/docs/license.html +27 -3
- package/dist/docs/migration.html +27 -3
- package/dist/docs/recipes.html +27 -3
- package/dist/docs/rtl.html +27 -3
- package/dist/examples/lockscreen.html +26 -0
- package/dist/examples/login-v2.html +26 -0
- package/dist/examples/login.html +26 -0
- package/dist/examples/register-v2.html +26 -0
- package/dist/examples/register.html +26 -0
- package/dist/forms/elements.html +27 -3
- package/dist/forms/layout.html +27 -3
- package/dist/forms/validation.html +27 -3
- package/dist/forms/wizard.html +27 -3
- package/dist/generate/theme.html +26 -0
- package/dist/index.html +27 -3
- package/dist/index2.html +27 -3
- package/dist/index3.html +27 -3
- package/dist/js/adminlte.js +4 -1
- package/dist/js/adminlte.js.map +1 -1
- package/dist/js/adminlte.min.js +2 -2
- package/dist/js/adminlte.min.js.map +1 -1
- package/dist/layout/collapsed-sidebar-without-hover.html +27 -3
- package/dist/layout/collapsed-sidebar.html +27 -3
- package/dist/layout/fixed-complete.html +27 -3
- package/dist/layout/fixed-footer.html +27 -3
- package/dist/layout/fixed-header.html +27 -3
- package/dist/layout/fixed-sidebar.html +27 -3
- package/dist/layout/layout-custom-area.html +27 -3
- package/dist/layout/layout-rtl.html +27 -3
- package/dist/layout/logo-switch.html +26 -0
- package/dist/layout/sidebar-mini.html +27 -3
- package/dist/layout/unfixed-sidebar.html +27 -3
- package/dist/mailbox/compose.html +27 -3
- package/dist/mailbox/inbox.html +43 -11
- package/dist/mailbox/read.html +27 -3
- package/dist/pages/404.html +26 -0
- package/dist/pages/500.html +26 -0
- package/dist/pages/calendar.html +27 -3
- package/dist/pages/chat.html +27 -3
- package/dist/pages/faq.html +27 -3
- package/dist/pages/file-manager.html +27 -3
- package/dist/pages/invoice.html +27 -3
- package/dist/pages/kanban.html +27 -3
- package/dist/pages/maintenance.html +26 -0
- package/dist/pages/pricing.html +27 -3
- package/dist/pages/profile.html +27 -3
- package/dist/pages/projects.html +27 -3
- package/dist/pages/settings.html +27 -3
- package/dist/tables/data.html +27 -3
- package/dist/tables/simple.html +27 -3
- package/dist/widgets/cards.html +27 -3
- package/dist/widgets/info-box.html +27 -3
- package/dist/widgets/small-box.html +27 -3
- package/github-issue-response.md +40 -0
- package/package.json +14 -13
- package/src/ts/accessibility.ts +9 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "admin-lte",
|
|
3
3
|
"description": "Responsive open source admin dashboard and control panel.",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Colorlib <https://colorlib.com>",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"url": "https://github.com/ColorlibHQ/AdminLTE/issues"
|
|
64
64
|
},
|
|
65
65
|
"overrides": {
|
|
66
|
+
"axios": "0.32.0",
|
|
66
67
|
"stylelint-config-twbs-bootstrap": {
|
|
67
68
|
"stylelint": "$stylelint"
|
|
68
69
|
},
|
|
@@ -70,19 +71,19 @@
|
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@astrojs/check": "^0.9.9",
|
|
73
|
-
"@astrojs/mdx": "^
|
|
74
|
+
"@astrojs/mdx": "^6.0.2",
|
|
74
75
|
"@eslint/js": "^10.0.1",
|
|
75
76
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
77
|
-
"@typescript-eslint/parser": "^8.
|
|
78
|
-
"astro": "^6.
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^8.60.1",
|
|
78
|
+
"@typescript-eslint/parser": "^8.60.1",
|
|
79
|
+
"astro": "^6.4.4",
|
|
79
80
|
"autoprefixer": "^10.5.0",
|
|
80
81
|
"bootstrap": "^5.3.8",
|
|
81
82
|
"bundlewatch": "^0.4.2",
|
|
82
83
|
"clean-css-cli": "^5.6.3",
|
|
83
|
-
"concurrently": "^
|
|
84
|
+
"concurrently": "^10.0.3",
|
|
84
85
|
"cross-env": "^10.1.0",
|
|
85
|
-
"eslint": "^10.4.
|
|
86
|
+
"eslint": "^10.4.1",
|
|
86
87
|
"eslint-plugin-astro": "^1.7.0",
|
|
87
88
|
"eslint-plugin-unicorn": "^64.0.0",
|
|
88
89
|
"fs-extra": "^11.3.5",
|
|
@@ -90,20 +91,20 @@
|
|
|
90
91
|
"lockfile-lint": "^5.0.0",
|
|
91
92
|
"nodemon": "^3.1.14",
|
|
92
93
|
"npm-run-all": "^4.1.5",
|
|
93
|
-
"postcss": "^8.5.
|
|
94
|
+
"postcss": "^8.5.15",
|
|
94
95
|
"postcss-cli": "^11.0.1",
|
|
95
96
|
"prettier": "^3.8.3",
|
|
96
97
|
"prettier-plugin-astro": "^0.14.1",
|
|
97
98
|
"rimraf": "^6.1.3",
|
|
98
|
-
"rollup": "^4.
|
|
99
|
+
"rollup": "^4.61.1",
|
|
99
100
|
"rtlcss": "^4.3.0",
|
|
100
|
-
"sass": "^1.
|
|
101
|
+
"sass": "^1.100.0",
|
|
101
102
|
"shx": "^0.4.0",
|
|
102
|
-
"stylelint": "^17.
|
|
103
|
+
"stylelint": "^17.12.0",
|
|
103
104
|
"stylelint-config-twbs-bootstrap": "^16.1.0",
|
|
104
|
-
"terser": "^5.
|
|
105
|
+
"terser": "^5.48.0",
|
|
105
106
|
"tslib": "^2.8.1",
|
|
106
107
|
"typescript": "^6.0.3",
|
|
107
|
-
"typescript-eslint": "^8.
|
|
108
|
+
"typescript-eslint": "^8.60.1"
|
|
108
109
|
}
|
|
109
110
|
}
|
package/src/ts/accessibility.ts
CHANGED
|
@@ -474,8 +474,16 @@ export class AccessibilityManager {
|
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
// Add navigation landmarks
|
|
477
|
+
// Add navigation landmarks.
|
|
478
|
+
// Skip <ul>/<ol>: assigning role="navigation" to a list element strips its
|
|
479
|
+
// implicit list semantics, orphaning its <li> children for screen readers
|
|
480
|
+
// and failing Lighthouse's "list items not contained within list parent"
|
|
481
|
+
// audit (#6038). Lists that should be navigation landmarks belong inside a
|
|
482
|
+
// <nav> element, which already provides the landmark and accessible name.
|
|
478
483
|
document.querySelectorAll('.navbar-nav, .nav').forEach((nav, index) => {
|
|
484
|
+
if (nav.tagName === 'UL' || nav.tagName === 'OL') {
|
|
485
|
+
return
|
|
486
|
+
}
|
|
479
487
|
if (!nav.hasAttribute('role')) {
|
|
480
488
|
nav.setAttribute('role', 'navigation')
|
|
481
489
|
}
|