adminforth 4.7.5 → 4.8.0

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.
@@ -96,41 +96,31 @@
96
96
  <div
97
97
  v-if="loading"
98
98
  role="status"
99
- class="animate-pulse overflow-x-auto shadow-resourseFormShadow dark:shadow-darkResourseFormShadow rounded-lg overflow-hidden border border-lightShowTableBodyBorder dark:border-darkShowTableBodyBorder"
99
+ class="animate-pulse overflow-x-auto shadow-resourseFormShadow dark:shadow-darkResourseFormShadow rounded-lg overflow-hidden border border-lightFormBorder dark:border-darkFormBorder bg-lightShowTablesBodyBackground dark:bg-darkShowTablesBodyBackground"
100
100
  >
101
- <div
102
- v-if="groups && groups.length > 0"
103
- class="text-sm font-semibold px-5 py-3 flex flex-1 items-center bg-lightShowTableHeadingBackground dark:bg-darkShowTableHeadingBackground dark:text-darkShowTableHeadingText border-b border-lightShowTableBodyBorder dark:border-darkShowTableBodyBorder"
104
- >
101
+ <div v-if="groups && groups.length > 0" class="px-5 pt-5 pb-2">
105
102
  <div class="h-3 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-32"></div>
106
103
  </div>
107
104
 
108
105
  <table class="w-full text-sm text-left table-fixed border-collapse">
109
- <thead class="bg-lightShowTableUnderHeadingBackground dark:bg-darkShowTableUnderHeadingBackground block md:table-row-group">
110
- <tr class="block md:table-row">
111
- <th scope="col" class="px-5 py-2.5 text-xs font-medium hidden md:w-56 md:table-cell text-lightShowTableUnderHeadingText dark:text-darkShowTableUnderHeadingText">
112
- {{ $t('Field') }}
113
- </th>
114
- <th scope="col" class="px-5 py-2.5 text-xs font-medium hidden md:table-cell text-lightShowTableUnderHeadingText dark:text-darkShowTableUnderHeadingText">
115
- {{ $t('Value') }}
116
- </th>
117
- </tr>
118
- </thead>
119
-
120
- <tbody>
121
- <tr
122
- v-for="i in skeletonRowsCount"
106
+ <colgroup>
107
+ <col class="md:w-56">
108
+ <col>
109
+ </colgroup>
110
+ <tbody class="divide-y divide-lightShowTableBodyBorder dark:divide-darkShowTableBodyBorder">
111
+ <tr
112
+ v-for="i in skeletonRowsCount"
123
113
  :key="i"
124
- class="bg-lightShowTablesBodyBackground border-t border-lightShowTableBodyBorder dark:bg-darkShowTablesBodyBackground dark:border-darkShowTableBodyBorder block md:table-row"
114
+ class="block md:table-row"
125
115
  >
126
- <td class="px-6 py-[15.5px] relative block md:table-cell pb-0 md:pb-[15.5px]">
127
- <div class="md:absolute md:inset-0 flex items-center px-6 py-[15.5px]">
116
+ <td class="px-5 pt-2.5 pb-0 md:pb-2.5 block md:table-cell">
117
+ <div class="flex items-center h-5">
128
118
  <div class="h-2.5 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-24"></div>
129
119
  </div>
130
120
  </td>
131
121
 
132
- <td class="px-6 py-[15.5px] whitespace-pre-wrap block md:table-cell">
133
- <div class="flex items-center h-full min-h-[21px]">
122
+ <td class="px-5 pt-1 pb-2.5 md:pt-2.5 block md:table-cell">
123
+ <div class="flex items-center h-5">
134
124
  <div class="h-2.5 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-full max-w-[280px]"></div>
135
125
  </div>
136
126
  </td>
@@ -3,7 +3,7 @@
3
3
  export default {
4
4
  // no spaces inside the braces, otherwise extensions are expanded as "* js", "* ts" and
5
5
  // classes declared in plain .ts/.js files (e.g. afcl/buttonStyles.ts) are not generated
6
- content: ["./src/**/*.{vue,js,ts,tsx}","./src/*.{vue,js,ts,tsx}", "./index.html", "./node_modules/flowbite-datepicker/**/*.js"],
6
+ content: ["./src/**/*.{vue,js,ts,tsx}","./src/*.{vue,js,ts,tsx}", "./index.html"],
7
7
  safelist: [
8
8
  /* IMPORTANT:ADMINFORTH TAILWIND SAFELIST */
9
9
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "4.7.5",
3
+ "version": "4.8.0",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
5
  "keywords": [
6
6
  "adminforth",