admin-lte 4.0.0-beta2 → 4.0.0-beta3

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.
Files changed (57) hide show
  1. package/.astro/content-assets.mjs +1 -0
  2. package/.astro/content-modules.mjs +1 -0
  3. package/.astro/content.d.ts +166 -0
  4. package/.astro/data-store.json +1 -0
  5. package/.astro/settings.json +1 -1
  6. package/.astro/types.d.ts +2 -0
  7. package/.prettierrc +6 -0
  8. package/adminlte-v4.0.0-beta1-with-dist.zip +0 -0
  9. package/adminlte-v4.0.0-beta3.zip +0 -0
  10. package/dist/css/adminlte.css +8 -8
  11. package/dist/css/adminlte.css.map +1 -1
  12. package/dist/css/adminlte.min.css +2 -2
  13. package/dist/css/adminlte.min.css.map +1 -1
  14. package/dist/css/adminlte.rtl.css +8 -8
  15. package/dist/css/adminlte.rtl.css.map +1 -1
  16. package/dist/css/adminlte.rtl.min.css +2 -2
  17. package/dist/css/adminlte.rtl.min.css.map +1 -1
  18. package/dist/js/adminlte.js +1 -1
  19. package/dist/js/adminlte.js.map +1 -1
  20. package/dist/js/adminlte.min.js +1 -1
  21. package/dist/pages/UI/general.html +1886 -889
  22. package/dist/pages/UI/icons.html +816 -450
  23. package/dist/pages/UI/timeline.html +894 -496
  24. package/dist/pages/docs/browser-support.html +839 -440
  25. package/dist/pages/docs/color-mode.html +985 -545
  26. package/dist/pages/docs/components/main-header.html +1016 -541
  27. package/dist/pages/docs/components/main-sidebar.html +831 -437
  28. package/dist/pages/docs/faq.html +831 -438
  29. package/dist/pages/docs/how-to-contribute.html +904 -478
  30. package/dist/pages/docs/introduction.html +883 -457
  31. package/dist/pages/docs/javascript/treeview.html +837 -449
  32. package/dist/pages/docs/layout.html +835 -479
  33. package/dist/pages/docs/license.html +828 -440
  34. package/dist/pages/examples/lockscreen.html +129 -66
  35. package/dist/pages/examples/login-v2.html +157 -85
  36. package/dist/pages/examples/login.html +147 -80
  37. package/dist/pages/examples/register-v2.html +167 -88
  38. package/dist/pages/examples/register.html +152 -81
  39. package/dist/pages/forms/general.html +1223 -605
  40. package/dist/pages/generate/theme.html +713 -388
  41. package/dist/pages/index.html +1400 -799
  42. package/dist/pages/index2.html +1852 -1057
  43. package/dist/pages/index3.html +1183 -690
  44. package/dist/pages/layout/collapsed-sidebar.html +829 -446
  45. package/dist/pages/layout/fixed-sidebar.html +829 -446
  46. package/dist/pages/layout/layout-custom-area.html +859 -464
  47. package/dist/pages/layout/layout-rtl.html +829 -446
  48. package/dist/pages/layout/logo-switch.html +486 -233
  49. package/dist/pages/layout/sidebar-mini.html +829 -446
  50. package/dist/pages/layout/unfixed-sidebar.html +827 -445
  51. package/dist/pages/tables/simple.html +1079 -692
  52. package/dist/pages/widgets/cards.html +1034 -550
  53. package/dist/pages/widgets/info-box.html +1052 -577
  54. package/dist/pages/widgets/small-box.html +914 -480
  55. package/package.json +19 -18
  56. package/src/scss/_bootstrap-variables.scss +11 -9
  57. package/src/scss/adminlte.scss +1 -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.0-beta2",
4
+ "version": "4.0.0-beta3",
5
5
  "license": "MIT",
6
6
  "author": "Colorlib <https://colorlib.com>",
7
7
  "main": "dist/js/adminlte.min.js",
@@ -23,12 +23,13 @@
23
23
  "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
24
24
  "docs-compile": "astro --config src/config/astro.config.mjs build",
25
25
  "docs-lint": "astro --config src/config/astro.config.mjs check",
26
- "docs-format": "js-beautify --file \"dist/pages/**/*.html\"",
26
+ "docs-format": "prettier --write \"dist/pages/**/*.html\"",
27
27
  "docs-serve": "astro --config src/config/astro.config.mjs dev --open --port 3000",
28
28
  "assets": "node src/config/assets.config.mjs",
29
29
  "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
30
+ "clean": "rimraf dist",
30
31
  "compile": "npm-run-all docs-compile docs-format assets css js",
31
- "production": "npm-run-all lint compile",
32
+ "production": "npm-run-all clean lint compile",
32
33
  "watch": "concurrently \"npm:watch-*\"",
33
34
  "watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile\"",
34
35
  "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
@@ -57,17 +58,17 @@
57
58
  "url": "https://github.com/ColorlibHQ/AdminLTE/issues"
58
59
  },
59
60
  "devDependencies": {
60
- "@astrojs/check": "^0.9.3",
61
- "@astrojs/mdx": "^3.1.5",
62
- "@rollup/plugin-typescript": "^11.1.6",
61
+ "@astrojs/check": "^0.9.4",
62
+ "@astrojs/mdx": "^4.0.1",
63
+ "@rollup/plugin-typescript": "^12.1.1",
63
64
  "@typescript-eslint/eslint-plugin": "^7.5.0",
64
65
  "@typescript-eslint/parser": "^7.5.0",
65
- "astro": "^4.15.1",
66
+ "astro": "^5.0.3",
66
67
  "autoprefixer": "^10.4.20",
67
68
  "bootstrap": "^5.3.2",
68
69
  "bundlewatch": "^0.4.0",
69
70
  "clean-css-cli": "^5.6.3",
70
- "concurrently": "^8.2.2",
71
+ "concurrently": "^9.1.0",
71
72
  "cross-env": "^7.0.3",
72
73
  "eslint": "^8.55.0",
73
74
  "eslint-config-xo": "^0.44.0",
@@ -76,21 +77,21 @@
76
77
  "eslint-plugin-import": "^2.29.1",
77
78
  "eslint-plugin-unicorn": "^52.0.0",
78
79
  "fs-extra": "^11.1.1",
79
- "js-beautify": "^1.15.1",
80
80
  "lockfile-lint": "^4.14.0",
81
- "nodemon": "^3.1.2",
81
+ "nodemon": "^3.1.4",
82
82
  "npm-run-all": "^4.1.5",
83
- "postcss": "^8.4.41",
83
+ "postcss": "^8.4.43",
84
84
  "postcss-cli": "^11.0.0",
85
85
  "prettier": "^3.3.3",
86
86
  "prettier-plugin-astro": "^0.14.1",
87
- "rollup": "^4.21.0",
88
- "rtlcss": "^4.2.0",
89
- "sass": "^1.77.4",
90
- "stylelint": "^16.8.2",
91
- "stylelint-config-twbs-bootstrap": "^14.2.0",
87
+ "rimraf": "^6.0.1",
88
+ "rollup": "^4.28.1",
89
+ "rtlcss": "^4.3.0",
90
+ "sass": "^1.78.0",
91
+ "stylelint": "^16.11.0",
92
+ "stylelint-config-twbs-bootstrap": "^15.1.0",
92
93
  "terser": "^5.31.6",
93
- "tslib": "^2.7.0",
94
- "typescript": "^5.5.4"
94
+ "tslib": "^2.8.1",
95
+ "typescript": "^5.6.3"
95
96
  }
96
97
  }
@@ -71,8 +71,8 @@ $colors: (
71
71
  ) !default;
72
72
  // scss-docs-end colors-map
73
73
 
74
- // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
75
- // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
74
+ // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.2 are 3, 4.5 and 7.
75
+ // See https://www.w3.org/TR/WCAG/#contrast-minimum
76
76
  $min-contrast-ratio: 4.5 !default;
77
77
 
78
78
  // Customize the light and dark text colors for use in our color contrast function.
@@ -1101,7 +1101,7 @@ $form-feedback-valid-color: $success !default;
1101
1101
  $form-feedback-invalid-color: $danger !default;
1102
1102
 
1103
1103
  $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
1104
- $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
1104
+ $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/></svg>") !default;
1105
1105
  $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
1106
1106
  $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
1107
1107
  // scss-docs-end form-feedback-variables
@@ -1393,7 +1393,9 @@ $accordion-transition: $btn-transition, border-radius .15s ea
1393
1393
  $accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
1394
1394
  $accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
1395
1395
 
1396
- $accordion-button-focus-border-color: $input-focus-border-color !default;
1396
+ // fusv-disable
1397
+ $accordion-button-focus-border-color: $input-focus-border-color !default; // Deprecated in v5.3.3
1398
+ // fusv-enable
1397
1399
  $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1398
1400
 
1399
1401
  $accordion-icon-width: 1.25rem !default;
@@ -1402,8 +1404,8 @@ $accordion-icon-active-color: $primary-text-emphasis !default;
1402
1404
  $accordion-icon-transition: transform .2s ease-in-out !default;
1403
1405
  $accordion-icon-transform: rotate(-180deg) !default;
1404
1406
 
1405
- $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1406
- $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1407
+ $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-color}' stroke-linecap='round' stroke-linejoin='round'><path d='m2 5 6 6 6-6'/></svg>") !default;
1408
+ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-active-color}' stroke-linecap='round' stroke-linejoin='round'><path d='m2 5 6 6 6-6'/></svg>") !default;
1407
1409
  // scss-docs-end accordion-variables
1408
1410
 
1409
1411
  // Tooltips
@@ -1677,8 +1679,8 @@ $carousel-caption-spacer: 1.25rem !default;
1677
1679
 
1678
1680
  $carousel-control-icon-width: 2rem !default;
1679
1681
 
1680
- $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
1681
- $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
1682
+ $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/></svg>") !default;
1683
+ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/></svg>") !default;
1682
1684
 
1683
1685
  $carousel-transition-duration: .6s !default;
1684
1686
  $carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
@@ -1714,7 +1716,7 @@ $btn-close-height: $btn-close-width !default;
1714
1716
  $btn-close-padding-x: .25em !default;
1715
1717
  $btn-close-padding-y: $btn-close-padding-x !default;
1716
1718
  $btn-close-color: $black !default;
1717
- $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>") !default;
1719
+ $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/></svg>") !default;
1718
1720
  $btn-close-focus-shadow: $focus-ring-box-shadow !default;
1719
1721
  $btn-close-opacity: .5 !default;
1720
1722
  $btn-close-hover-opacity: .75 !default;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * AdminLTE v4.0.0-beta2
2
+ * AdminLTE v4.0.0-beta3
3
3
  * Author: Colorlib
4
4
  * Website: AdminLTE.io <https://adminlte.io>
5
5
  * License: Open source - MIT <https://opensource.org/licenses/MIT>