vueless 0.0.515 → 0.0.517
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 +1 -1
- package/ui.container-page/UPage.vue +1 -1
- package/ui.container-page/config.ts +2 -2
- package/ui.data-list/UDataList.vue +2 -0
- package/ui.data-list/config.js +1 -1
- package/ui.data-list/useAttrs.js +12 -2
- package/ui.form-textarea/config.js +1 -1
- package/ui.text-money/UMoney.vue +1 -1
- package/ui.text-money/config.ts +12 -13
- package/web-types.json +1 -1
package/package.json
CHANGED
|
@@ -36,8 +36,8 @@ export default /*tw*/ {
|
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
header: "flex items-start justify-between mb-4 md:mb-6",
|
|
39
|
-
headerLeft: "flex items-center
|
|
40
|
-
headerLeftFallback: "flex flex-col",
|
|
39
|
+
headerLeft: "flex items-center gap-4",
|
|
40
|
+
headerLeftFallback: "flex flex-col gap-0.5",
|
|
41
41
|
backLink: "{ULink}",
|
|
42
42
|
backLinkIcon: "{UIcon}",
|
|
43
43
|
title: "{UHeader}",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
:item-key="valueKey"
|
|
25
25
|
:group="{ name: group }"
|
|
26
26
|
handle=".icon-drag"
|
|
27
|
+
:animation="animationDuration"
|
|
27
28
|
:ghost-class="config.draggableGhost"
|
|
28
29
|
:drag-class="config.draggableDrag"
|
|
29
30
|
:data-test="dataTest"
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
<UIcon
|
|
50
51
|
internal
|
|
51
52
|
color="gray"
|
|
53
|
+
variant="light"
|
|
52
54
|
:size="iconSize"
|
|
53
55
|
:name="config.defaults.dragIcon"
|
|
54
56
|
v-bind="dragIconAttrs"
|
package/ui.data-list/config.js
CHANGED
|
@@ -10,7 +10,7 @@ export default /*tw*/ {
|
|
|
10
10
|
group-last/item-wrapper:border-b-0 group-[]/nested:group-last/item-wrapper:border-b
|
|
11
11
|
py-4 space-x-4 flex flex-auto items-center justify-between
|
|
12
12
|
`,
|
|
13
|
-
dragIcon: "{UIcon} icon-drag cursor-move opacity-100
|
|
13
|
+
dragIcon: "{UIcon} icon-drag cursor-move opacity-100",
|
|
14
14
|
label: {
|
|
15
15
|
base: "font-normal text-gray-900 flex-auto pt-px",
|
|
16
16
|
variants: {
|
package/ui.data-list/useAttrs.js
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import useUI from "../composables/useUI.ts";
|
|
2
2
|
|
|
3
3
|
import defaultConfig from "./config.js";
|
|
4
|
+
import { computed } from "vue";
|
|
4
5
|
|
|
5
6
|
export default function useAttrs(props) {
|
|
6
|
-
const { config, getKeysAttrs, hasSlotContent } = useUI(
|
|
7
|
+
const { config, getKeysAttrs, getExtendingKeysClasses, hasSlotContent } = useUI(
|
|
8
|
+
defaultConfig,
|
|
9
|
+
() => props.config,
|
|
10
|
+
);
|
|
7
11
|
|
|
8
|
-
const
|
|
12
|
+
const extendingKeysClasses = getExtendingKeysClasses(["label"]);
|
|
13
|
+
|
|
14
|
+
const keysAttrs = getKeysAttrs({}, [], {
|
|
15
|
+
labelCrossed: {
|
|
16
|
+
base: computed(() => [extendingKeysClasses.label.value]),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
9
19
|
|
|
10
20
|
return {
|
|
11
21
|
config,
|
|
@@ -30,7 +30,7 @@ export default /*tw*/ {
|
|
|
30
30
|
textarea: {
|
|
31
31
|
base: `
|
|
32
32
|
p-0 block w-full bg-transparent border-none !leading-none font-normal text-gray-900
|
|
33
|
-
placeholder:font-normal placeholder:
|
|
33
|
+
placeholder:text-gray-400 placeholder:font-normal placeholder:leading-none
|
|
34
34
|
focus:border-none focus:outline-none focus:ring-0
|
|
35
35
|
`,
|
|
36
36
|
variants: {
|
package/ui.text-money/UMoney.vue
CHANGED
package/ui.text-money/config.ts
CHANGED
|
@@ -17,13 +17,13 @@ export default /*tw*/ {
|
|
|
17
17
|
sum: {
|
|
18
18
|
variants: {
|
|
19
19
|
size: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
20
|
+
xs: "text-xs",
|
|
21
|
+
sm: "text-sm",
|
|
22
|
+
md: "text-base",
|
|
23
|
+
lg: "text-lg",
|
|
24
|
+
xl: "text-xl",
|
|
25
|
+
"2xl": "text-2xl",
|
|
26
|
+
"3xl": "text-3xl",
|
|
27
27
|
},
|
|
28
28
|
planned: {
|
|
29
29
|
true: "opacity-75 before:content-['('] after:content-[')']",
|
|
@@ -38,12 +38,11 @@ export default /*tw*/ {
|
|
|
38
38
|
size: {
|
|
39
39
|
xs: "text-2xs",
|
|
40
40
|
sm: "text-xs",
|
|
41
|
-
md: "text-
|
|
42
|
-
lg: "text-
|
|
43
|
-
xl: "text-
|
|
44
|
-
"2xl": "text-
|
|
45
|
-
"3xl": "text-
|
|
46
|
-
"4xl": "text-2xl",
|
|
41
|
+
md: "text-sm",
|
|
42
|
+
lg: "text-base",
|
|
43
|
+
xl: "text-lg",
|
|
44
|
+
"2xl": "text-xl",
|
|
45
|
+
"3xl": "text-2xl",
|
|
47
46
|
},
|
|
48
47
|
},
|
|
49
48
|
},
|