vueless 1.3.9-beta.2 → 1.3.9-beta.3
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/icons/internal/home.svg +1 -0
- package/package.json +1 -1
- package/ui.button/config.ts +6 -6
- package/ui.button-link/config.ts +2 -2
- package/ui.button-toggle/config.ts +1 -1
- package/ui.container-page/config.ts +9 -9
- package/ui.data-table/config.ts +6 -6
- package/ui.dropdown-button/config.ts +1 -1
- package/ui.form-checkbox/config.ts +2 -2
- package/ui.form-date-picker-range/config.ts +3 -3
- package/ui.form-input/config.ts +3 -3
- package/ui.form-input-file/config.ts +1 -1
- package/ui.form-input-rating/config.ts +1 -1
- package/ui.form-label/config.ts +3 -3
- package/ui.form-listbox/config.ts +4 -4
- package/ui.form-select/config.ts +3 -3
- package/ui.form-textarea/config.ts +2 -2
- package/ui.image-icon/config.ts +1 -1
- package/ui.navigation-breadcrumbs/config.ts +1 -1
- package/ui.text-badge/config.ts +1 -1
- package/ui.text-file/config.ts +1 -1
- package/ui.text-header/config.ts +1 -1
- package/ui.text-key/config.ts +1 -1
- package/ui.text-notify/config.ts +1 -1
package/icons/internal/home.svg
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 -960 960 960"><path d="M222.15-182.15h143.78v-251.92h228.14v251.92h143.78v-386.89L480-762.37 222.15-568.96v386.81Zm-68.13 68.13v-489.09L480-847.65l326.22 244.54v489.09H528.57v-254.55h-97.14v254.55H154.02ZM480-472.76Z"/></svg>
|
package/package.json
CHANGED
package/ui.button/config.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
button: {
|
|
3
3
|
base: `
|
|
4
|
-
flex items-center justify-center font-medium
|
|
4
|
+
flex items-center justify-center font-medium leading-snug! whitespace-nowrap
|
|
5
5
|
border border-solid transition cursor-pointer
|
|
6
6
|
focus-visible:outline-medium focus-visible:outline-offset-2 focus-visible:outline-{color}
|
|
7
7
|
disabled:cursor-not-allowed disabled:outline-0 disabled:outline-offset-0
|
|
@@ -20,31 +20,31 @@ export default /*tw*/ {
|
|
|
20
20
|
bg-{color} border-transparent text-inverted
|
|
21
21
|
hover:bg-{color}-lifted
|
|
22
22
|
active:bg-{color}-accented
|
|
23
|
-
disabled
|
|
23
|
+
disabled:bg-{color}/(--vl-disabled-opacity)!
|
|
24
24
|
`,
|
|
25
25
|
outlined: `
|
|
26
26
|
text-{color} border-{color}
|
|
27
27
|
hover:text-{color}-lifted hover:border-{color}-lifted hover:bg-{color}-lifted/10
|
|
28
28
|
active:text-{color}-accented active:border-{color}-accented active:bg-{color}-accented/15
|
|
29
|
-
disabled
|
|
29
|
+
disabled:text-{color}/(--vl-disabled-opacity)! disabled:bg-{color}/5! disabled:border-{color}/(--vl-disabled-opacity)!
|
|
30
30
|
`,
|
|
31
31
|
subtle: `
|
|
32
32
|
text-{color} bg-{color}/5 border-{color}/15
|
|
33
33
|
hover:text-{color}-lifted hover:bg-{color}-lifted/10
|
|
34
34
|
active:text-{color}-accented active:bg-{color}-accented/15
|
|
35
|
-
disabled
|
|
35
|
+
disabled:text-{color}/(--vl-disabled-opacity)! disabled:bg-{color}/5! disabled:border-{color}/10!
|
|
36
36
|
`,
|
|
37
37
|
soft: `
|
|
38
38
|
text-{color} bg-{color}/5 border-transparent
|
|
39
39
|
hover:text-{color}-lifted hover:bg-{color}-lifted/10
|
|
40
40
|
active:text-{color}-accented active:bg-{color}-accented/15
|
|
41
|
-
disabled
|
|
41
|
+
disabled:text-{color}/(--vl-disabled-opacity)! disabled:bg-{color}/5!
|
|
42
42
|
`,
|
|
43
43
|
ghost: `
|
|
44
44
|
text-{color} bg-transparent border-transparent
|
|
45
45
|
hover:text-{color}-lifted hover:bg-{color}-lifted/10
|
|
46
46
|
active:text-{color}-accented active:bg-{color}-accented/15
|
|
47
|
-
disabled
|
|
47
|
+
disabled:text-{color}/(--vl-disabled-opacity)! disabled:bg-transparent!
|
|
48
48
|
`,
|
|
49
49
|
},
|
|
50
50
|
round: {
|
package/ui.button-link/config.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
link: {
|
|
3
3
|
base: `
|
|
4
|
-
inline-block cursor-pointer
|
|
4
|
+
inline-block cursor-pointer leading-none! transition
|
|
5
5
|
text-{color} decoration-{color} underline-offset-4
|
|
6
6
|
hover:text-{color}-lifted hover:decoration-{color}-lifted
|
|
7
7
|
active:text-{color}-accented active:decoration-{color}-accented
|
|
@@ -29,7 +29,7 @@ export default /*tw*/ {
|
|
|
29
29
|
true: "decoration-dotted hover:decoration-dotted",
|
|
30
30
|
},
|
|
31
31
|
disabled: {
|
|
32
|
-
true: "
|
|
32
|
+
true: "text-{color}/(--vl-disabled-opacity)! no-underline! cursor-not-allowed",
|
|
33
33
|
},
|
|
34
34
|
block: {
|
|
35
35
|
true: "w-full",
|
|
@@ -54,7 +54,7 @@ export default /*tw*/ {
|
|
|
54
54
|
},
|
|
55
55
|
},
|
|
56
56
|
toggleButtonActive: {
|
|
57
|
-
base: "{>toggleButton}
|
|
57
|
+
base: "{>toggleButton} bg-primary/10! disabled:bg-primary/10! disabled:text-primary",
|
|
58
58
|
variants: {
|
|
59
59
|
split: {
|
|
60
60
|
false: "border-0",
|
|
@@ -4,15 +4,15 @@ export default /*tw*/ {
|
|
|
4
4
|
base: "relative min-h-screen UNotifyPage",
|
|
5
5
|
variants: {
|
|
6
6
|
size: {
|
|
7
|
-
xs: "md:w-[25rem] md:max-[500px]
|
|
8
|
-
sm: "md:w-[31.25rem] md:max-[600px]
|
|
9
|
-
md: "md:w-[37.5rem] md:max-[700px]
|
|
10
|
-
lg: "md:w-[43.75rem] md:max-[800px]
|
|
11
|
-
xl: "md:w-[50rem] md:max-[900px]
|
|
12
|
-
"2xl": "md:w-[56.25rem] md:max-[1000px]
|
|
13
|
-
"3xl": "md:w-[62.5rem] md:max-[1100px]
|
|
14
|
-
"4xl": "md:w-[68.75rem] md:max-[1200px]
|
|
15
|
-
"5xl": "md:w-[75rem] md:max-[1300px]
|
|
7
|
+
xs: "md:w-[25rem] md:max-[500px]:w-full!",
|
|
8
|
+
sm: "md:w-[31.25rem] md:max-[600px]:w-full!",
|
|
9
|
+
md: "md:w-[37.5rem] md:max-[700px]:w-full!",
|
|
10
|
+
lg: "md:w-[43.75rem] md:max-[800px]:w-full!",
|
|
11
|
+
xl: "md:w-[50rem] md:max-[900px]:w-full!",
|
|
12
|
+
"2xl": "md:w-[56.25rem] md:max-[1000px]:w-full!",
|
|
13
|
+
"3xl": "md:w-[62.5rem] md:max-[1100px]:w-full!",
|
|
14
|
+
"4xl": "md:w-[68.75rem] md:max-[1200px]:w-full!",
|
|
15
|
+
"5xl": "md:w-[75rem] md:max-[1300px]:w-full!",
|
|
16
16
|
wide: "md:w-full",
|
|
17
17
|
},
|
|
18
18
|
rounding: {
|
package/ui.data-table/config.ts
CHANGED
|
@@ -19,7 +19,7 @@ export default /*tw*/ {
|
|
|
19
19
|
stickyHeaderCell: "{>headerCellBase} flex-none whitespace-nowrap",
|
|
20
20
|
stickyHeaderCheckbox: "{UCheckbox}",
|
|
21
21
|
stickyHeaderCounter: {
|
|
22
|
-
base: "{>headerCounterBase} absolute top-4 left-11 bg-
|
|
22
|
+
base: "{>headerCounterBase} absolute top-4 left-11 bg-linear-to-r from-(--vl-bg) from-80%",
|
|
23
23
|
variants: {
|
|
24
24
|
compact: {
|
|
25
25
|
true: "top-3",
|
|
@@ -54,17 +54,17 @@ export default /*tw*/ {
|
|
|
54
54
|
body: "group/body divide-none",
|
|
55
55
|
bodyRow: "bg-default hover:bg-muted",
|
|
56
56
|
bodyRowChecked: "bg-lifted transition",
|
|
57
|
-
beforeBodyRow: "
|
|
58
|
-
beforeBodyRowChecked: "{>bodyRowChecked}
|
|
57
|
+
beforeBodyRow: "p-0!",
|
|
58
|
+
beforeBodyRowChecked: "{>bodyRowChecked} p-0!",
|
|
59
59
|
beforeBodyRowCell: "{>bodyCellBase} py-1",
|
|
60
|
-
afterBodyRow: "
|
|
60
|
+
afterBodyRow: "p-0!",
|
|
61
61
|
bodyRowDateDivider: "first:hidden",
|
|
62
62
|
bodyRowCheckedDateDivider: "{>bodyRowChecked} {>bodyRowChecked}",
|
|
63
63
|
bodyCellBase: {
|
|
64
64
|
base: "p-4 truncate align-top",
|
|
65
65
|
variants: {
|
|
66
66
|
compact: {
|
|
67
|
-
true: "px-4 py-3 last:px-4 last:py-3 first
|
|
67
|
+
true: "px-4 py-3 last:px-4 last:py-3 first:px-4! first:py-3",
|
|
68
68
|
},
|
|
69
69
|
},
|
|
70
70
|
},
|
|
@@ -85,7 +85,7 @@ export default /*tw*/ {
|
|
|
85
85
|
},
|
|
86
86
|
bodySelectedDateDivider: {
|
|
87
87
|
base: "{>bodyDateDivider}",
|
|
88
|
-
label: "
|
|
88
|
+
label: "bg-lifted! transition",
|
|
89
89
|
},
|
|
90
90
|
bodyEmptyState: "{UEmpty} my-8",
|
|
91
91
|
bodyEmptyStateCell: "",
|
|
@@ -23,7 +23,7 @@ export default /*tw*/ {
|
|
|
23
23
|
`,
|
|
24
24
|
variants: {
|
|
25
25
|
error: {
|
|
26
|
-
true: "
|
|
26
|
+
true: "border-error! focus-visible:outline-error",
|
|
27
27
|
},
|
|
28
28
|
},
|
|
29
29
|
},
|
|
@@ -34,7 +34,7 @@ export default /*tw*/ {
|
|
|
34
34
|
`,
|
|
35
35
|
variants: {
|
|
36
36
|
disabled: {
|
|
37
|
-
true: "
|
|
37
|
+
true: "bg-{color}/(--vl-disabled-opacity)! cursor-not-allowed",
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
40
|
},
|
|
@@ -59,7 +59,7 @@ export default /*tw*/ {
|
|
|
59
59
|
},
|
|
60
60
|
periodRow: "mb-1 flex min-w-64 gap-1",
|
|
61
61
|
periodButton: "{UButton} h-[3.125rem] w-full",
|
|
62
|
-
periodButtonActive: "{>periodButton}
|
|
62
|
+
periodButtonActive: "{>periodButton} bg-grayscale-accented/15!",
|
|
63
63
|
rangeSwitchWrapper: "flex items-center justify-between py-2",
|
|
64
64
|
rangeSwitchButton: "{UButton}",
|
|
65
65
|
rangeSwitchTitle: "font-medium text-medium",
|
|
@@ -99,11 +99,11 @@ export default /*tw*/ {
|
|
|
99
99
|
},
|
|
100
100
|
rangeInputFirst: {
|
|
101
101
|
base: "{UInput} {>rangeInput}",
|
|
102
|
-
wrapper: "
|
|
102
|
+
wrapper: "rounded-r-none!",
|
|
103
103
|
},
|
|
104
104
|
rangeInputLast: {
|
|
105
105
|
base: "{UInput} {>rangeInput}",
|
|
106
|
-
wrapper: "
|
|
106
|
+
wrapper: "rounded-l-none!",
|
|
107
107
|
},
|
|
108
108
|
rangeInputError: "text-small font-normal leading-none mt-2 text-center text-red-500",
|
|
109
109
|
datepickerCalendar: {
|
package/ui.form-input/config.ts
CHANGED
|
@@ -18,10 +18,10 @@ export default /*tw*/ {
|
|
|
18
18
|
`,
|
|
19
19
|
variants: {
|
|
20
20
|
error: {
|
|
21
|
-
true: "
|
|
21
|
+
true: "border-error! focus-within:outline-error",
|
|
22
22
|
},
|
|
23
23
|
disabled: {
|
|
24
|
-
true: "
|
|
24
|
+
true: "border-default! focus-within:outline-0 bg-lifted",
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
},
|
|
@@ -41,7 +41,7 @@ export default /*tw*/ {
|
|
|
41
41
|
rightSlot: "flex items-center",
|
|
42
42
|
input: {
|
|
43
43
|
base: `
|
|
44
|
-
block w-full py-2 font-normal
|
|
44
|
+
block w-full py-2 font-normal leading-none! bg-transparent
|
|
45
45
|
border-none rounded-inherit transition focus:outline-none
|
|
46
46
|
placeholder:font-normal placeholder:text-muted
|
|
47
47
|
disabled:text-accented disabled:cursor-not-allowed
|
package/ui.form-label/config.ts
CHANGED
|
@@ -25,7 +25,7 @@ export default /*tw*/ {
|
|
|
25
25
|
},
|
|
26
26
|
content: "flex",
|
|
27
27
|
label: {
|
|
28
|
-
base: "z-10 block
|
|
28
|
+
base: "z-10 block leading-none! w-max transition",
|
|
29
29
|
variants: {
|
|
30
30
|
size: {
|
|
31
31
|
sm: "text-small",
|
|
@@ -40,7 +40,7 @@ export default /*tw*/ {
|
|
|
40
40
|
right: "font-normal",
|
|
41
41
|
},
|
|
42
42
|
error: {
|
|
43
|
-
true: "text-error group-focus-within/label
|
|
43
|
+
true: "text-error group-focus-within/label:text-error!",
|
|
44
44
|
},
|
|
45
45
|
disabled: {
|
|
46
46
|
true: "text-lifted cursor-not-allowed",
|
|
@@ -62,7 +62,7 @@ export default /*tw*/ {
|
|
|
62
62
|
],
|
|
63
63
|
},
|
|
64
64
|
description: {
|
|
65
|
-
base: "font-normal text-lifted text-left
|
|
65
|
+
base: "font-normal text-lifted text-left leading-tight!",
|
|
66
66
|
variants: {
|
|
67
67
|
size: {
|
|
68
68
|
sm: "text-tiny",
|
|
@@ -15,7 +15,7 @@ export default /*tw*/ {
|
|
|
15
15
|
listboxInput: {
|
|
16
16
|
base: "{UInputSearch} sticky top-0 pt-1 bg-default z-10",
|
|
17
17
|
searchInput: {
|
|
18
|
-
wrapper: "pl-2 pr-1 rounded-none border-0 border-b focus-within:outline-0
|
|
18
|
+
wrapper: "pl-2 pr-1 rounded-none border-0 border-b focus-within:outline-0 border-default!",
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
21
|
selectIcon: {
|
|
@@ -38,7 +38,7 @@ export default /*tw*/ {
|
|
|
38
38
|
option: {
|
|
39
39
|
base: `
|
|
40
40
|
rounded-small px-2 py-2 flex gap-2 items-center align-middle whitespace-nowrap cursor-pointer
|
|
41
|
-
font-normal
|
|
41
|
+
font-normal leading-snug!
|
|
42
42
|
hover:bg-{color}/5 active:bg-{color}/10
|
|
43
43
|
overflow-hidden text-ellipsis text-default
|
|
44
44
|
`,
|
|
@@ -59,7 +59,7 @@ export default /*tw*/ {
|
|
|
59
59
|
optionDisabledActive: "{>optionActive} {>optionDisabled}",
|
|
60
60
|
optionContent: "w-full truncate",
|
|
61
61
|
groupBase: {
|
|
62
|
-
base: "px-2 pb-2.5 font-medium
|
|
62
|
+
base: "px-2 pb-2.5 font-medium leading-none! text-muted truncate",
|
|
63
63
|
variants: {
|
|
64
64
|
size: {
|
|
65
65
|
sm: "text-tiny",
|
|
@@ -78,7 +78,7 @@ export default /*tw*/ {
|
|
|
78
78
|
addOptionLabelWrapper: "{>option} -mb-[1.375rem] active:bg-lifted",
|
|
79
79
|
addOptionLabel: "leading-none font-medium",
|
|
80
80
|
addOptionLabelHotkey: "text-lifted",
|
|
81
|
-
addOptionButton: "{UButton}
|
|
81
|
+
addOptionButton: "{UButton} leading-none! sticky left-[calc(100%-2.15rem)] bottom-2 p-1",
|
|
82
82
|
addOptionIcon: "{UIcon} bg-transparent",
|
|
83
83
|
selectedIcon: {
|
|
84
84
|
base: "{UIcon}",
|
package/ui.form-select/config.ts
CHANGED
|
@@ -18,7 +18,7 @@ export default /*tw*/ {
|
|
|
18
18
|
`,
|
|
19
19
|
variants: {
|
|
20
20
|
error: {
|
|
21
|
-
true: "
|
|
21
|
+
true: "border-error! focus-within:outline-error",
|
|
22
22
|
},
|
|
23
23
|
disabled: {
|
|
24
24
|
true: `
|
|
@@ -44,7 +44,7 @@ export default /*tw*/ {
|
|
|
44
44
|
compoundVariants: [{ labelAlign: "topInside", label: true, class: "pt-0" }],
|
|
45
45
|
},
|
|
46
46
|
selectedLabels: {
|
|
47
|
-
base: "w-full
|
|
47
|
+
base: "w-full leading-none! items-center whitespace-nowrap",
|
|
48
48
|
variants: {
|
|
49
49
|
size: {
|
|
50
50
|
sm: "text-small",
|
|
@@ -121,7 +121,7 @@ export default /*tw*/ {
|
|
|
121
121
|
clear: "{>toggle}",
|
|
122
122
|
clearIcon: "{UIcon} {>selectIcon}",
|
|
123
123
|
placeholder: {
|
|
124
|
-
base: "flex items-center text-muted
|
|
124
|
+
base: "flex items-center text-muted leading-none! shrink-0",
|
|
125
125
|
variants: {
|
|
126
126
|
size: {
|
|
127
127
|
sm: "text-small",
|
|
@@ -21,10 +21,10 @@ export default /*tw*/ {
|
|
|
21
21
|
`,
|
|
22
22
|
variants: {
|
|
23
23
|
error: {
|
|
24
|
-
true: "
|
|
24
|
+
true: "border-error! focus-within:outline-error",
|
|
25
25
|
},
|
|
26
26
|
disabled: {
|
|
27
|
-
true: "
|
|
27
|
+
true: "border-default! focus-within:outline-0 bg-lifted",
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
30
|
},
|
package/ui.image-icon/config.ts
CHANGED
|
@@ -28,7 +28,7 @@ export default /*tw*/ {
|
|
|
28
28
|
true: "cursor-pointer hover:text-{color}-lifted active:text-{color}-accented",
|
|
29
29
|
},
|
|
30
30
|
disabled: {
|
|
31
|
-
true: "
|
|
31
|
+
true: "text-{color}/(--vl-disabled-opacity)! cursor-not-allowed",
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
breadcrumbs: "flex items-center gap-1 py-2",
|
|
3
3
|
breadcrumbLink: "{ULink}",
|
|
4
|
-
breadcrumbLinkEmpty: "{>breadcrumbLink}
|
|
4
|
+
breadcrumbLinkEmpty: "{>breadcrumbLink} text-default! cursor-default",
|
|
5
5
|
breadcrumbIcon: {
|
|
6
6
|
base: "{UIcon}",
|
|
7
7
|
defaults: {
|
package/ui.text-badge/config.ts
CHANGED
package/ui.text-file/config.ts
CHANGED
package/ui.text-header/config.ts
CHANGED
package/ui.text-key/config.ts
CHANGED
|
@@ -2,7 +2,7 @@ export default /*tw*/ {
|
|
|
2
2
|
key: {
|
|
3
3
|
base: `
|
|
4
4
|
inline-flex items-center justify-center gap-1 border border-solid
|
|
5
|
-
rounded-small font-medium font-mono
|
|
5
|
+
rounded-small font-medium font-mono leading-none! outline-hidden
|
|
6
6
|
`,
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
package/ui.text-notify/config.ts
CHANGED
|
@@ -23,7 +23,7 @@ export default /*tw*/ {
|
|
|
23
23
|
warningIcon: "{UIcon} {>statusIcon} text-warning",
|
|
24
24
|
errorIcon: "{UIcon} {>statusIcon} text-error",
|
|
25
25
|
infoIcon: "{UIcon} {>statusIcon} text-info",
|
|
26
|
-
closeIcon: "{UIcon}
|
|
26
|
+
closeIcon: "{UIcon} text-inverted! opacity-75",
|
|
27
27
|
positionClasses: {
|
|
28
28
|
page: "UNotifyPage",
|
|
29
29
|
aside: "UNotifyAside",
|