admin-lte 4.0.0-beta1 → 4.0.0-beta2

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 (151) hide show
  1. package/.astro/settings.json +5 -0
  2. package/dist/css/adminlte.css +48 -120
  3. package/dist/css/adminlte.css.map +1 -1
  4. package/dist/css/adminlte.min.css +2 -2
  5. package/dist/css/adminlte.min.css.map +1 -1
  6. package/dist/css/adminlte.rtl.css +48 -120
  7. package/dist/css/adminlte.rtl.css.map +1 -1
  8. package/dist/css/adminlte.rtl.min.css +2 -2
  9. package/dist/css/adminlte.rtl.min.css.map +1 -1
  10. package/dist/js/adminlte.js +2 -2
  11. package/dist/js/adminlte.js.map +1 -1
  12. package/dist/js/adminlte.min.js +2 -2
  13. package/dist/js/adminlte.min.js.map +1 -1
  14. package/dist/pages/UI/general.html +8 -2
  15. package/dist/pages/UI/icons.html +452 -0
  16. package/dist/pages/UI/timeline.html +8 -2
  17. package/dist/pages/docs/browser-support.html +8 -2
  18. package/dist/pages/docs/color-mode.html +8 -2
  19. package/dist/pages/docs/components/main-header.html +8 -2
  20. package/dist/pages/docs/components/main-sidebar.html +8 -2
  21. package/dist/pages/docs/faq.html +8 -2
  22. package/dist/pages/docs/how-to-contribute.html +8 -2
  23. package/dist/pages/docs/introduction.html +13 -7
  24. package/dist/pages/docs/javascript/treeview.html +8 -2
  25. package/dist/pages/docs/layout.html +8 -2
  26. package/dist/pages/docs/license.html +8 -2
  27. package/dist/pages/forms/general.html +8 -2
  28. package/dist/pages/generate/theme.html +412 -0
  29. package/dist/pages/index.html +8 -2
  30. package/dist/pages/index2.html +8 -2
  31. package/dist/pages/index3.html +8 -2
  32. package/dist/pages/layout/collapsed-sidebar.html +8 -2
  33. package/dist/pages/layout/fixed-sidebar.html +8 -2
  34. package/dist/pages/layout/layout-custom-area.html +467 -0
  35. package/dist/pages/layout/layout-rtl.html +8 -2
  36. package/dist/pages/layout/sidebar-mini.html +8 -2
  37. package/dist/pages/layout/unfixed-sidebar.html +8 -2
  38. package/dist/pages/tables/simple.html +8 -2
  39. package/dist/pages/widgets/cards.html +8 -2
  40. package/dist/pages/widgets/info-box.html +8 -2
  41. package/dist/pages/widgets/small-box.html +8 -2
  42. package/package.json +19 -19
  43. package/src/scss/_app-content.scss +0 -49
  44. package/src/scss/_app-main.scss +21 -1
  45. package/src/scss/_app-sidebar.scss +1 -6
  46. package/src/scss/_compact-mode.scss +0 -26
  47. package/src/scss/_variables.scss +19 -7
  48. package/src/scss/adminlte.scss +1 -1
  49. package/src/ts/push-menu.ts +1 -1
  50. package/.bundlewatch.config.json +0 -28
  51. package/.cache/.eslintcache +0 -1
  52. package/.cache/.stylelintcache +0 -1
  53. package/.editorconfig +0 -14
  54. package/.eslintignore +0 -7
  55. package/.eslintrc.json +0 -120
  56. package/.gitattributes +0 -6
  57. package/.gitpod.yml +0 -6
  58. package/.stylelintignore +0 -8
  59. package/.stylelintrc.json +0 -47
  60. package/composer.json +0 -25
  61. package/dist/pages/layout/fixed-complete.html +0 -541
  62. package/src/assets/img/AdminLTEFullLogo.png +0 -0
  63. package/src/assets/img/AdminLTELogo.png +0 -0
  64. package/src/assets/img/avatar.png +0 -0
  65. package/src/assets/img/avatar2.png +0 -0
  66. package/src/assets/img/avatar3.png +0 -0
  67. package/src/assets/img/avatar4.png +0 -0
  68. package/src/assets/img/avatar5.png +0 -0
  69. package/src/assets/img/boxed-bg.jpg +0 -0
  70. package/src/assets/img/boxed-bg.png +0 -0
  71. package/src/assets/img/credit/american-express.png +0 -0
  72. package/src/assets/img/credit/cirrus.png +0 -0
  73. package/src/assets/img/credit/mastercard.png +0 -0
  74. package/src/assets/img/credit/paypal.png +0 -0
  75. package/src/assets/img/credit/paypal2.png +0 -0
  76. package/src/assets/img/credit/visa.png +0 -0
  77. package/src/assets/img/default-150x150.png +0 -0
  78. package/src/assets/img/icons.png +0 -0
  79. package/src/assets/img/photo1.png +0 -0
  80. package/src/assets/img/photo2.png +0 -0
  81. package/src/assets/img/photo3.jpg +0 -0
  82. package/src/assets/img/photo4.jpg +0 -0
  83. package/src/assets/img/prod-1.jpg +0 -0
  84. package/src/assets/img/prod-2.jpg +0 -0
  85. package/src/assets/img/prod-3.jpg +0 -0
  86. package/src/assets/img/prod-4.jpg +0 -0
  87. package/src/assets/img/prod-5.jpg +0 -0
  88. package/src/assets/img/user1-128x128.jpg +0 -0
  89. package/src/assets/img/user2-160x160.jpg +0 -0
  90. package/src/assets/img/user3-128x128.jpg +0 -0
  91. package/src/assets/img/user4-128x128.jpg +0 -0
  92. package/src/assets/img/user5-128x128.jpg +0 -0
  93. package/src/assets/img/user6-128x128.jpg +0 -0
  94. package/src/assets/img/user7-128x128.jpg +0 -0
  95. package/src/assets/img/user8-128x128.jpg +0 -0
  96. package/src/config/assets.config.mjs +0 -8
  97. package/src/config/astro.config.mjs +0 -19
  98. package/src/config/postcss.config.mjs +0 -15
  99. package/src/config/rollup.config.js +0 -20
  100. package/src/html/.eslintrc.json +0 -24
  101. package/src/html/.prettierrc.js +0 -11
  102. package/src/html/.tsconfig.json +0 -4
  103. package/src/html/components/_head.astro +0 -37
  104. package/src/html/components/_scripts.astro +0 -39
  105. package/src/html/components/dashboard/_footer.astro +0 -18
  106. package/src/html/components/dashboard/_sidenav.astro +0 -562
  107. package/src/html/components/dashboard/_topbar.astro +0 -221
  108. package/src/html/components/docs/browser-support.mdx +0 -23
  109. package/src/html/components/docs/color-mode.mdx +0 -169
  110. package/src/html/components/docs/components/main-header.mdx +0 -198
  111. package/src/html/components/docs/components/main-sidebar.mdx +0 -129
  112. package/src/html/components/docs/faq.mdx +0 -11
  113. package/src/html/components/docs/how-to-contribute.mdx +0 -34
  114. package/src/html/components/docs/introduction.mdx +0 -60
  115. package/src/html/components/docs/license.mdx +0 -9
  116. package/src/html/components/javascript/treeview.mdx +0 -39
  117. package/src/html/env.d.ts +0 -1
  118. package/src/html/pages/UI/general.astro +0 -1451
  119. package/src/html/pages/UI/timeline.astro +0 -221
  120. package/src/html/pages/docs/browser-support.astro +0 -71
  121. package/src/html/pages/docs/color-mode.astro +0 -273
  122. package/src/html/pages/docs/components/main-header.astro +0 -320
  123. package/src/html/pages/docs/components/main-sidebar.astro +0 -71
  124. package/src/html/pages/docs/faq.astro +0 -71
  125. package/src/html/pages/docs/how-to-contribute.astro +0 -71
  126. package/src/html/pages/docs/introduction.astro +0 -71
  127. package/src/html/pages/docs/javascript/treeview.astro +0 -71
  128. package/src/html/pages/docs/layout.astro +0 -120
  129. package/src/html/pages/docs/license.astro +0 -71
  130. package/src/html/pages/examples/lockscreen.astro +0 -63
  131. package/src/html/pages/examples/login-v2.astro +0 -109
  132. package/src/html/pages/examples/login.astro +0 -99
  133. package/src/html/pages/examples/register-v2.astro +0 -116
  134. package/src/html/pages/examples/register.astro +0 -102
  135. package/src/html/pages/forms/general.astro +0 -624
  136. package/src/html/pages/index.astro +0 -799
  137. package/src/html/pages/index2.astro +0 -1373
  138. package/src/html/pages/index3.astro +0 -513
  139. package/src/html/pages/layout/collapsed-sidebar.astro +0 -110
  140. package/src/html/pages/layout/fixed-complete.astro +0 -209
  141. package/src/html/pages/layout/fixed-sidebar.astro +0 -109
  142. package/src/html/pages/layout/layout-rtl.astro +0 -109
  143. package/src/html/pages/layout/logo-switch.astro +0 -212
  144. package/src/html/pages/layout/sidebar-mini.astro +0 -108
  145. package/src/html/pages/layout/unfixed-sidebar.astro +0 -107
  146. package/src/html/pages/tables/simple.astro +0 -472
  147. package/src/html/pages/widgets/cards.astro +0 -373
  148. package/src/html/pages/widgets/info-box.astro +0 -413
  149. package/src/html/pages/widgets/small-box.astro +0 -182
  150. package/src/utils/index.js +0 -28
  151. package/tsconfig.json +0 -31
@@ -1,129 +0,0 @@
1
- The sidebar used in this page to the left provides an example of what your sidebar would look like. Construction of a sidebar:
2
-
3
- ```html
4
- <!--begin::Sidebar-->
5
- <aside class="app-sidebar bg-body-secondary shadow" data-bs-theme="dark">
6
- <!--begin::Sidebar Brand-->
7
- <div class="sidebar-brand">
8
- <!--begin::Brand Link-->
9
- <a href="./index.html" class="brand-link">
10
- <!--begin::Brand Image-->
11
- <img
12
- src="./assets/img/AdminLTELogo.png"
13
- alt="AdminLTE Logo"
14
- class="brand-image opacity-75 shadow"
15
- />
16
- <!--end::Brand Image-->
17
- <!--begin::Brand Text-->
18
- <span class="brand-text fw-light">AdminLTE 4</span>
19
- <!--end::Brand Text-->
20
- </a>
21
- <!--end::Brand Link-->
22
- </div>
23
- <!--end::Sidebar Brand-->
24
- <!--begin::Sidebar Wrapper-->
25
- <div class="sidebar-wrapper">
26
- <nav class="mt-2">
27
- <!--begin::Sidebar Menu-->
28
- <ul
29
- class="nav sidebar-menu flex-column"
30
- data-lte-toggle="treeview"
31
- role="menu"
32
- data-accordion="false"
33
- >
34
- <li class="nav-header">Nav Header</li>
35
- <li class="nav-item">
36
- <a href="./index.html" class="nav-link">
37
- <i class="nav-icon bi bi-circle-fill"></i>
38
- <p>Level 1</p>
39
- </a>
40
- </li>
41
- <li class="nav-item">
42
- <a href="#" class="nav-link">
43
- <i class="nav-icon bi bi-circle-fill"></i>
44
- <p>
45
- Treeview
46
- <i class="nav-arrow bi bi-chevron-right"></i>
47
- </p>
48
- </a>
49
- <ul class="nav nav-treeview">
50
- <li class="nav-item">
51
- <a href="./index.html" class="nav-link">
52
- <i class="nav-icon bi bi-circle"></i>
53
- <p>
54
- Level 2 (Badge)
55
- <span
56
- class="nav-badge badge text-bg-secondary me-3"
57
- >
58
- 6
59
- </span>
60
- </p>
61
- </a>
62
- </li>
63
- <li class="nav-item">
64
- <a href="./index.html" class="nav-link">
65
- <i class="nav-icon bi bi-circle"></i>
66
- <p>Level 2</p>
67
- </a>
68
- </li>
69
- </ul>
70
- </li>
71
- <li class="nav-item">
72
- <a href="./index.html" class="nav-link active">
73
- <i class="nav-icon bi bi-circle-fill"></i>
74
- <p>Level 1 Active</p>
75
- </a>
76
- </li>
77
-
78
- <li class="nav-item menu-open">
79
- <a href="#" class="nav-link active">
80
- <i class="nav-icon bi bi-circle-fill"></i>
81
- <p>
82
- Treeview Menu Open
83
- <i class="nav-arrow bi bi-chevron-right"></i>
84
- </p>
85
- </a>
86
- <ul class="nav nav-treeview">
87
- <li class="nav-item">
88
- <a href="./index.html" class="nav-link active">
89
- <i class="nav-icon bi bi-circle"></i>
90
- <p>Level 2 Active</p>
91
- </a>
92
- </li>
93
- <li class="nav-item">
94
- <a href="./index.html" class="nav-link">
95
- <i class="nav-icon bi bi-circle"></i>
96
- <p>Level 2</p>
97
- </a>
98
- </li>
99
- </ul>
100
- </li>
101
- </ul>
102
- <!--end::Sidebar Menu-->
103
- </nav>
104
- </div>
105
- <!--end::Sidebar Wrapper-->
106
- </aside>
107
- <!--end::Sidebar-->
108
- ```
109
-
110
- ## Alternate Logo
111
-
112
- You can use two logo images instead of logo with text, you only need to change the markup to this:
113
-
114
- ```html
115
- <div class="sidebar-brand">
116
- <a href="./index.html" class="brand-link logo-switch">
117
- <img
118
- src="./assets/img/AdminLTELogo.png"
119
- alt="AdminLTE Logo Small"
120
- class="brand-image-xl logo-xs opacity-75 shadow"
121
- />
122
- <img
123
- src="./assets/img/AdminLTEFullLogo.png"
124
- alt="AdminLTE Logo Large"
125
- class="brand-image-xs logo-xl opacity-75"
126
- />
127
- </a>
128
- </div>
129
- ```
@@ -1,11 +0,0 @@
1
- #### Can AdminLTE be used with WordPress?
2
-
3
- AdminLTE is an HTML template that can be used for any purpose. However, it is not made to be easily installed on WordPress. It will require some effort and enough knowledge of the WordPress script to do so.
4
-
5
- #### Is there an integration guide for PHP frameworks such as Yii or Symfony?
6
-
7
- Short answer, no. However, there are forks and tutorials around the web that provide info on how to integrate with many different frameworks. There are even versions of AdminLTE that are integrated with jQuery ajax, AngularJS and/or MVC5 ASP .NET.
8
-
9
- #### How do I get notified of new AdminLTE versions?
10
-
11
- You may watch the [releases on GitHub](https://github.com/ColorlibHQ/AdminLTE).
@@ -1,34 +0,0 @@
1
- # Contributing to AdminLTE
2
-
3
- Contributions are always **welcome and recommended**! Here is how for beginner's: [Get started with open source click here](https://youtu.be/GbqSvJs-6W4)
4
-
5
- 1. Contribution Requirements :
6
- * When you contribute, you agree to give a non-exclusive license to AdminLTE.io to use that contribution in any context as we (AdminLTE.io) see appropriate.
7
- * If you use content provided by another party, it must be appropriately licensed using an [open source](https://opensource.org/licenses) license.
8
- * Contributions are only accepted through GitHub pull requests.
9
- * Finally, contributed code must work in all supported browsers (see above for browser support).
10
- 2. Installation :
11
- * Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)).
12
- * Clone to your machine
13
-
14
- ```bash
15
- git clone https://github.com/YOUR_USERNAME/AdminLTE.git
16
- ```
17
- * Create a new branch from `master`
18
- 3. Compile dist files (Development) :
19
- * To compile the dist files you need Node.js 18 or higher/npm (node package manager)
20
- * `npm install` (install npm deps)
21
- * `npm run dev` (developer mode, autocompile with browsersync support for live demo)
22
- * Make your changes only in `./src` Folder OR `package.json` in any files which are necessary for contribution
23
- * Do not make changes in `./dist/**` Because it contains compiled files and do not include in PR (Pull Request)
24
- * `npm run production` (compile css/js files and test all pages are perfectly working fine, before creating a pull request)
25
- 4. Create a pull request to `master` branch
26
-
27
- ## Online one-click setup for contributing
28
-
29
- You can use [Codespace](https://docs.github.com/en/codespaces) an online IDE which is free for Open Source for working on issues or making PRs (Pull Requests). With a single click it will launch a workspace and automatically:
30
-
31
- - clone the `AdminLTE` repo.
32
- - Open with [Codespace](https://docs.github.com/en/codespaces) or [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
33
- - install the dependencies.
34
- - run `npm run dev` to start the server.
@@ -1,60 +0,0 @@
1
- ## Quick start
2
-
3
- There are multiple ways to install AdminLTE.
4
-
5
- ### Download & Changelog:
6
-
7
- Always Recommended to download from GitHub latest release [AdminLTE 4](https://github.com/ColorlibHQ/AdminLTE/releases/latest) for bug free and latest features.\
8
- Visit the [releases](https://github.com/ColorlibHQ/AdminLTE/releases) page to view the changelog.\
9
- Legacy Releases are [AdminLTE 3](https://github.com/ColorlibHQ/AdminLTE/releases/tag/v3.2.0) / [AdminLTE 2](https://github.com/ColorlibHQ/AdminLTE/releases/tag/v2.4.18) / [AdminLTE 1](https://github.com/ColorlibHQ/AdminLTE/releases/tag/1.3.1).
10
-
11
- ## Stable release
12
-
13
- ### Grab from [jsdelivr](https://www.jsdelivr.com/package/npm/admin-lte) CDN:
14
-
15
- _**Important Note**: You needed to add separately cdn links for plugins in your project._
16
-
17
- ```html
18
- <script
19
- src="https://cdn.jsdelivr.net/npm/admin-lte@4.0.0-beta1/dist/js/adminlte.min.js"
20
- integrity="sha256-5SPy1/00NR75iVOk7p0Ci0nwAAM8Ab7j31wyie+DKYw="
21
- crossorigin="anonymous"
22
- ></script>
23
- ```
24
-
25
- ```html
26
- <link
27
- rel="stylesheet"
28
- href="https://cdn.jsdelivr.net/npm/admin-lte@4.0.0-beta1/dist/css/adminlte.min.css"
29
- integrity="sha256-c66Dhf3TzKZoXxk8aNaf2lu580xGnKke4mjUtbpMqYg="
30
- crossorigin="anonymous"
31
- />
32
- ```
33
-
34
- ### Using The Command Line:
35
-
36
- _**Important Note**: To install it via npm/Yarn, you need at least Node.js 14 or higher._
37
-
38
- #### Via npm
39
-
40
- ```bash
41
- npm install admin-lte@4.0.0-beta1 --save
42
- ```
43
-
44
- #### Via Yarn
45
-
46
- ```bash
47
- yarn add admin-lte@4.0.0-beta1
48
- ```
49
-
50
- #### Via Composer
51
-
52
- ```bash
53
- composer require "almasaeed2010/adminlte=4.0.0-beta1"
54
- ```
55
-
56
- #### Via Git
57
-
58
- ```bash
59
- git clone https://github.com/ColorlibHQ/AdminLTE.git
60
- ```
@@ -1,9 +0,0 @@
1
- AdminLTE is an open source project that is licensed under the [MIT license](https://opensource.org/licenses/MIT). This allows you to do pretty much anything you want as long as you include the copyright in "all copies or substantial portions of the Software." Attribution is not required (though very much appreciated).
2
-
3
- <h5 class="text-bold text-dark mt-3">What You Are <span class="text-success">Allowed</span> To Do With AdminLTE</h5>
4
-
5
- - Use in commercial projects.
6
- - Use in personal/private projects.
7
- - Modify and change the work.
8
- - Distribute the code.
9
- - Sublicense: incorporate the work into something that has a more restrictive license.
@@ -1,39 +0,0 @@
1
- The Treeview plugin converts a nested list into a tree view where sub menus can be expanded.
2
-
3
- ##### Usage
4
-
5
- This plugin can be used as the data api.
6
-
7
- **Data API**
8
-
9
- Add `data-lte-toggle="treeview"` to any ul or ol element to activate the plugin.
10
-
11
- ```html
12
- <ul data-lte-toggle="treeview">
13
- <li><a href="#">One Level</a></li>
14
- <li class="nav-item menu-open">
15
- <a class="nav-link" href="#">Multilevel</a>
16
- <ul class="nav-treeview">
17
- <li><a href="#">Level 2</a></li>
18
- </ul>
19
- </li>
20
- </ul>
21
- ```
22
-
23
- ##### Example
24
-
25
- <ul data-lte-toggle="treeview">
26
- <li>
27
- <a href="#">One Level</a>
28
- </li>
29
- <li class="nav-item menu-open">
30
- <a class="nav-link" href="#">
31
- Multilevel
32
- </a>
33
- <ul class="nav-treeview">
34
- <li>
35
- <a href="#">Level 2</a>
36
- </li>
37
- </ul>
38
- </li>
39
- </ul>
package/src/html/env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="astro/client" />