vueless 0.0.774 → 0.0.775
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/package.json
CHANGED
package/ui.button/config.ts
CHANGED
|
@@ -79,8 +79,8 @@ export default /*tw*/ {
|
|
|
79
79
|
variant: "thirdary",
|
|
80
80
|
class: `
|
|
81
81
|
text-gray-900 dark:text-gray-100
|
|
82
|
-
hover:text-gray-800 hover:bg-gray-800/
|
|
83
|
-
active:text-gray-700 active:bg-gray-700/
|
|
82
|
+
hover:text-gray-800 hover:bg-gray-800/10 dark:hover:text-gray-200 dark:hover:bg-gray-200/10
|
|
83
|
+
active:text-gray-700 active:bg-gray-700/15 dark:active:text-gray-300 dark:active:bg-gray-300/15
|
|
84
84
|
`,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
@@ -110,7 +110,7 @@ export default /*tw*/ {
|
|
|
110
110
|
variant: "thirdary",
|
|
111
111
|
class: "hover:bg-white/10 active:bg-white/15",
|
|
112
112
|
},
|
|
113
|
-
{ filled: true, variant: "thirdary", class: "bg-{color}-700/
|
|
113
|
+
{ filled: true, variant: "thirdary", class: "bg-{color}-700/5 dark:bg-{color}-500/5" },
|
|
114
114
|
{ filled: true, variant: "thirdary", color: ["grayscale", "white"], class: "bg-gray-800/5 dark:bg-gray-200/5" },
|
|
115
115
|
{ rightIcon: true, size: "2xs", class: "pr-1" },
|
|
116
116
|
{ rightIcon: true, size: "xs", class: "pr-2" },
|
package/ui.data-table/config.ts
CHANGED
|
@@ -5,7 +5,7 @@ export default /*tw*/ {
|
|
|
5
5
|
base: "fixed top-0 flex items-center z-30 overflow-hidden border rounded-none",
|
|
6
6
|
variants: {
|
|
7
7
|
actionsHeader: {
|
|
8
|
-
true: "rounded-t-dynamic border-
|
|
8
|
+
true: "rounded-t-dynamic border-brand-200 bg-brand-50",
|
|
9
9
|
},
|
|
10
10
|
},
|
|
11
11
|
compoundVariants: [
|
|
@@ -373,14 +373,14 @@ SlotHeaderActions.args = {
|
|
|
373
373
|
<UButton
|
|
374
374
|
label="Edit"
|
|
375
375
|
variant="thirdary"
|
|
376
|
-
color="
|
|
376
|
+
color="brand"
|
|
377
377
|
size="sm"
|
|
378
378
|
/>
|
|
379
379
|
|
|
380
380
|
<UButton
|
|
381
381
|
label="Delete"
|
|
382
382
|
variant="thirdary"
|
|
383
|
-
color="
|
|
383
|
+
color="brand"
|
|
384
384
|
size="sm"
|
|
385
385
|
/>
|
|
386
386
|
</URow>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject, onBeforeUnmount, readonly, ref } from "vue";
|
|
1
|
+
import { inject, onBeforeMount, onBeforeUnmount, readonly, ref } from "vue";
|
|
2
2
|
|
|
3
3
|
import type { Ref } from "vue";
|
|
4
4
|
|
|
@@ -49,8 +49,10 @@ export function createLoaderProgress(): LoaderProgress {
|
|
|
49
49
|
export function useLoaderProgress(): LoaderProgress {
|
|
50
50
|
const loaderProgress = inject<LoaderProgress>(LoaderProgressSymbol);
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
onBeforeMount(() => {
|
|
53
|
+
window.addEventListener("loaderProgressOn", setLoaderOnHandler as EventListener);
|
|
54
|
+
window.addEventListener("loaderProgressOff", setLoaderOffHandler as EventListener);
|
|
55
|
+
});
|
|
54
56
|
|
|
55
57
|
onBeforeUnmount(() => {
|
|
56
58
|
window.removeEventListener("loaderProgressOn", setLoaderOnHandler as EventListener);
|
package/utils/storybook.ts
CHANGED
|
@@ -72,7 +72,7 @@ export function getDocsDescription(componentName: string | undefined) {
|
|
|
72
72
|
let viewOnGitHub = "";
|
|
73
73
|
|
|
74
74
|
if (COMPONENTS[componentName as ComponentNames]) {
|
|
75
|
-
viewOnGitHub = `|
|
|
75
|
+
viewOnGitHub = `| <a href="https://github.com/vuelessjs/vueless/tree/main/src/${COMPONENTS[componentName as ComponentNames]}" target="_blank">View on GitHub</a>`;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
return {
|