@spectrum-web-components/tags 0.35.1-rc.24 → 0.35.1-rc.26

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.
@@ -0,0 +1,293 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-tag.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-tag",
13
+ "declaration": {
14
+ "name": "Tag",
15
+ "module": "/src/Tag.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "sp-tags.ts",
23
+ "declarations": [],
24
+ "exports": [
25
+ {
26
+ "kind": "custom-element-definition",
27
+ "name": "sp-tags",
28
+ "declaration": {
29
+ "name": "Tags",
30
+ "module": "/src/Tags.js"
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "kind": "javascript-module",
37
+ "path": "src/Tag.ts",
38
+ "declarations": [
39
+ {
40
+ "kind": "class",
41
+ "description": "",
42
+ "name": "Tag",
43
+ "slots": [
44
+ {
45
+ "description": "text content for labeling the tag",
46
+ "name": ""
47
+ },
48
+ {
49
+ "description": "an avatar element to display within the Tag",
50
+ "name": "avatar"
51
+ },
52
+ {
53
+ "description": "an icon element to display within the Tag",
54
+ "name": "icon"
55
+ }
56
+ ],
57
+ "members": [
58
+ {
59
+ "kind": "field",
60
+ "name": "deletable",
61
+ "type": {
62
+ "text": "boolean"
63
+ },
64
+ "privacy": "public",
65
+ "default": "false",
66
+ "attribute": "deletable",
67
+ "reflects": true
68
+ },
69
+ {
70
+ "kind": "field",
71
+ "name": "disabled",
72
+ "type": {
73
+ "text": "boolean"
74
+ },
75
+ "privacy": "public",
76
+ "default": "false",
77
+ "attribute": "disabled",
78
+ "reflects": true
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "readonly",
83
+ "type": {
84
+ "text": "boolean"
85
+ },
86
+ "privacy": "public",
87
+ "default": "false",
88
+ "attribute": "readonly",
89
+ "reflects": true
90
+ },
91
+ {
92
+ "kind": "field",
93
+ "name": "hasIcon",
94
+ "type": {
95
+ "text": "boolean"
96
+ },
97
+ "privacy": "private",
98
+ "readonly": true
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "hasAvatar",
103
+ "type": {
104
+ "text": "boolean"
105
+ },
106
+ "privacy": "private",
107
+ "readonly": true
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "handleFocusin",
112
+ "privacy": "private"
113
+ },
114
+ {
115
+ "kind": "field",
116
+ "name": "handleFocusout",
117
+ "privacy": "private"
118
+ },
119
+ {
120
+ "kind": "field",
121
+ "name": "handleKeydown",
122
+ "privacy": "private"
123
+ },
124
+ {
125
+ "kind": "method",
126
+ "name": "delete",
127
+ "privacy": "private",
128
+ "return": {
129
+ "type": {
130
+ "text": "void"
131
+ }
132
+ }
133
+ }
134
+ ],
135
+ "events": [
136
+ {
137
+ "name": "delete",
138
+ "type": {
139
+ "text": "Event"
140
+ }
141
+ }
142
+ ],
143
+ "attributes": [
144
+ {
145
+ "name": "deletable",
146
+ "type": {
147
+ "text": "boolean"
148
+ },
149
+ "default": "false",
150
+ "fieldName": "deletable"
151
+ },
152
+ {
153
+ "name": "disabled",
154
+ "type": {
155
+ "text": "boolean"
156
+ },
157
+ "default": "false",
158
+ "fieldName": "disabled"
159
+ },
160
+ {
161
+ "name": "readonly",
162
+ "type": {
163
+ "text": "boolean"
164
+ },
165
+ "default": "false",
166
+ "fieldName": "readonly"
167
+ }
168
+ ],
169
+ "mixins": [
170
+ {
171
+ "name": "SizedMixin",
172
+ "package": "@spectrum-web-components/base"
173
+ }
174
+ ],
175
+ "superclass": {
176
+ "name": "SpectrumElement",
177
+ "package": "@spectrum-web-components/base"
178
+ },
179
+ "tagName": "sp-tag",
180
+ "customElement": true
181
+ }
182
+ ],
183
+ "exports": [
184
+ {
185
+ "kind": "js",
186
+ "name": "Tag",
187
+ "declaration": {
188
+ "name": "Tag",
189
+ "module": "src/Tag.ts"
190
+ }
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "kind": "javascript-module",
196
+ "path": "src/Tags.ts",
197
+ "declarations": [
198
+ {
199
+ "kind": "class",
200
+ "description": "",
201
+ "name": "Tags",
202
+ "slots": [
203
+ {
204
+ "description": "Tag elements to manage as a group",
205
+ "name": ""
206
+ }
207
+ ],
208
+ "members": [
209
+ {
210
+ "kind": "field",
211
+ "name": "defaultNodes",
212
+ "type": {
213
+ "text": "Node[]"
214
+ },
215
+ "privacy": "public"
216
+ },
217
+ {
218
+ "kind": "field",
219
+ "name": "tags",
220
+ "type": {
221
+ "text": "Tag[]"
222
+ },
223
+ "privacy": "public",
224
+ "readonly": true
225
+ },
226
+ {
227
+ "kind": "field",
228
+ "name": "rovingTabindexController",
229
+ "default": "new RovingTabindexController<Tag>(this, {\n focusInIndex: (elements: Tag[]) => {\n return elements.findIndex((el) => {\n return !el.disabled && el.deletable;\n });\n },\n elements: () => this.tags,\n isFocusableElement: (el: Tag) => !el.disabled && el.deletable,\n })"
230
+ },
231
+ {
232
+ "kind": "method",
233
+ "name": "focus",
234
+ "privacy": "public",
235
+ "return": {
236
+ "type": {
237
+ "text": "void"
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "kind": "field",
243
+ "name": "handleFocusin",
244
+ "privacy": "private"
245
+ },
246
+ {
247
+ "kind": "field",
248
+ "name": "handleKeydown",
249
+ "privacy": "private"
250
+ },
251
+ {
252
+ "kind": "field",
253
+ "name": "handleFocusout",
254
+ "privacy": "private"
255
+ },
256
+ {
257
+ "kind": "method",
258
+ "name": "handleSlotchange",
259
+ "privacy": "private",
260
+ "return": {
261
+ "type": {
262
+ "text": "void"
263
+ }
264
+ }
265
+ }
266
+ ],
267
+ "mixins": [
268
+ {
269
+ "name": "FocusVisiblePolyfillMixin",
270
+ "package": "@spectrum-web-components/shared/src/focus-visible.js"
271
+ }
272
+ ],
273
+ "superclass": {
274
+ "name": "SpectrumElement",
275
+ "package": "@spectrum-web-components/base"
276
+ },
277
+ "tagName": "sp-tags",
278
+ "customElement": true
279
+ }
280
+ ],
281
+ "exports": [
282
+ {
283
+ "kind": "js",
284
+ "name": "Tags",
285
+ "declaration": {
286
+ "name": "Tags",
287
+ "module": "src/Tags.ts"
288
+ }
289
+ }
290
+ ]
291
+ }
292
+ ]
293
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/tags",
3
- "version": "0.35.1-rc.24+e3649e123",
3
+ "version": "0.35.1-rc.26+05bd08374",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -66,10 +66,10 @@
66
66
  "lit-html"
67
67
  ],
68
68
  "dependencies": {
69
- "@spectrum-web-components/base": "^0.35.1-rc.24+e3649e123",
70
- "@spectrum-web-components/button": "^0.35.1-rc.24+e3649e123",
71
- "@spectrum-web-components/reactive-controllers": "^0.35.1-rc.24+e3649e123",
72
- "@spectrum-web-components/shared": "^0.35.1-rc.24+e3649e123"
69
+ "@spectrum-web-components/base": "^0.35.1-rc.26+05bd08374",
70
+ "@spectrum-web-components/button": "^0.35.1-rc.26+05bd08374",
71
+ "@spectrum-web-components/reactive-controllers": "^0.35.1-rc.26+05bd08374",
72
+ "@spectrum-web-components/shared": "^0.35.1-rc.26+05bd08374"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@spectrum-css/tag": "^5.0.42",
@@ -81,5 +81,5 @@
81
81
  "./sp-*.js",
82
82
  "./**/*.dev.js"
83
83
  ],
84
- "gitHead": "e3649e1230ed727048988a452969c38ced5467ac"
84
+ "gitHead": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
85
85
  }