vueless 0.0.504 → 0.0.506
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/types.ts +6 -0
- package/ui.button/UButton.vue +106 -240
- package/ui.button/config.ts +167 -0
- package/ui.button/storybook/Docs.mdx +2 -2
- package/ui.button/storybook/{stories.js → stories.ts} +36 -16
- package/ui.button/types.ts +121 -0
- package/ui.button/{useAttrs.js → useAttrs.ts} +6 -3
- package/ui.button-link/ULink.vue +72 -223
- package/ui.button-link/storybook/Docs.mdx +2 -2
- package/ui.button-link/storybook/{stories.js → stories.ts} +30 -17
- package/ui.button-link/types.ts +131 -0
- package/ui.button-link/{useAttrs.js → useAttrs.ts} +15 -3
- package/ui.button-toggle/UToggle.vue +47 -165
- package/ui.button-toggle/storybook/Docs.mdx +2 -2
- package/ui.button-toggle/storybook/{stories.js → stories.ts} +13 -5
- package/ui.button-toggle/types.ts +85 -0
- package/ui.button-toggle/useAttrs.ts +18 -0
- package/ui.button-toggle-item/UToggleItem.vue +59 -110
- package/ui.button-toggle-item/storybook/Docs.mdx +2 -2
- package/ui.button-toggle-item/storybook/{stories.js → stories.ts} +10 -3
- package/ui.button-toggle-item/types.ts +40 -0
- package/ui.button-toggle-item/{useAttrs.js → useAttrs.ts} +16 -4
- package/ui.image-icon/UIcon.vue +1 -1
- package/ui.image-icon/config.ts +5 -4
- package/ui.loader/ULoader.vue +1 -1
- package/ui.loader/config.js +2 -1
- package/ui.loader-overlay/ULoaderOverlay.vue +1 -1
- package/web-types.json +137 -59
- package/ui.button/config.js +0 -164
- package/ui.button-toggle/useAttrs.js +0 -15
- /package/ui.button/{constants.js → constants.ts} +0 -0
- /package/ui.button-link/{config.js → config.ts} +0 -0
- /package/ui.button-link/{constants.js → constants.ts} +0 -0
- /package/ui.button-toggle/{config.js → config.ts} +0 -0
- /package/ui.button-toggle/{constants.js → constants.ts} +0 -0
- /package/ui.button-toggle-item/{config.js → config.ts} +0 -0
- /package/ui.button-toggle-item/{constants.js → constants.ts} +0 -0
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.506",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -790,6 +790,7 @@
|
|
|
790
790
|
"attributes": [
|
|
791
791
|
{
|
|
792
792
|
"name": "variant",
|
|
793
|
+
"required": false,
|
|
793
794
|
"description": "Button variant.",
|
|
794
795
|
"enum": [
|
|
795
796
|
"primary",
|
|
@@ -798,12 +799,13 @@
|
|
|
798
799
|
],
|
|
799
800
|
"value": {
|
|
800
801
|
"kind": "expression",
|
|
801
|
-
"type": "
|
|
802
|
+
"type": "union"
|
|
802
803
|
},
|
|
803
804
|
"default": "primary"
|
|
804
805
|
},
|
|
805
806
|
{
|
|
806
807
|
"name": "color",
|
|
808
|
+
"required": false,
|
|
807
809
|
"description": "Button color.",
|
|
808
810
|
"enum": [
|
|
809
811
|
"brand",
|
|
@@ -830,12 +832,13 @@
|
|
|
830
832
|
],
|
|
831
833
|
"value": {
|
|
832
834
|
"kind": "expression",
|
|
833
|
-
"type": "
|
|
835
|
+
"type": "union"
|
|
834
836
|
},
|
|
835
837
|
"default": "brand"
|
|
836
838
|
},
|
|
837
839
|
{
|
|
838
840
|
"name": "size",
|
|
841
|
+
"required": false,
|
|
839
842
|
"description": "Button size.",
|
|
840
843
|
"enum": [
|
|
841
844
|
"2xs",
|
|
@@ -847,21 +850,22 @@
|
|
|
847
850
|
],
|
|
848
851
|
"value": {
|
|
849
852
|
"kind": "expression",
|
|
850
|
-
"type": "
|
|
853
|
+
"type": "union"
|
|
851
854
|
},
|
|
852
855
|
"default": "md"
|
|
853
856
|
},
|
|
854
857
|
{
|
|
855
858
|
"name": "label",
|
|
859
|
+
"required": false,
|
|
856
860
|
"description": "Button label.",
|
|
857
861
|
"value": {
|
|
858
862
|
"kind": "expression",
|
|
859
863
|
"type": "string"
|
|
860
|
-
}
|
|
861
|
-
"default": "\"\""
|
|
864
|
+
}
|
|
862
865
|
},
|
|
863
866
|
{
|
|
864
867
|
"name": "tag",
|
|
868
|
+
"required": false,
|
|
865
869
|
"description": "Allows changing button html tag.",
|
|
866
870
|
"value": {
|
|
867
871
|
"kind": "expression",
|
|
@@ -871,42 +875,48 @@
|
|
|
871
875
|
},
|
|
872
876
|
{
|
|
873
877
|
"name": "icon",
|
|
878
|
+
"required": false,
|
|
874
879
|
"description": "Icon name (appears instead of label).",
|
|
875
880
|
"value": {
|
|
876
881
|
"kind": "expression",
|
|
877
882
|
"type": "string"
|
|
878
|
-
}
|
|
879
|
-
"default": "\"\""
|
|
883
|
+
}
|
|
880
884
|
},
|
|
881
885
|
{
|
|
882
886
|
"name": "leftIcon",
|
|
887
|
+
"required": false,
|
|
883
888
|
"description": "Left icon name.",
|
|
884
889
|
"value": {
|
|
885
890
|
"kind": "expression",
|
|
886
891
|
"type": "string"
|
|
887
|
-
}
|
|
888
|
-
"default": "\"\""
|
|
892
|
+
}
|
|
889
893
|
},
|
|
890
894
|
{
|
|
891
895
|
"name": "rightIcon",
|
|
896
|
+
"required": false,
|
|
892
897
|
"description": "Right icon name.",
|
|
893
898
|
"value": {
|
|
894
899
|
"kind": "expression",
|
|
895
900
|
"type": "string"
|
|
896
|
-
}
|
|
897
|
-
"default": "\"\""
|
|
901
|
+
}
|
|
898
902
|
},
|
|
899
903
|
{
|
|
900
904
|
"name": "tabindex",
|
|
905
|
+
"required": false,
|
|
901
906
|
"description": "Controls the keyboard “Tab” focus order of elements.",
|
|
907
|
+
"enum": [
|
|
908
|
+
"string",
|
|
909
|
+
"number"
|
|
910
|
+
],
|
|
902
911
|
"value": {
|
|
903
912
|
"kind": "expression",
|
|
904
|
-
"type": "
|
|
913
|
+
"type": "union"
|
|
905
914
|
},
|
|
906
915
|
"default": "0"
|
|
907
916
|
},
|
|
908
917
|
{
|
|
909
918
|
"name": "filled",
|
|
919
|
+
"required": false,
|
|
910
920
|
"description": "Fill the background for thirdary variant.",
|
|
911
921
|
"value": {
|
|
912
922
|
"kind": "expression",
|
|
@@ -916,6 +926,7 @@
|
|
|
916
926
|
},
|
|
917
927
|
{
|
|
918
928
|
"name": "disabled",
|
|
929
|
+
"required": false,
|
|
919
930
|
"description": "Disable the button.",
|
|
920
931
|
"value": {
|
|
921
932
|
"kind": "expression",
|
|
@@ -925,6 +936,7 @@
|
|
|
925
936
|
},
|
|
926
937
|
{
|
|
927
938
|
"name": "block",
|
|
939
|
+
"required": false,
|
|
928
940
|
"description": "Make the Button fill the width with its container.",
|
|
929
941
|
"value": {
|
|
930
942
|
"kind": "expression",
|
|
@@ -934,6 +946,7 @@
|
|
|
934
946
|
},
|
|
935
947
|
{
|
|
936
948
|
"name": "round",
|
|
949
|
+
"required": false,
|
|
937
950
|
"description": "Set button corners rounded.",
|
|
938
951
|
"value": {
|
|
939
952
|
"kind": "expression",
|
|
@@ -943,6 +956,7 @@
|
|
|
943
956
|
},
|
|
944
957
|
{
|
|
945
958
|
"name": "square",
|
|
959
|
+
"required": false,
|
|
946
960
|
"description": "Set the same paddings for the button.",
|
|
947
961
|
"value": {
|
|
948
962
|
"kind": "expression",
|
|
@@ -952,6 +966,7 @@
|
|
|
952
966
|
},
|
|
953
967
|
{
|
|
954
968
|
"name": "loading",
|
|
969
|
+
"required": false,
|
|
955
970
|
"description": "Enable loader.",
|
|
956
971
|
"value": {
|
|
957
972
|
"kind": "expression",
|
|
@@ -961,6 +976,7 @@
|
|
|
961
976
|
},
|
|
962
977
|
{
|
|
963
978
|
"name": "noRing",
|
|
979
|
+
"required": false,
|
|
964
980
|
"description": "Remove button ring on focus.",
|
|
965
981
|
"value": {
|
|
966
982
|
"kind": "expression",
|
|
@@ -970,24 +986,28 @@
|
|
|
970
986
|
},
|
|
971
987
|
{
|
|
972
988
|
"name": "id",
|
|
989
|
+
"required": false,
|
|
973
990
|
"description": "Unique element id.",
|
|
974
991
|
"value": {
|
|
975
992
|
"kind": "expression",
|
|
976
993
|
"type": "string"
|
|
977
|
-
}
|
|
978
|
-
"default": "\"\""
|
|
994
|
+
}
|
|
979
995
|
},
|
|
980
996
|
{
|
|
981
997
|
"name": "config",
|
|
998
|
+
"required": false,
|
|
982
999
|
"description": "Component config object.",
|
|
1000
|
+
"enum": [
|
|
1001
|
+
"TSTypeQuery"
|
|
1002
|
+
],
|
|
983
1003
|
"value": {
|
|
984
1004
|
"kind": "expression",
|
|
985
|
-
"type": "
|
|
986
|
-
}
|
|
987
|
-
"default": "{}"
|
|
1005
|
+
"type": "Partial"
|
|
1006
|
+
}
|
|
988
1007
|
},
|
|
989
1008
|
{
|
|
990
1009
|
"name": "dataTest",
|
|
1010
|
+
"required": false,
|
|
991
1011
|
"description": "Data-test attribute for automated testing.",
|
|
992
1012
|
"value": {
|
|
993
1013
|
"kind": "expression",
|
|
@@ -5391,6 +5411,7 @@
|
|
|
5391
5411
|
"fuchsia",
|
|
5392
5412
|
"pink",
|
|
5393
5413
|
"rose",
|
|
5414
|
+
"black",
|
|
5394
5415
|
"white"
|
|
5395
5416
|
],
|
|
5396
5417
|
"value": {
|
|
@@ -7006,33 +7027,34 @@
|
|
|
7006
7027
|
"attributes": [
|
|
7007
7028
|
{
|
|
7008
7029
|
"name": "label",
|
|
7030
|
+
"required": false,
|
|
7009
7031
|
"description": "Button label.",
|
|
7010
7032
|
"value": {
|
|
7011
7033
|
"kind": "expression",
|
|
7012
7034
|
"type": "string"
|
|
7013
|
-
}
|
|
7014
|
-
"default": "\"\""
|
|
7035
|
+
}
|
|
7015
7036
|
},
|
|
7016
7037
|
{
|
|
7017
7038
|
"name": "href",
|
|
7039
|
+
"required": false,
|
|
7018
7040
|
"description": "Link href url.",
|
|
7019
7041
|
"value": {
|
|
7020
7042
|
"kind": "expression",
|
|
7021
7043
|
"type": "string"
|
|
7022
|
-
}
|
|
7023
|
-
"default": "\"\""
|
|
7044
|
+
}
|
|
7024
7045
|
},
|
|
7025
7046
|
{
|
|
7026
7047
|
"name": "to",
|
|
7048
|
+
"required": false,
|
|
7027
7049
|
"description": "Vue-router route object.",
|
|
7028
7050
|
"value": {
|
|
7029
7051
|
"kind": "expression",
|
|
7030
7052
|
"type": "object"
|
|
7031
|
-
}
|
|
7032
|
-
"default": "{}"
|
|
7053
|
+
}
|
|
7033
7054
|
},
|
|
7034
7055
|
{
|
|
7035
7056
|
"name": "size",
|
|
7057
|
+
"required": false,
|
|
7036
7058
|
"description": "Link size.",
|
|
7037
7059
|
"enum": [
|
|
7038
7060
|
"sm",
|
|
@@ -7041,12 +7063,13 @@
|
|
|
7041
7063
|
],
|
|
7042
7064
|
"value": {
|
|
7043
7065
|
"kind": "expression",
|
|
7044
|
-
"type": "
|
|
7066
|
+
"type": "union"
|
|
7045
7067
|
},
|
|
7046
7068
|
"default": "md"
|
|
7047
7069
|
},
|
|
7048
7070
|
{
|
|
7049
7071
|
"name": "color",
|
|
7072
|
+
"required": false,
|
|
7050
7073
|
"description": "Link color.",
|
|
7051
7074
|
"enum": [
|
|
7052
7075
|
"brand",
|
|
@@ -7073,12 +7096,13 @@
|
|
|
7073
7096
|
],
|
|
7074
7097
|
"value": {
|
|
7075
7098
|
"kind": "expression",
|
|
7076
|
-
"type": "
|
|
7099
|
+
"type": "union"
|
|
7077
7100
|
},
|
|
7078
7101
|
"default": "brand"
|
|
7079
7102
|
},
|
|
7080
7103
|
{
|
|
7081
7104
|
"name": "type",
|
|
7105
|
+
"required": false,
|
|
7082
7106
|
"description": "Link open type behaviour.",
|
|
7083
7107
|
"enum": [
|
|
7084
7108
|
"phone",
|
|
@@ -7087,12 +7111,13 @@
|
|
|
7087
7111
|
],
|
|
7088
7112
|
"value": {
|
|
7089
7113
|
"kind": "expression",
|
|
7090
|
-
"type": "
|
|
7114
|
+
"type": "union"
|
|
7091
7115
|
},
|
|
7092
7116
|
"default": "link"
|
|
7093
7117
|
},
|
|
7094
7118
|
{
|
|
7095
7119
|
"name": "targetBlank",
|
|
7120
|
+
"required": false,
|
|
7096
7121
|
"description": "Open link in the new tab.",
|
|
7097
7122
|
"value": {
|
|
7098
7123
|
"kind": "expression",
|
|
@@ -7102,6 +7127,7 @@
|
|
|
7102
7127
|
},
|
|
7103
7128
|
{
|
|
7104
7129
|
"name": "ariaCurrentValue",
|
|
7130
|
+
"required": false,
|
|
7105
7131
|
"description": "Pass value to the attribute aria-current when the link is exact active.",
|
|
7106
7132
|
"value": {
|
|
7107
7133
|
"kind": "expression",
|
|
@@ -7111,6 +7137,7 @@
|
|
|
7111
7137
|
},
|
|
7112
7138
|
{
|
|
7113
7139
|
"name": "custom",
|
|
7140
|
+
"required": false,
|
|
7114
7141
|
"description": "Whether RouterLink should not wrap its content in an a tag.",
|
|
7115
7142
|
"value": {
|
|
7116
7143
|
"kind": "expression",
|
|
@@ -7120,6 +7147,7 @@
|
|
|
7120
7147
|
},
|
|
7121
7148
|
{
|
|
7122
7149
|
"name": "replace",
|
|
7150
|
+
"required": false,
|
|
7123
7151
|
"description": "Whether RouterLink should not wrap its content in an a tag.",
|
|
7124
7152
|
"value": {
|
|
7125
7153
|
"kind": "expression",
|
|
@@ -7129,6 +7157,7 @@
|
|
|
7129
7157
|
},
|
|
7130
7158
|
{
|
|
7131
7159
|
"name": "activeClass",
|
|
7160
|
+
"required": false,
|
|
7132
7161
|
"description": "Apply classes to the link when its route is active or when it matches any parent route.",
|
|
7133
7162
|
"value": {
|
|
7134
7163
|
"kind": "expression",
|
|
@@ -7138,6 +7167,7 @@
|
|
|
7138
7167
|
},
|
|
7139
7168
|
{
|
|
7140
7169
|
"name": "exactActiveClass",
|
|
7170
|
+
"required": false,
|
|
7141
7171
|
"description": "Apply classes to the link when its route is active.",
|
|
7142
7172
|
"value": {
|
|
7143
7173
|
"kind": "expression",
|
|
@@ -7147,6 +7177,7 @@
|
|
|
7147
7177
|
},
|
|
7148
7178
|
{
|
|
7149
7179
|
"name": "wrapperActiveClass",
|
|
7180
|
+
"required": false,
|
|
7150
7181
|
"description": "Apply classes to the wrapper div when link route is active or when it matches any parent route.",
|
|
7151
7182
|
"value": {
|
|
7152
7183
|
"kind": "expression",
|
|
@@ -7156,6 +7187,7 @@
|
|
|
7156
7187
|
},
|
|
7157
7188
|
{
|
|
7158
7189
|
"name": "wrapperExactActiveClass",
|
|
7190
|
+
"required": false,
|
|
7159
7191
|
"description": "Apply classes to the wrapper div when link route is active.",
|
|
7160
7192
|
"value": {
|
|
7161
7193
|
"kind": "expression",
|
|
@@ -7165,6 +7197,7 @@
|
|
|
7165
7197
|
},
|
|
7166
7198
|
{
|
|
7167
7199
|
"name": "underlined",
|
|
7200
|
+
"required": false,
|
|
7168
7201
|
"description": "Show underline.",
|
|
7169
7202
|
"value": {
|
|
7170
7203
|
"kind": "expression",
|
|
@@ -7173,6 +7206,7 @@
|
|
|
7173
7206
|
},
|
|
7174
7207
|
{
|
|
7175
7208
|
"name": "dashed",
|
|
7209
|
+
"required": false,
|
|
7176
7210
|
"description": "Set link underline style as dashed.",
|
|
7177
7211
|
"value": {
|
|
7178
7212
|
"kind": "expression",
|
|
@@ -7182,6 +7216,7 @@
|
|
|
7182
7216
|
},
|
|
7183
7217
|
{
|
|
7184
7218
|
"name": "disabled",
|
|
7219
|
+
"required": false,
|
|
7185
7220
|
"description": "Disable the link.",
|
|
7186
7221
|
"value": {
|
|
7187
7222
|
"kind": "expression",
|
|
@@ -7191,6 +7226,7 @@
|
|
|
7191
7226
|
},
|
|
7192
7227
|
{
|
|
7193
7228
|
"name": "block",
|
|
7229
|
+
"required": false,
|
|
7194
7230
|
"description": "Make the Button fill the width with its container.",
|
|
7195
7231
|
"value": {
|
|
7196
7232
|
"kind": "expression",
|
|
@@ -7200,6 +7236,7 @@
|
|
|
7200
7236
|
},
|
|
7201
7237
|
{
|
|
7202
7238
|
"name": "noRing",
|
|
7239
|
+
"required": false,
|
|
7203
7240
|
"description": "Remove outline ring on focus.",
|
|
7204
7241
|
"value": {
|
|
7205
7242
|
"kind": "expression",
|
|
@@ -7209,15 +7246,19 @@
|
|
|
7209
7246
|
},
|
|
7210
7247
|
{
|
|
7211
7248
|
"name": "config",
|
|
7249
|
+
"required": false,
|
|
7212
7250
|
"description": "Component config object.",
|
|
7251
|
+
"enum": [
|
|
7252
|
+
"TSTypeQuery"
|
|
7253
|
+
],
|
|
7213
7254
|
"value": {
|
|
7214
7255
|
"kind": "expression",
|
|
7215
|
-
"type": "
|
|
7216
|
-
}
|
|
7217
|
-
"default": "{}"
|
|
7256
|
+
"type": "Partial"
|
|
7257
|
+
}
|
|
7218
7258
|
},
|
|
7219
7259
|
{
|
|
7220
7260
|
"name": "dataTest",
|
|
7261
|
+
"required": false,
|
|
7221
7262
|
"description": "Data-test attribute for automated testing.",
|
|
7222
7263
|
"value": {
|
|
7223
7264
|
"kind": "expression",
|
|
@@ -7315,6 +7356,7 @@
|
|
|
7315
7356
|
"fuchsia",
|
|
7316
7357
|
"pink",
|
|
7317
7358
|
"rose",
|
|
7359
|
+
"black",
|
|
7318
7360
|
"white"
|
|
7319
7361
|
],
|
|
7320
7362
|
"value": {
|
|
@@ -7385,6 +7427,7 @@
|
|
|
7385
7427
|
"fuchsia",
|
|
7386
7428
|
"pink",
|
|
7387
7429
|
"rose",
|
|
7430
|
+
"black",
|
|
7388
7431
|
"white"
|
|
7389
7432
|
],
|
|
7390
7433
|
"value": {
|
|
@@ -10841,24 +10884,33 @@
|
|
|
10841
10884
|
"attributes": [
|
|
10842
10885
|
{
|
|
10843
10886
|
"name": "modelValue",
|
|
10887
|
+
"required": false,
|
|
10844
10888
|
"description": "Selected value.",
|
|
10889
|
+
"enum": [
|
|
10890
|
+
"string",
|
|
10891
|
+
"number",
|
|
10892
|
+
"Array"
|
|
10893
|
+
],
|
|
10845
10894
|
"value": {
|
|
10846
10895
|
"kind": "expression",
|
|
10847
|
-
"type": "
|
|
10848
|
-
}
|
|
10849
|
-
"default": "\"\""
|
|
10896
|
+
"type": "union"
|
|
10897
|
+
}
|
|
10850
10898
|
},
|
|
10851
10899
|
{
|
|
10852
10900
|
"name": "options",
|
|
10901
|
+
"required": false,
|
|
10853
10902
|
"description": "Toggle item options.",
|
|
10903
|
+
"enum": [
|
|
10904
|
+
"union"
|
|
10905
|
+
],
|
|
10854
10906
|
"value": {
|
|
10855
10907
|
"kind": "expression",
|
|
10856
|
-
"type": "
|
|
10857
|
-
}
|
|
10858
|
-
"default": "[]"
|
|
10908
|
+
"type": "Array"
|
|
10909
|
+
}
|
|
10859
10910
|
},
|
|
10860
10911
|
{
|
|
10861
10912
|
"name": "variant",
|
|
10913
|
+
"required": false,
|
|
10862
10914
|
"description": "Toggle variant.",
|
|
10863
10915
|
"enum": [
|
|
10864
10916
|
"primary",
|
|
@@ -10867,12 +10919,13 @@
|
|
|
10867
10919
|
],
|
|
10868
10920
|
"value": {
|
|
10869
10921
|
"kind": "expression",
|
|
10870
|
-
"type": "
|
|
10922
|
+
"type": "union"
|
|
10871
10923
|
},
|
|
10872
10924
|
"default": "primary"
|
|
10873
10925
|
},
|
|
10874
10926
|
{
|
|
10875
10927
|
"name": "size",
|
|
10928
|
+
"required": false,
|
|
10876
10929
|
"description": "Toggle size.",
|
|
10877
10930
|
"enum": [
|
|
10878
10931
|
"2xs",
|
|
@@ -10884,12 +10937,13 @@
|
|
|
10884
10937
|
],
|
|
10885
10938
|
"value": {
|
|
10886
10939
|
"kind": "expression",
|
|
10887
|
-
"type": "
|
|
10940
|
+
"type": "union"
|
|
10888
10941
|
},
|
|
10889
10942
|
"default": "md"
|
|
10890
10943
|
},
|
|
10891
10944
|
{
|
|
10892
10945
|
"name": "labelAlign",
|
|
10946
|
+
"required": false,
|
|
10893
10947
|
"description": "Label placement.",
|
|
10894
10948
|
"enum": [
|
|
10895
10949
|
"top",
|
|
@@ -10899,27 +10953,27 @@
|
|
|
10899
10953
|
],
|
|
10900
10954
|
"value": {
|
|
10901
10955
|
"kind": "expression",
|
|
10902
|
-
"type": "
|
|
10956
|
+
"type": "union"
|
|
10903
10957
|
},
|
|
10904
10958
|
"default": "top"
|
|
10905
10959
|
},
|
|
10906
10960
|
{
|
|
10907
10961
|
"name": "label",
|
|
10962
|
+
"required": false,
|
|
10908
10963
|
"description": "Toggle label.",
|
|
10909
10964
|
"value": {
|
|
10910
10965
|
"kind": "expression",
|
|
10911
10966
|
"type": "string"
|
|
10912
|
-
}
|
|
10913
|
-
"default": "\"\""
|
|
10967
|
+
}
|
|
10914
10968
|
},
|
|
10915
10969
|
{
|
|
10916
10970
|
"name": "description",
|
|
10971
|
+
"required": false,
|
|
10917
10972
|
"description": "Toggle description.",
|
|
10918
10973
|
"value": {
|
|
10919
10974
|
"kind": "expression",
|
|
10920
10975
|
"type": "string"
|
|
10921
|
-
}
|
|
10922
|
-
"default": "\"\""
|
|
10976
|
+
}
|
|
10923
10977
|
},
|
|
10924
10978
|
{
|
|
10925
10979
|
"name": "name",
|
|
@@ -10932,6 +10986,7 @@
|
|
|
10932
10986
|
},
|
|
10933
10987
|
{
|
|
10934
10988
|
"name": "multiple",
|
|
10989
|
+
"required": false,
|
|
10935
10990
|
"description": "Allow selecting a few options and return them as an array.",
|
|
10936
10991
|
"value": {
|
|
10937
10992
|
"kind": "expression",
|
|
@@ -10941,6 +10996,7 @@
|
|
|
10941
10996
|
},
|
|
10942
10997
|
{
|
|
10943
10998
|
"name": "separated",
|
|
10999
|
+
"required": false,
|
|
10944
11000
|
"description": "Separate toggle items.",
|
|
10945
11001
|
"value": {
|
|
10946
11002
|
"kind": "expression",
|
|
@@ -10950,6 +11006,7 @@
|
|
|
10950
11006
|
},
|
|
10951
11007
|
{
|
|
10952
11008
|
"name": "disabled",
|
|
11009
|
+
"required": false,
|
|
10953
11010
|
"description": "Make toggle disabled.",
|
|
10954
11011
|
"value": {
|
|
10955
11012
|
"kind": "expression",
|
|
@@ -10959,6 +11016,7 @@
|
|
|
10959
11016
|
},
|
|
10960
11017
|
{
|
|
10961
11018
|
"name": "block",
|
|
11019
|
+
"required": false,
|
|
10962
11020
|
"description": "Make the toggle fill the width with its container.",
|
|
10963
11021
|
"value": {
|
|
10964
11022
|
"kind": "expression",
|
|
@@ -10968,6 +11026,7 @@
|
|
|
10968
11026
|
},
|
|
10969
11027
|
{
|
|
10970
11028
|
"name": "round",
|
|
11029
|
+
"required": false,
|
|
10971
11030
|
"description": "Set button corners rounded.",
|
|
10972
11031
|
"value": {
|
|
10973
11032
|
"kind": "expression",
|
|
@@ -10977,6 +11036,7 @@
|
|
|
10977
11036
|
},
|
|
10978
11037
|
{
|
|
10979
11038
|
"name": "square",
|
|
11039
|
+
"required": false,
|
|
10980
11040
|
"description": "Set the same paddings for the button.",
|
|
10981
11041
|
"value": {
|
|
10982
11042
|
"kind": "expression",
|
|
@@ -10986,15 +11046,19 @@
|
|
|
10986
11046
|
},
|
|
10987
11047
|
{
|
|
10988
11048
|
"name": "config",
|
|
11049
|
+
"required": false,
|
|
10989
11050
|
"description": "Component config object.",
|
|
11051
|
+
"enum": [
|
|
11052
|
+
"TSTypeQuery"
|
|
11053
|
+
],
|
|
10990
11054
|
"value": {
|
|
10991
11055
|
"kind": "expression",
|
|
10992
|
-
"type": "
|
|
10993
|
-
}
|
|
10994
|
-
"default": "{}"
|
|
11056
|
+
"type": "Partial"
|
|
11057
|
+
}
|
|
10995
11058
|
},
|
|
10996
11059
|
{
|
|
10997
11060
|
"name": "dataTest",
|
|
11061
|
+
"required": false,
|
|
10998
11062
|
"description": "Data-test attribute for automated testing.",
|
|
10999
11063
|
"value": {
|
|
11000
11064
|
"kind": "expression",
|
|
@@ -11034,33 +11098,43 @@
|
|
|
11034
11098
|
"attributes": [
|
|
11035
11099
|
{
|
|
11036
11100
|
"name": "modelValue",
|
|
11101
|
+
"required": false,
|
|
11037
11102
|
"description": "Selected value.",
|
|
11103
|
+
"enum": [
|
|
11104
|
+
"string",
|
|
11105
|
+
"number",
|
|
11106
|
+
"Array"
|
|
11107
|
+
],
|
|
11038
11108
|
"value": {
|
|
11039
11109
|
"kind": "expression",
|
|
11040
|
-
"type": "
|
|
11041
|
-
}
|
|
11042
|
-
"default": "\"\""
|
|
11110
|
+
"type": "union"
|
|
11111
|
+
}
|
|
11043
11112
|
},
|
|
11044
11113
|
{
|
|
11045
11114
|
"name": "value",
|
|
11115
|
+
"required": false,
|
|
11046
11116
|
"description": "Value for checkbox state.",
|
|
11117
|
+
"enum": [
|
|
11118
|
+
"string",
|
|
11119
|
+
"number"
|
|
11120
|
+
],
|
|
11047
11121
|
"value": {
|
|
11048
11122
|
"kind": "expression",
|
|
11049
|
-
"type": "
|
|
11050
|
-
}
|
|
11051
|
-
"default": "\"\""
|
|
11123
|
+
"type": "union"
|
|
11124
|
+
}
|
|
11052
11125
|
},
|
|
11053
11126
|
{
|
|
11054
11127
|
"name": "label",
|
|
11128
|
+
"required": false,
|
|
11055
11129
|
"description": "Toggle item label.",
|
|
11056
11130
|
"value": {
|
|
11057
11131
|
"kind": "expression",
|
|
11058
11132
|
"type": "string"
|
|
11059
|
-
}
|
|
11060
|
-
"default": "\"\""
|
|
11133
|
+
}
|
|
11061
11134
|
},
|
|
11062
11135
|
{
|
|
11063
11136
|
"name": "disabled",
|
|
11137
|
+
"required": false,
|
|
11064
11138
|
"description": "Make toggle item disabled.",
|
|
11065
11139
|
"value": {
|
|
11066
11140
|
"kind": "expression",
|
|
@@ -11070,24 +11144,28 @@
|
|
|
11070
11144
|
},
|
|
11071
11145
|
{
|
|
11072
11146
|
"name": "id",
|
|
11147
|
+
"required": false,
|
|
11073
11148
|
"description": "Unique element id.",
|
|
11074
11149
|
"value": {
|
|
11075
11150
|
"kind": "expression",
|
|
11076
11151
|
"type": "string"
|
|
11077
|
-
}
|
|
11078
|
-
"default": "\"\""
|
|
11152
|
+
}
|
|
11079
11153
|
},
|
|
11080
11154
|
{
|
|
11081
11155
|
"name": "config",
|
|
11156
|
+
"required": false,
|
|
11082
11157
|
"description": "Component config object.",
|
|
11158
|
+
"enum": [
|
|
11159
|
+
"TSTypeQuery"
|
|
11160
|
+
],
|
|
11083
11161
|
"value": {
|
|
11084
11162
|
"kind": "expression",
|
|
11085
|
-
"type": "
|
|
11086
|
-
}
|
|
11087
|
-
"default": "{}"
|
|
11163
|
+
"type": "Partial"
|
|
11164
|
+
}
|
|
11088
11165
|
},
|
|
11089
11166
|
{
|
|
11090
11167
|
"name": "dataTest",
|
|
11168
|
+
"required": false,
|
|
11091
11169
|
"description": "Data-test attribute for automated testing.",
|
|
11092
11170
|
"value": {
|
|
11093
11171
|
"kind": "expression",
|