adminforth 2.4.0-next.13 → 2.4.0-next.15

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.
@@ -2,7 +2,7 @@
2
2
  <button
3
3
  v-bind="$attrs"
4
4
  type="submit"
5
- class="flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
5
+ class="afcl-button flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
6
6
  focus:ring-4 focus:outline-none focus:ring-lightPrimary focus:ring-opacity-50 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-darkPrimary dark:focus:ring-opacity-50"
7
7
  :class="{
8
8
  'cursor-default': props.disabled,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="flex items-center h-5" :class="{'opacity-50' : props.disabled}">
2
+ <div class="afcl-checkbox flex items-center h-5" :class="{'opacity-50' : props.disabled}">
3
3
  <input :id="id"
4
4
  ref="rememberInput"
5
5
  type="checkbox"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
 
3
- <div class="flex z-0" :class="{'opacity-50' : readonly}">
3
+ <div class="afcl-input flex z-0 relative" :class="{'opacity-50' : readonly}">
4
4
  <span
5
5
  v-if="$slots.prefix || prefix"
6
6
  class="inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-s-0 border-gray-300 rounded-s-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600">
@@ -21,7 +21,9 @@
21
21
  :disabled="readonly"
22
22
  >
23
23
 
24
-
24
+ <div v-if="$slots.rightIcon" class="absolute inset-y-0 right-0 pr-3 flex items-center">
25
+ <slot name="rightIcon" />
26
+ </div>
25
27
  <span
26
28
  v-if="$slots.suffix || suffix"
27
29
  class="inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-s-0 border-gray-300 rounded-e-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600 ">
@@ -2,7 +2,7 @@
2
2
  <router-link
3
3
  v-bind="$attrs"
4
4
  :to="to"
5
- class="text-lightPrimary underline dark:text-darkPrimary hover:no-underline hover:brightness-110
5
+ class="afcl-link text-lightPrimary underline dark:text-darkPrimary hover:no-underline hover:brightness-110
6
6
  cursor-pointer"
7
7
  >
8
8
  <slot></slot>
@@ -3,7 +3,7 @@
3
3
  v-bind="$attrs"
4
4
  :to="props.to"
5
5
  type="submit"
6
- class="flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
6
+ class="afcl-link-button flex items-center justify-center gap-1 text-lightPrimaryContrast bg-lightPrimary dark:bg-darkPrimary hover:brightness-110
7
7
  focus:ring-4 focus:outline-none focus:ring-lightPrimary focus:ring-opacity-50 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-darkPrimary dark:focus:ring-opacity-50"
8
8
  :class="{
9
9
  'cursor-default': props.disabled,
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="relative inline-block afcl-select" ref="internalSelect"
2
+ <div class="afcl-select relative inline-block" ref="internalSelect"
3
3
  :class="{'opacity-50': readonly}"
4
4
  >
5
5
  <div class="relative">
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div ref="triggerEl" class="inline-flex items-center">
2
+ <div ref="triggerEl" class="afcl-tooltip inline-flex items-center">
3
3
  <slot></slot>
4
4
  </div>
5
5
  <div
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.13",
3
+ "version": "2.4.0-next.15",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",