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.
- package/dist/spa/src/afcl/Button.vue +1 -1
- package/dist/spa/src/afcl/Checkbox.vue +1 -1
- package/dist/spa/src/afcl/Input.vue +4 -2
- package/dist/spa/src/afcl/Link.vue +1 -1
- package/dist/spa/src/afcl/LinkButton.vue +1 -1
- package/dist/spa/src/afcl/Select.vue +1 -1
- package/dist/spa/src/afcl/Tooltip.vue +1 -1
- package/package.json +1 -1
|
@@ -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,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,
|