vueless 0.0.312 → 0.0.314
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
|
-
|
|
2
|
+
toggleLabel: {
|
|
3
3
|
component: "{ULabel}",
|
|
4
4
|
base: "flex flex-wrap",
|
|
5
5
|
variants: {
|
|
@@ -30,6 +30,9 @@ export default /*tw*/ {
|
|
|
30
30
|
focus-within:ring-dynamic focus-within:ring-offset-dynamic focus-within:ring-brand-700/15
|
|
31
31
|
`,
|
|
32
32
|
},
|
|
33
|
+
block: {
|
|
34
|
+
true: "w-full flex-nowrap",
|
|
35
|
+
},
|
|
33
36
|
},
|
|
34
37
|
compoundVariants: [
|
|
35
38
|
{ separated: false, variant: "thirdary", class: "space-x-px" },
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:align="labelAlign"
|
|
7
7
|
:disabled="disabled"
|
|
8
8
|
centred
|
|
9
|
-
v-bind="
|
|
9
|
+
v-bind="toggleLabelAttrs"
|
|
10
10
|
:data-test="dataTest"
|
|
11
11
|
>
|
|
12
12
|
<div v-bind="itemsAttrs">
|
|
@@ -183,7 +183,7 @@ const emit = defineEmits([
|
|
|
183
183
|
"update:modelValue",
|
|
184
184
|
]);
|
|
185
185
|
|
|
186
|
-
const {
|
|
186
|
+
const { toggleLabelAttrs, itemsAttrs, itemAttrs } = useAttrs(props);
|
|
187
187
|
|
|
188
188
|
const selectedValue = computed({
|
|
189
189
|
get: () => props.modelValue,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
icon: {
|
|
3
|
-
base: "
|
|
3
|
+
base: "fill-current outline-0 shrink-0 grow-0",
|
|
4
4
|
variants: {
|
|
5
5
|
variant: {
|
|
6
6
|
light: "text-{color}-400",
|
|
@@ -31,14 +31,14 @@ export default /*tw*/ {
|
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
defaults: {
|
|
34
|
-
name: "",
|
|
35
|
-
library: "@material-symbols",
|
|
36
|
-
weight: 500,
|
|
37
|
-
style: "outlined",
|
|
38
34
|
color: "grayscale",
|
|
39
35
|
size: "md",
|
|
40
36
|
variant: "default",
|
|
41
37
|
interactive: false,
|
|
38
|
+
/* icon library */
|
|
39
|
+
library: "@material-symbols",
|
|
40
|
+
style: "outlined",
|
|
41
|
+
weight: 500,
|
|
42
42
|
},
|
|
43
43
|
safelist: (colors) => [
|
|
44
44
|
{ pattern: `text-(${colors})-400` },
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.314",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -4092,7 +4092,7 @@
|
|
|
4092
4092
|
"kind": "expression",
|
|
4093
4093
|
"type": "string"
|
|
4094
4094
|
},
|
|
4095
|
-
"default": ""
|
|
4095
|
+
"default": "\"\""
|
|
4096
4096
|
},
|
|
4097
4097
|
{
|
|
4098
4098
|
"name": "color",
|