@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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.8"
8
+ "packageVersion": "7.52.10"
9
9
  }
10
10
  ]
11
11
  }
@@ -10,6 +10,9 @@ module.exports = [
10
10
  /* FList uses a ul with role="select" */
11
11
  "ul.list",
12
12
 
13
+ /* FCalendar uses a ul with role="listbox" */
14
+ ".calendar__year-selector__listbox",
15
+
13
16
  /* ICalendar misuses aria-label */
14
17
  ".calendar ul[aria-label]",
15
18
 
@@ -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
 
@@ -95,6 +95,13 @@ module.exports = defineMetadata({
95
95
  "max-date": {
96
96
  required: true,
97
97
  },
98
+ "year-selector": {
99
+ boolean: true,
100
+ },
101
+ "year-selector-open": {
102
+ boolean: true,
103
+ },
104
+ id: {},
98
105
  },
99
106
  },
100
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fkui/vue",
3
- "version": "6.14.0",
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.14.0",
64
- "@fkui/design": "^6.14.0",
65
- "@fkui/logic": "^6.14.0",
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": "be0e617deddf3bf47dcee46b025980be6dff86fa"
82
+ "gitHead": "e3deb02dce0ad9f06b3a80ac1910abd71ba578e7"
83
83
  }