vueless 0.0.825-beta.13 → 0.0.825-beta.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/package.json +1 -1
- package/tailwind.css +27 -49
- package/ui.button/types.ts +1 -1
- package/ui.button-link/config.ts +3 -2
- package/ui.button-link/types.ts +2 -2
- package/ui.button-toggle/types.ts +1 -1
- package/ui.container-row/config.ts +6 -6
- package/ui.container-row/storybook/stories.ts +0 -16
- package/ui.container-row/types.ts +2 -2
- package/ui.loader-overlay/config.ts +0 -1
- package/ui.navigation-tabs/types.ts +1 -1
- package/ui.text-block/config.ts +1 -1
package/package.json
CHANGED
package/tailwind.css
CHANGED
|
@@ -87,10 +87,27 @@
|
|
|
87
87
|
--color-grayscale-lifted: var(--vl-grayscale-lifted);
|
|
88
88
|
--color-grayscale-accented: var(--vl-grayscale-accented);
|
|
89
89
|
|
|
90
|
-
/* Border
|
|
91
|
-
--
|
|
92
|
-
--
|
|
93
|
-
--
|
|
90
|
+
/* Border colors */
|
|
91
|
+
--border-color-default: var(--vl-border);
|
|
92
|
+
--border-color-lifted: var(--vl-border-lifted);
|
|
93
|
+
--border-color-accented: var(--vl-border-accented);
|
|
94
|
+
--border-color-muted: var(--vl-border-muted);
|
|
95
|
+
|
|
96
|
+
/* Background colors
|
|
97
|
+
TODO: find how to declare like below
|
|
98
|
+
--bg-color-default: var(--vl-bg);
|
|
99
|
+
--bg-color-lifted: var(--vl-bg-lifted);
|
|
100
|
+
--bg-color-accented: var(--vl-bg-accented);
|
|
101
|
+
--bg-color-muted: var(--vl-bg-muted);
|
|
102
|
+
--bg-color-inverted: var(--vl-bg-inverted);
|
|
103
|
+
*/
|
|
104
|
+
|
|
105
|
+
/* Text colors */
|
|
106
|
+
--text-color-default: var(--vl-text);
|
|
107
|
+
--text-color-lifted: var(--vl-text-lifted);
|
|
108
|
+
--text-color-accented: var(--vl-text-accented);
|
|
109
|
+
--text-color-muted: var(--vl-text-muted);
|
|
110
|
+
--text-color-inverted: var(--vl-text-inverted);
|
|
94
111
|
|
|
95
112
|
/* Text size */
|
|
96
113
|
--text-tiny: var(--vl-text-xs);
|
|
@@ -102,6 +119,11 @@
|
|
|
102
119
|
--text-large: var(--vl-text-lg);
|
|
103
120
|
--text-large--line-height: calc(1 / var(--vl-text-lg));
|
|
104
121
|
|
|
122
|
+
/* Border radius rounding values */
|
|
123
|
+
--radius-small: var(--vl-rounding-sm);
|
|
124
|
+
--radius-medium: var(--vl-rounding-md);
|
|
125
|
+
--radius-large: var(--vl-rounding-lg);
|
|
126
|
+
|
|
105
127
|
/* Mobile safe area spaceing. */
|
|
106
128
|
--spacing-safe-top: "env(safe-area-inset-top)";
|
|
107
129
|
--spacing-safe-bottom: "env(safe-area-inset-bottom)";
|
|
@@ -109,47 +131,7 @@
|
|
|
109
131
|
--spacing-safe-right: "env(safe-area-inset-right)";
|
|
110
132
|
}
|
|
111
133
|
|
|
112
|
-
/*
|
|
113
|
-
|
|
114
|
-
@utility text-default {
|
|
115
|
-
color: var(--vl-text);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
@utility text-lifted {
|
|
119
|
-
color: var(--vl-text-lifted);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@utility text-accented {
|
|
123
|
-
color: var(--vl-text-accented);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@utility text-muted {
|
|
127
|
-
color: var(--vl-text-muted);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@utility text-inverted {
|
|
131
|
-
color: var(--vl-text-inverted);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/* ------ Border color utilities ------ */
|
|
135
|
-
|
|
136
|
-
@utility border-default {
|
|
137
|
-
border-color: var(--vl-border);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
@utility border-lifted {
|
|
141
|
-
border-color: var(--vl-border-lifted);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@utility border-accented {
|
|
145
|
-
border-color: var(--vl-border-accented);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
@utility border-muted {
|
|
149
|
-
border-color: var(--vl-border-muted);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/* ------ Background color utilities ------ */
|
|
134
|
+
/* Background color utilities */
|
|
153
135
|
|
|
154
136
|
@utility bg-default {
|
|
155
137
|
background-color: var(--vl-bg);
|
|
@@ -167,10 +149,6 @@
|
|
|
167
149
|
background-color: var(--vl-bg-muted);
|
|
168
150
|
}
|
|
169
151
|
|
|
170
|
-
@utility bg-inverted {
|
|
171
|
-
background-color: var(--vl-bg-inverted);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
152
|
/* ------ Outline width utilities ------ */
|
|
175
153
|
|
|
176
154
|
@utility outline-small {
|
package/ui.button/types.ts
CHANGED
package/ui.button-link/config.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
link: {
|
|
3
3
|
base: `
|
|
4
|
-
inline-block cursor-pointer !leading-none
|
|
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
|
|
8
|
-
focus-visible:outline-medium focus-visible:
|
|
8
|
+
focus-visible:outline-medium focus-visible:rounded-small
|
|
9
|
+
focus-visible:outline-offset-4 focus-visible:outline-{color}
|
|
9
10
|
`,
|
|
10
11
|
variants: {
|
|
11
12
|
size: {
|
package/ui.button-link/types.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface ULinkSlotProps {
|
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Link label.
|
|
16
16
|
*/
|
|
17
17
|
label?: string;
|
|
18
18
|
|
|
@@ -91,7 +91,7 @@ export interface Props {
|
|
|
91
91
|
disabled?: boolean;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* Make the
|
|
94
|
+
* Make the Link expand to fill the entire width of its container.
|
|
95
95
|
*/
|
|
96
96
|
block?: boolean;
|
|
97
97
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
wrapper: {
|
|
3
|
-
base: "flex
|
|
3
|
+
base: "flex",
|
|
4
4
|
variants: {
|
|
5
5
|
reverse: {
|
|
6
|
-
false: "flex-
|
|
7
|
-
true: "flex-
|
|
6
|
+
false: "flex-row",
|
|
7
|
+
true: "flex-row-reverse",
|
|
8
8
|
},
|
|
9
9
|
wrap: {
|
|
10
10
|
true: "flex-wrap",
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
true: "
|
|
12
|
+
block: {
|
|
13
|
+
true: "w-full",
|
|
14
14
|
},
|
|
15
15
|
gap: {
|
|
16
16
|
none: "gap-0",
|
|
@@ -56,7 +56,7 @@ export default /*tw*/ {
|
|
|
56
56
|
content: "start",
|
|
57
57
|
justify: "start",
|
|
58
58
|
wrap: false,
|
|
59
|
+
block: false,
|
|
59
60
|
reverse: false,
|
|
60
|
-
noMobile: false,
|
|
61
61
|
},
|
|
62
62
|
};
|
|
@@ -128,22 +128,6 @@ Justify.parameters = {
|
|
|
128
128
|
},
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
export const NoMobile = DefaultTemplate.bind({});
|
|
132
|
-
NoMobile.args = {
|
|
133
|
-
noMobile: true,
|
|
134
|
-
slotTemplate: `
|
|
135
|
-
<UInput label="First Name" />
|
|
136
|
-
<UInput label="Last Name" />
|
|
137
|
-
`,
|
|
138
|
-
};
|
|
139
|
-
NoMobile.parameters = {
|
|
140
|
-
docs: {
|
|
141
|
-
description: {
|
|
142
|
-
story: "Disables mobile adaptivity.",
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
};
|
|
146
|
-
|
|
147
131
|
export const SlotDefault = DefaultTemplate.bind({});
|
|
148
132
|
SlotDefault.args = {
|
|
149
133
|
slotTemplate: `
|
package/ui.text-block/config.ts
CHANGED
|
@@ -4,7 +4,7 @@ export default /*tw*/ {
|
|
|
4
4
|
font-normal leading-normal
|
|
5
5
|
[&_b]:font-bold [&_i]:italic [&_p]:font-normal
|
|
6
6
|
[&_a:not([class])]:underline [&_a:not([class])]:underline-offset-4
|
|
7
|
-
[&_a:not([class]):hover]:no-underline [&_a:not([class])]:font-
|
|
7
|
+
[&_a:not([class]):hover]:no-underline [&_a:not([class])]:font-medium
|
|
8
8
|
[&_ul]:font-normal [&_ol]:font-normal
|
|
9
9
|
[&_ul]:leading-normal [&_ol]:leading-normal
|
|
10
10
|
[&_ul]:list-disc [&_ol]:list-decimal
|