vueless 0.0.316 → 0.0.318
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.button/composables/attrs.composable.js +2 -0
- package/ui.button/configs/default.config.js +1 -1
- package/ui.button/index.vue +13 -9
- package/ui.dropdown-badge/composables/attrs.composable.js +5 -2
- package/ui.dropdown-badge/configs/default.config.js +4 -13
- package/ui.dropdown-badge/index.vue +36 -45
- package/ui.dropdown-button/index.vue +24 -32
- package/ui.dropdown-link/composables/attrs.composable.js +2 -2
- package/ui.dropdown-link/configs/default.config.js +0 -1
- package/ui.dropdown-link/index.vue +71 -77
- package/ui.form-calendar/index.vue +20 -10
- package/ui.text-alert/configs/default.config.js +5 -5
- package/ui.text-alert/index.vue +1 -1
- package/ui.text-badge/composables/attrs.composable.js +6 -1
- package/ui.text-badge/configs/default.config.js +30 -14
- package/ui.text-badge/index.stories.js +0 -3
- package/ui.text-badge/index.vue +73 -25
- package/web-types.json +139 -103
package/ui.text-alert/index.vue
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { computed, useSlots } from "vue";
|
|
2
|
+
|
|
1
3
|
import useUI from "../../composable.ui";
|
|
2
4
|
import { cva } from "../../service.ui";
|
|
3
5
|
|
|
4
6
|
import defaultConfig from "../configs/default.config";
|
|
5
|
-
import { computed } from "vue";
|
|
6
7
|
|
|
7
8
|
export default function useAttrs(props) {
|
|
9
|
+
const slots = useSlots();
|
|
8
10
|
const { config, getAttrs, hasSlotContent, getColor, setColor, isSystemKey, isCVA } = useUI(
|
|
9
11
|
defaultConfig,
|
|
10
12
|
() => props.config,
|
|
@@ -21,6 +23,9 @@ export default function useAttrs(props) {
|
|
|
21
23
|
value = cva(value)({
|
|
22
24
|
...props,
|
|
23
25
|
color: getColor(props.color),
|
|
26
|
+
tabindex: Boolean(~props.tabindex),
|
|
27
|
+
leftIcon: Boolean(props.leftIcon) || hasSlotContent(slots["left"]),
|
|
28
|
+
rightIcon: Boolean(props.rightIcon) || hasSlotContent(slots["right"]),
|
|
24
29
|
});
|
|
25
30
|
}
|
|
26
31
|
|
|
@@ -1,30 +1,42 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
|
-
|
|
3
|
-
base: "border rounded-
|
|
2
|
+
badge: {
|
|
3
|
+
base: "border rounded-dynamic inline-block py-1 !leading-none outline-none",
|
|
4
4
|
variants: {
|
|
5
5
|
variant: {
|
|
6
|
-
primary: "bg-{color}-
|
|
6
|
+
primary: "bg-{color}-600 text-white border-transparent",
|
|
7
7
|
secondary: "border-{color}-600 text-{color}-600",
|
|
8
|
-
thirdary: "text-{color}-600 border-transparent",
|
|
8
|
+
thirdary: "bg-{color}-50 text-{color}-600 border-transparent",
|
|
9
9
|
},
|
|
10
10
|
size: {
|
|
11
11
|
sm: "px-2 text-2xs",
|
|
12
12
|
md: "px-2.5 text-xs",
|
|
13
13
|
lg: "px-3 text-sm",
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
round: {
|
|
16
|
+
true: "rounded-full",
|
|
17
|
+
},
|
|
18
|
+
tabindex: {
|
|
19
|
+
true: "cursor-pointer focus:ring-dynamic focus:ring-offset-dynamic focus:ring-{color}-700/15",
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
grayscale: "focus:ring-gray-700/15",
|
|
23
|
+
white: "focus:ring-gray-700/15",
|
|
19
24
|
},
|
|
20
25
|
},
|
|
21
26
|
compoundVariants: [
|
|
22
|
-
{
|
|
27
|
+
{ variant: "thirdary", bordered: true, class: "border-{color}-100" },
|
|
28
|
+
{ color: "grayscale", variant: "primary", class: "bg-gray-900" },
|
|
23
29
|
{ color: "grayscale", variant: "secondary", class: "border-gray-900 text-gray-900" },
|
|
24
|
-
{ color: "grayscale", variant: "thirdary", class: "text-gray-900" },
|
|
30
|
+
{ color: "grayscale", variant: "thirdary", class: "bg-gray-100 text-gray-900" },
|
|
25
31
|
{ color: "white", variant: "primary", class: "bg-white text-gray-900" },
|
|
26
32
|
{ color: "white", variant: "secondary", class: "border-white text-white" },
|
|
27
|
-
{ color: "white", variant: "thirdary", class: "text-white" },
|
|
33
|
+
{ color: "white", variant: "thirdary", class: "text-white bg-white/15" },
|
|
34
|
+
{ leftIcon: true, size: "sm", class: "pl-1.5" },
|
|
35
|
+
{ leftIcon: true, size: "md", class: "pl-1.5" },
|
|
36
|
+
{ leftIcon: true, size: "lg", class: "pl-2" },
|
|
37
|
+
{ rightIcon: true, size: "sm", class: "pr-1.5" },
|
|
38
|
+
{ rightIcon: true, size: "md", class: "pr-1.5" },
|
|
39
|
+
{ rightIcon: true, size: "lg", class: "pr-2" },
|
|
28
40
|
],
|
|
29
41
|
},
|
|
30
42
|
body: {
|
|
@@ -32,22 +44,26 @@ export default /*tw*/ {
|
|
|
32
44
|
variants: {
|
|
33
45
|
size: {
|
|
34
46
|
sm: "gap-0.5",
|
|
35
|
-
md: "gap-
|
|
36
|
-
lg: "gap-
|
|
47
|
+
md: "gap-0.5",
|
|
48
|
+
lg: "gap-0.5",
|
|
37
49
|
},
|
|
38
50
|
},
|
|
39
51
|
},
|
|
40
52
|
leftIcon: "{UIcon}",
|
|
53
|
+
centerIcon: "{UIcon}",
|
|
41
54
|
rightIcon: "{UIcon}",
|
|
42
55
|
defaults: {
|
|
43
56
|
color: "brand",
|
|
44
57
|
size: "md",
|
|
45
|
-
weight: "medium",
|
|
46
58
|
variant: "primary",
|
|
59
|
+
tabindex: "-1",
|
|
60
|
+
round: false,
|
|
61
|
+
bordered: false,
|
|
47
62
|
},
|
|
48
63
|
safelist: (colors) => [
|
|
49
64
|
{ pattern: `bg-(${colors})-50` },
|
|
50
65
|
{ pattern: `border-(${colors})-600` },
|
|
51
66
|
{ pattern: `text-(${colors})-600` },
|
|
67
|
+
{ pattern: `ring-(${colors})-700`, variants: ["focus"] },
|
|
52
68
|
],
|
|
53
69
|
};
|
|
@@ -90,9 +90,6 @@ Variants.args = { enum: "variant" };
|
|
|
90
90
|
export const Sizes = EnumVariantTemplate.bind({});
|
|
91
91
|
Sizes.args = { enum: "size" };
|
|
92
92
|
|
|
93
|
-
export const Weight = EnumVariantTemplate.bind({});
|
|
94
|
-
Weight.args = { enum: "weight" };
|
|
95
|
-
|
|
96
93
|
export const Colors = ColorsTemplate.bind({});
|
|
97
94
|
Colors.args = {};
|
|
98
95
|
|
package/ui.text-badge/index.vue
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
ref="wrapperRef"
|
|
4
|
-
tabindex="1"
|
|
5
4
|
:data-test="dataTest"
|
|
6
|
-
v-bind="
|
|
5
|
+
v-bind="badgeAttrs"
|
|
6
|
+
:tabindex="tabindex"
|
|
7
7
|
@blur="onBlur"
|
|
8
8
|
@focus="onFocus"
|
|
9
9
|
@keydown="onKeydown"
|
|
@@ -16,20 +16,42 @@
|
|
|
16
16
|
@binding {string} icon-size
|
|
17
17
|
@binding {string} icon-color
|
|
18
18
|
-->
|
|
19
|
-
<slot name="left" :icon-name="leftIcon" :icon-size="iconSize" :icon-color="
|
|
19
|
+
<slot name="left" :icon-name="leftIcon" :icon-size="iconSize" :icon-color="iconColor">
|
|
20
20
|
<UIcon
|
|
21
21
|
v-if="leftIcon"
|
|
22
|
+
internal
|
|
22
23
|
:name="leftIcon"
|
|
23
24
|
:size="iconSize"
|
|
24
|
-
:color="
|
|
25
|
-
internal
|
|
25
|
+
:color="iconColor"
|
|
26
26
|
v-bind="leftIconAttrs"
|
|
27
27
|
/>
|
|
28
28
|
</slot>
|
|
29
29
|
|
|
30
|
-
<!--
|
|
31
|
-
|
|
32
|
-
{
|
|
30
|
+
<!--
|
|
31
|
+
@slot Use it to add something instead of the label.
|
|
32
|
+
@binding {string} label
|
|
33
|
+
@binding {string} icon-name
|
|
34
|
+
@binding {string} icon-size
|
|
35
|
+
@binding {string} icon-color
|
|
36
|
+
-->
|
|
37
|
+
<slot
|
|
38
|
+
name="default"
|
|
39
|
+
:label="label"
|
|
40
|
+
:icon-name="icon"
|
|
41
|
+
:icon-size="iconSize"
|
|
42
|
+
:icon-color="iconColor"
|
|
43
|
+
>
|
|
44
|
+
<UIcon
|
|
45
|
+
v-if="icon"
|
|
46
|
+
internal
|
|
47
|
+
:name="icon"
|
|
48
|
+
:size="iconSize"
|
|
49
|
+
:color="iconColor"
|
|
50
|
+
v-bind="centerIconAttrs"
|
|
51
|
+
/>
|
|
52
|
+
<template v-else>
|
|
53
|
+
{{ label }}
|
|
54
|
+
</template>
|
|
33
55
|
</slot>
|
|
34
56
|
|
|
35
57
|
<!--
|
|
@@ -38,12 +60,12 @@
|
|
|
38
60
|
@binding {string} icon-size
|
|
39
61
|
@binding {string} icon-color
|
|
40
62
|
-->
|
|
41
|
-
<slot name="right" :icon-name="rightIcon" :icon-size="iconSize" :icon-color="
|
|
63
|
+
<slot name="right" :icon-name="rightIcon" :icon-size="iconSize" :icon-color="iconColor">
|
|
42
64
|
<UIcon
|
|
43
65
|
v-if="rightIcon"
|
|
44
66
|
:name="rightIcon"
|
|
45
67
|
:size="iconSize"
|
|
46
|
-
:color="
|
|
68
|
+
:color="iconColor"
|
|
47
69
|
internal
|
|
48
70
|
v-bind="rightIconAttrs"
|
|
49
71
|
/>
|
|
@@ -71,7 +93,6 @@ const props = defineProps({
|
|
|
71
93
|
*/
|
|
72
94
|
label: {
|
|
73
95
|
type: String,
|
|
74
|
-
required: true,
|
|
75
96
|
default: "",
|
|
76
97
|
},
|
|
77
98
|
|
|
@@ -84,6 +105,14 @@ const props = defineProps({
|
|
|
84
105
|
default: getDefault(defaultConfig, UBadge).variant,
|
|
85
106
|
},
|
|
86
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Add border to the `thirdary` variant.
|
|
110
|
+
*/
|
|
111
|
+
bordered: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: getDefault(defaultConfig, UBadge).bordered,
|
|
114
|
+
},
|
|
115
|
+
|
|
87
116
|
/**
|
|
88
117
|
* Badge size.
|
|
89
118
|
* @values sm, md, lg
|
|
@@ -93,6 +122,23 @@ const props = defineProps({
|
|
|
93
122
|
default: getDefault(defaultConfig, UBadge).size,
|
|
94
123
|
},
|
|
95
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Badge color.
|
|
127
|
+
* @values brand, grayscale, gray, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, white
|
|
128
|
+
*/
|
|
129
|
+
color: {
|
|
130
|
+
type: String,
|
|
131
|
+
default: getDefault(defaultConfig, UBadge).color,
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Icon name (appears instead of label).
|
|
136
|
+
*/
|
|
137
|
+
icon: {
|
|
138
|
+
type: String,
|
|
139
|
+
default: "",
|
|
140
|
+
},
|
|
141
|
+
|
|
96
142
|
/**
|
|
97
143
|
* Left side icon name.
|
|
98
144
|
*/
|
|
@@ -110,21 +156,19 @@ const props = defineProps({
|
|
|
110
156
|
},
|
|
111
157
|
|
|
112
158
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @values regular, medium, bold
|
|
159
|
+
* Controls the keyboard “Tab” focus order of elements.
|
|
115
160
|
*/
|
|
116
|
-
|
|
117
|
-
type: String,
|
|
118
|
-
default: getDefault(defaultConfig, UBadge).
|
|
161
|
+
tabindex: {
|
|
162
|
+
type: [String, Number],
|
|
163
|
+
default: getDefault(defaultConfig, UBadge).tabindex,
|
|
119
164
|
},
|
|
120
165
|
|
|
121
166
|
/**
|
|
122
|
-
*
|
|
123
|
-
* @values brand, grayscale, gray, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, white
|
|
167
|
+
* Set badge corners rounded.
|
|
124
168
|
*/
|
|
125
|
-
|
|
126
|
-
type:
|
|
127
|
-
default: getDefault(defaultConfig, UBadge).
|
|
169
|
+
round: {
|
|
170
|
+
type: Boolean,
|
|
171
|
+
default: getDefault(defaultConfig, UBadge).round,
|
|
128
172
|
},
|
|
129
173
|
|
|
130
174
|
/**
|
|
@@ -166,7 +210,7 @@ const emit = defineEmits([
|
|
|
166
210
|
"click",
|
|
167
211
|
]);
|
|
168
212
|
|
|
169
|
-
const {
|
|
213
|
+
const { badgeAttrs, bodyAttrs, leftIconAttrs, centerIconAttrs, rightIconAttrs } = useAttrs(props);
|
|
170
214
|
|
|
171
215
|
const wrapperRef = ref(null);
|
|
172
216
|
|
|
@@ -174,14 +218,18 @@ defineExpose({ wrapperRef });
|
|
|
174
218
|
|
|
175
219
|
const iconSize = computed(() => {
|
|
176
220
|
const sizes = {
|
|
177
|
-
sm: "
|
|
178
|
-
md: "
|
|
179
|
-
lg: "
|
|
221
|
+
sm: "3xs",
|
|
222
|
+
md: "2xs",
|
|
223
|
+
lg: "xs",
|
|
180
224
|
};
|
|
181
225
|
|
|
182
226
|
return sizes[props.size];
|
|
183
227
|
});
|
|
184
228
|
|
|
229
|
+
const iconColor = computed(() => {
|
|
230
|
+
return props.variant === "primary" ? "white" : props.color;
|
|
231
|
+
});
|
|
232
|
+
|
|
185
233
|
function onFocus() {
|
|
186
234
|
emit("focus");
|
|
187
235
|
}
|
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.318",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
481
|
"name": "bordered",
|
|
482
|
-
"description": "
|
|
482
|
+
"description": "Add border to the `thirdary` variant.",
|
|
483
483
|
"value": {
|
|
484
484
|
"kind": "expression",
|
|
485
485
|
"type": "boolean"
|
|
@@ -718,7 +718,6 @@
|
|
|
718
718
|
"attributes": [
|
|
719
719
|
{
|
|
720
720
|
"name": "label",
|
|
721
|
-
"required": true,
|
|
722
721
|
"description": "Badge label.",
|
|
723
722
|
"value": {
|
|
724
723
|
"kind": "expression",
|
|
@@ -735,6 +734,15 @@
|
|
|
735
734
|
},
|
|
736
735
|
"default": "primary"
|
|
737
736
|
},
|
|
737
|
+
{
|
|
738
|
+
"name": "bordered",
|
|
739
|
+
"description": "Add border to the `thirdary` variant.",
|
|
740
|
+
"value": {
|
|
741
|
+
"kind": "expression",
|
|
742
|
+
"type": "boolean"
|
|
743
|
+
},
|
|
744
|
+
"default": "false"
|
|
745
|
+
},
|
|
738
746
|
{
|
|
739
747
|
"name": "size",
|
|
740
748
|
"description": "Badge size.",
|
|
@@ -744,6 +752,24 @@
|
|
|
744
752
|
},
|
|
745
753
|
"default": "md"
|
|
746
754
|
},
|
|
755
|
+
{
|
|
756
|
+
"name": "color",
|
|
757
|
+
"description": "Badge color.",
|
|
758
|
+
"value": {
|
|
759
|
+
"kind": "expression",
|
|
760
|
+
"type": "'brand' | 'grayscale' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'white'"
|
|
761
|
+
},
|
|
762
|
+
"default": "brand"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "icon",
|
|
766
|
+
"description": "Icon name (appears instead of label).",
|
|
767
|
+
"value": {
|
|
768
|
+
"kind": "expression",
|
|
769
|
+
"type": "string"
|
|
770
|
+
},
|
|
771
|
+
"default": "\"\""
|
|
772
|
+
},
|
|
747
773
|
{
|
|
748
774
|
"name": "leftIcon",
|
|
749
775
|
"description": "Left side icon name.",
|
|
@@ -763,22 +789,22 @@
|
|
|
763
789
|
"default": "\"\""
|
|
764
790
|
},
|
|
765
791
|
{
|
|
766
|
-
"name": "
|
|
767
|
-
"description": "
|
|
792
|
+
"name": "tabindex",
|
|
793
|
+
"description": "Controls the keyboard “Tab” focus order of elements.",
|
|
768
794
|
"value": {
|
|
769
795
|
"kind": "expression",
|
|
770
|
-
"type": "
|
|
796
|
+
"type": "string|number"
|
|
771
797
|
},
|
|
772
|
-
"default": "
|
|
798
|
+
"default": "-1"
|
|
773
799
|
},
|
|
774
800
|
{
|
|
775
|
-
"name": "
|
|
776
|
-
"description": "
|
|
801
|
+
"name": "round",
|
|
802
|
+
"description": "Set badge corners rounded.",
|
|
777
803
|
"value": {
|
|
778
804
|
"kind": "expression",
|
|
779
|
-
"type": "
|
|
805
|
+
"type": "boolean"
|
|
780
806
|
},
|
|
781
|
-
"default": "
|
|
807
|
+
"default": "false"
|
|
782
808
|
},
|
|
783
809
|
{
|
|
784
810
|
"name": "config",
|
|
@@ -839,7 +865,26 @@
|
|
|
839
865
|
},
|
|
840
866
|
{
|
|
841
867
|
"name": "default",
|
|
842
|
-
"
|
|
868
|
+
"scoped": true,
|
|
869
|
+
"description": "Use it to add something instead of the label.",
|
|
870
|
+
"bindings": [
|
|
871
|
+
{
|
|
872
|
+
"type": "string",
|
|
873
|
+
"name": "label"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"type": "string",
|
|
877
|
+
"name": "icon-name"
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"type": "string",
|
|
881
|
+
"name": "icon-size"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"type": "string",
|
|
885
|
+
"name": "icon-color"
|
|
886
|
+
}
|
|
887
|
+
]
|
|
843
888
|
},
|
|
844
889
|
{
|
|
845
890
|
"name": "right",
|
|
@@ -2868,6 +2913,33 @@
|
|
|
2868
2913
|
},
|
|
2869
2914
|
"default": "\"\""
|
|
2870
2915
|
},
|
|
2916
|
+
{
|
|
2917
|
+
"name": "options",
|
|
2918
|
+
"description": "Options list.",
|
|
2919
|
+
"value": {
|
|
2920
|
+
"kind": "expression",
|
|
2921
|
+
"type": "array"
|
|
2922
|
+
},
|
|
2923
|
+
"default": "[]"
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"name": "labelKey",
|
|
2927
|
+
"description": "Label key in the item object of options.",
|
|
2928
|
+
"value": {
|
|
2929
|
+
"kind": "expression",
|
|
2930
|
+
"type": "string"
|
|
2931
|
+
},
|
|
2932
|
+
"default": "label"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "valueKey",
|
|
2936
|
+
"description": "Value key in the item object of options.",
|
|
2937
|
+
"value": {
|
|
2938
|
+
"kind": "expression",
|
|
2939
|
+
"type": "string"
|
|
2940
|
+
},
|
|
2941
|
+
"default": "id"
|
|
2942
|
+
},
|
|
2871
2943
|
{
|
|
2872
2944
|
"name": "variant",
|
|
2873
2945
|
"description": "Badge variant.",
|
|
@@ -2896,13 +2968,13 @@
|
|
|
2896
2968
|
"default": "md"
|
|
2897
2969
|
},
|
|
2898
2970
|
{
|
|
2899
|
-
"name": "
|
|
2900
|
-
"description": "
|
|
2971
|
+
"name": "round",
|
|
2972
|
+
"description": "Set badge corners rounded.",
|
|
2901
2973
|
"value": {
|
|
2902
2974
|
"kind": "expression",
|
|
2903
|
-
"type": "
|
|
2975
|
+
"type": "boolean"
|
|
2904
2976
|
},
|
|
2905
|
-
"default": "
|
|
2977
|
+
"default": "false"
|
|
2906
2978
|
},
|
|
2907
2979
|
{
|
|
2908
2980
|
"name": "noIcon",
|
|
@@ -2913,33 +2985,6 @@
|
|
|
2913
2985
|
},
|
|
2914
2986
|
"default": "false"
|
|
2915
2987
|
},
|
|
2916
|
-
{
|
|
2917
|
-
"name": "options",
|
|
2918
|
-
"description": "Options list.",
|
|
2919
|
-
"value": {
|
|
2920
|
-
"kind": "expression",
|
|
2921
|
-
"type": "array"
|
|
2922
|
-
},
|
|
2923
|
-
"default": "[]"
|
|
2924
|
-
},
|
|
2925
|
-
{
|
|
2926
|
-
"name": "labelKey",
|
|
2927
|
-
"description": "Label key in the item object of options.",
|
|
2928
|
-
"value": {
|
|
2929
|
-
"kind": "expression",
|
|
2930
|
-
"type": "string"
|
|
2931
|
-
},
|
|
2932
|
-
"default": "label"
|
|
2933
|
-
},
|
|
2934
|
-
{
|
|
2935
|
-
"name": "valueKey",
|
|
2936
|
-
"description": "Value key in the item object of options.",
|
|
2937
|
-
"value": {
|
|
2938
|
-
"kind": "expression",
|
|
2939
|
-
"type": "string"
|
|
2940
|
-
},
|
|
2941
|
-
"default": "id"
|
|
2942
|
-
},
|
|
2943
2988
|
{
|
|
2944
2989
|
"name": "listYPosition",
|
|
2945
2990
|
"description": "The position of dropdown list on the y-axis.",
|
|
@@ -3049,22 +3094,40 @@
|
|
|
3049
3094
|
"description": "",
|
|
3050
3095
|
"attributes": [
|
|
3051
3096
|
{
|
|
3052
|
-
"name": "
|
|
3053
|
-
"description": "
|
|
3097
|
+
"name": "label",
|
|
3098
|
+
"description": "Button label.",
|
|
3054
3099
|
"value": {
|
|
3055
3100
|
"kind": "expression",
|
|
3056
|
-
"type": "string
|
|
3101
|
+
"type": "string"
|
|
3057
3102
|
},
|
|
3058
3103
|
"default": "\"\""
|
|
3059
3104
|
},
|
|
3060
3105
|
{
|
|
3061
|
-
"name": "
|
|
3062
|
-
"description": "
|
|
3106
|
+
"name": "options",
|
|
3107
|
+
"description": "Options list.",
|
|
3108
|
+
"value": {
|
|
3109
|
+
"kind": "expression",
|
|
3110
|
+
"type": "array"
|
|
3111
|
+
},
|
|
3112
|
+
"default": "[]"
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "labelKey",
|
|
3116
|
+
"description": "Label key in the item object of options.",
|
|
3063
3117
|
"value": {
|
|
3064
3118
|
"kind": "expression",
|
|
3065
3119
|
"type": "string"
|
|
3066
3120
|
},
|
|
3067
|
-
"default": "
|
|
3121
|
+
"default": "label"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"name": "valueKey",
|
|
3125
|
+
"description": "Value key in the item object of options.",
|
|
3126
|
+
"value": {
|
|
3127
|
+
"kind": "expression",
|
|
3128
|
+
"type": "string"
|
|
3129
|
+
},
|
|
3130
|
+
"default": "id"
|
|
3068
3131
|
},
|
|
3069
3132
|
{
|
|
3070
3133
|
"name": "variant",
|
|
@@ -3138,33 +3201,6 @@
|
|
|
3138
3201
|
},
|
|
3139
3202
|
"default": "false"
|
|
3140
3203
|
},
|
|
3141
|
-
{
|
|
3142
|
-
"name": "options",
|
|
3143
|
-
"description": "Options list.",
|
|
3144
|
-
"value": {
|
|
3145
|
-
"kind": "expression",
|
|
3146
|
-
"type": "array"
|
|
3147
|
-
},
|
|
3148
|
-
"default": "[]"
|
|
3149
|
-
},
|
|
3150
|
-
{
|
|
3151
|
-
"name": "labelKey",
|
|
3152
|
-
"description": "Label key in the item object of options.",
|
|
3153
|
-
"value": {
|
|
3154
|
-
"kind": "expression",
|
|
3155
|
-
"type": "string"
|
|
3156
|
-
},
|
|
3157
|
-
"default": "label"
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"name": "valueKey",
|
|
3161
|
-
"description": "Value key in the item object of options.",
|
|
3162
|
-
"value": {
|
|
3163
|
-
"kind": "expression",
|
|
3164
|
-
"type": "string"
|
|
3165
|
-
},
|
|
3166
|
-
"default": "id"
|
|
3167
|
-
},
|
|
3168
3204
|
{
|
|
3169
3205
|
"name": "listYPosition",
|
|
3170
3206
|
"description": "The position of dropdown list on the y-axis.",
|
|
@@ -3279,6 +3315,33 @@
|
|
|
3279
3315
|
},
|
|
3280
3316
|
"default": "\"\""
|
|
3281
3317
|
},
|
|
3318
|
+
{
|
|
3319
|
+
"name": "options",
|
|
3320
|
+
"description": "Options list.",
|
|
3321
|
+
"value": {
|
|
3322
|
+
"kind": "expression",
|
|
3323
|
+
"type": "array"
|
|
3324
|
+
},
|
|
3325
|
+
"default": "[]"
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"name": "labelKey",
|
|
3329
|
+
"description": "Label key in the item object of options.",
|
|
3330
|
+
"value": {
|
|
3331
|
+
"kind": "expression",
|
|
3332
|
+
"type": "string"
|
|
3333
|
+
},
|
|
3334
|
+
"default": "label"
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"name": "valueKey",
|
|
3338
|
+
"description": "Value key in the item object of options.",
|
|
3339
|
+
"value": {
|
|
3340
|
+
"kind": "expression",
|
|
3341
|
+
"type": "string"
|
|
3342
|
+
},
|
|
3343
|
+
"default": "id"
|
|
3344
|
+
},
|
|
3282
3345
|
{
|
|
3283
3346
|
"name": "color",
|
|
3284
3347
|
"description": "Link color.",
|
|
@@ -3341,33 +3404,6 @@
|
|
|
3341
3404
|
},
|
|
3342
3405
|
"default": "false"
|
|
3343
3406
|
},
|
|
3344
|
-
{
|
|
3345
|
-
"name": "options",
|
|
3346
|
-
"description": "Options list.",
|
|
3347
|
-
"value": {
|
|
3348
|
-
"kind": "expression",
|
|
3349
|
-
"type": "array"
|
|
3350
|
-
},
|
|
3351
|
-
"default": "[]"
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"name": "labelKey",
|
|
3355
|
-
"description": "Label key in the item object of options.",
|
|
3356
|
-
"value": {
|
|
3357
|
-
"kind": "expression",
|
|
3358
|
-
"type": "string"
|
|
3359
|
-
},
|
|
3360
|
-
"default": "label"
|
|
3361
|
-
},
|
|
3362
|
-
{
|
|
3363
|
-
"name": "valueKey",
|
|
3364
|
-
"description": "Value key in the item object of options.",
|
|
3365
|
-
"value": {
|
|
3366
|
-
"kind": "expression",
|
|
3367
|
-
"type": "string"
|
|
3368
|
-
},
|
|
3369
|
-
"default": "id"
|
|
3370
|
-
},
|
|
3371
3407
|
{
|
|
3372
3408
|
"name": "listYPosition",
|
|
3373
3409
|
"description": "The position of dropdown list on the y-axis.",
|