@fkui/vue 6.14.0 → 6.16.0
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/LICENSE.md +1 -1
- package/dist/cjs/cypress.cjs.js +210 -4
- package/dist/cjs/cypress.cjs.js.map +2 -2
- package/dist/cjs/index.cjs.js +984 -360
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +210 -4
- package/dist/esm/cypress.esm.js.map +2 -2
- package/dist/esm/index.esm.js +993 -369
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +11 -0
- package/dist/types/index.d.ts +476 -90
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/cypress.js +3 -0
- package/htmlvalidate/elements/components.js +43 -1
- package/htmlvalidate/elements/internal-components.js +7 -0
- package/package.json +5 -5
package/htmlvalidate/cypress.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
const { defineMetadata } = require("html-validate");
|
|
1
|
+
const { defineMetadata, metadataHelper } = require("html-validate");
|
|
2
|
+
|
|
3
|
+
const { allowedIfAttributeHasValue, allowedIfAttributeIsAbsent } =
|
|
4
|
+
metadataHelper;
|
|
2
5
|
|
|
3
6
|
module.exports = defineMetadata({
|
|
4
7
|
/* f-label is defined at top as many other elements inherits from it */
|
|
@@ -116,6 +119,38 @@ module.exports = defineMetadata({
|
|
|
116
119
|
inherit: "f-label#error-message",
|
|
117
120
|
},
|
|
118
121
|
|
|
122
|
+
"f-button": {
|
|
123
|
+
inherit: "button",
|
|
124
|
+
attributes: {
|
|
125
|
+
size: {
|
|
126
|
+
enum: ["small", "medium", "large"],
|
|
127
|
+
},
|
|
128
|
+
"icon-left": {
|
|
129
|
+
allowed: allowedIfAttributeIsAbsent("icon-right"),
|
|
130
|
+
enum: ["/.+/"],
|
|
131
|
+
},
|
|
132
|
+
"icon-right": {
|
|
133
|
+
allowed: allowedIfAttributeIsAbsent("icon-left"),
|
|
134
|
+
enum: ["/.+/"],
|
|
135
|
+
},
|
|
136
|
+
"tertiary-style": {
|
|
137
|
+
allowed: allowedIfAttributeHasValue("variant", ["tertiary"], {
|
|
138
|
+
defaultValue: "primary",
|
|
139
|
+
}),
|
|
140
|
+
enum: ["standard", "black", "inverted"],
|
|
141
|
+
},
|
|
142
|
+
"align-text": {
|
|
143
|
+
boolean: true,
|
|
144
|
+
allowed: allowedIfAttributeHasValue("variant", ["tertiary"], {
|
|
145
|
+
defaultValue: "primary",
|
|
146
|
+
}),
|
|
147
|
+
},
|
|
148
|
+
"mobile-full-width": {
|
|
149
|
+
boolean: true,
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
|
|
119
154
|
"f-data-table": {
|
|
120
155
|
flow: true,
|
|
121
156
|
attributes: {
|
|
@@ -166,6 +201,9 @@ module.exports = defineMetadata({
|
|
|
166
201
|
"always-inline": {
|
|
167
202
|
boolean: true,
|
|
168
203
|
},
|
|
204
|
+
"year-selector": {
|
|
205
|
+
boolean: true,
|
|
206
|
+
},
|
|
169
207
|
},
|
|
170
208
|
slots: ["default", "tooltip", "description", "error-message"],
|
|
171
209
|
},
|
|
@@ -211,6 +249,10 @@ module.exports = defineMetadata({
|
|
|
211
249
|
"tab-date": {},
|
|
212
250
|
"min-date": {},
|
|
213
251
|
"max-date": {},
|
|
252
|
+
"year-selector": {
|
|
253
|
+
boolean: true,
|
|
254
|
+
},
|
|
255
|
+
id: {},
|
|
214
256
|
},
|
|
215
257
|
},
|
|
216
258
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.16.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"unit:watch": "jest --watch"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@fkui/date": "^6.
|
|
64
|
-
"@fkui/design": "^6.
|
|
65
|
-
"@fkui/logic": "^6.
|
|
63
|
+
"@fkui/date": "^6.16.0",
|
|
64
|
+
"@fkui/design": "^6.16.0",
|
|
65
|
+
"@fkui/logic": "^6.16.0",
|
|
66
66
|
"fk-icons": "^4.30.1",
|
|
67
67
|
"html-validate": ">= 7.9.0",
|
|
68
68
|
"vue": "^3.5.0"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">= 20",
|
|
80
80
|
"npm": ">= 7"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "e3deb02dce0ad9f06b3a80ac1910abd71ba578e7"
|
|
83
83
|
}
|