@spectrum-web-components/tags 0.10.3-react.48 → 0.10.3-react.50

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,290 @@
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
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "hasAvatar",
102
+ "type": {
103
+ "text": "boolean"
104
+ },
105
+ "privacy": "private"
106
+ },
107
+ {
108
+ "kind": "field",
109
+ "name": "handleFocusin",
110
+ "privacy": "private"
111
+ },
112
+ {
113
+ "kind": "field",
114
+ "name": "handleFocusout",
115
+ "privacy": "private"
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "handleKeydown",
120
+ "privacy": "private"
121
+ },
122
+ {
123
+ "kind": "method",
124
+ "name": "delete",
125
+ "privacy": "private",
126
+ "return": {
127
+ "type": {
128
+ "text": "void"
129
+ }
130
+ }
131
+ }
132
+ ],
133
+ "events": [
134
+ {
135
+ "name": "delete",
136
+ "type": {
137
+ "text": "Event"
138
+ }
139
+ }
140
+ ],
141
+ "attributes": [
142
+ {
143
+ "name": "deletable",
144
+ "type": {
145
+ "text": "boolean"
146
+ },
147
+ "default": "false",
148
+ "fieldName": "deletable"
149
+ },
150
+ {
151
+ "name": "disabled",
152
+ "type": {
153
+ "text": "boolean"
154
+ },
155
+ "default": "false",
156
+ "fieldName": "disabled"
157
+ },
158
+ {
159
+ "name": "readonly",
160
+ "type": {
161
+ "text": "boolean"
162
+ },
163
+ "default": "false",
164
+ "fieldName": "readonly"
165
+ }
166
+ ],
167
+ "mixins": [
168
+ {
169
+ "name": "SizedMixin",
170
+ "package": "@spectrum-web-components/base"
171
+ }
172
+ ],
173
+ "superclass": {
174
+ "name": "SpectrumElement",
175
+ "package": "@spectrum-web-components/base"
176
+ },
177
+ "tagName": "sp-tag",
178
+ "customElement": true
179
+ }
180
+ ],
181
+ "exports": [
182
+ {
183
+ "kind": "js",
184
+ "name": "Tag",
185
+ "declaration": {
186
+ "name": "Tag",
187
+ "module": "src/Tag.ts"
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "kind": "javascript-module",
194
+ "path": "src/Tags.ts",
195
+ "declarations": [
196
+ {
197
+ "kind": "class",
198
+ "description": "",
199
+ "name": "Tags",
200
+ "slots": [
201
+ {
202
+ "description": "Tag elements to manage as a group",
203
+ "name": ""
204
+ }
205
+ ],
206
+ "members": [
207
+ {
208
+ "kind": "field",
209
+ "name": "defaultNodes",
210
+ "type": {
211
+ "text": "Node[]"
212
+ },
213
+ "privacy": "public"
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "tags",
218
+ "type": {
219
+ "text": "Tag[]"
220
+ },
221
+ "privacy": "public"
222
+ },
223
+ {
224
+ "kind": "field",
225
+ "name": "rovingTabindexController",
226
+ "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 })"
227
+ },
228
+ {
229
+ "kind": "method",
230
+ "name": "focus",
231
+ "privacy": "public",
232
+ "return": {
233
+ "type": {
234
+ "text": "void"
235
+ }
236
+ }
237
+ },
238
+ {
239
+ "kind": "field",
240
+ "name": "handleFocusin",
241
+ "privacy": "private"
242
+ },
243
+ {
244
+ "kind": "field",
245
+ "name": "handleKeydown",
246
+ "privacy": "private"
247
+ },
248
+ {
249
+ "kind": "field",
250
+ "name": "handleFocusout",
251
+ "privacy": "private"
252
+ },
253
+ {
254
+ "kind": "method",
255
+ "name": "handleSlotchange",
256
+ "privacy": "private",
257
+ "return": {
258
+ "type": {
259
+ "text": "void"
260
+ }
261
+ }
262
+ }
263
+ ],
264
+ "mixins": [
265
+ {
266
+ "name": "FocusVisiblePolyfillMixin",
267
+ "package": "@spectrum-web-components/shared/src/focus-visible.js"
268
+ }
269
+ ],
270
+ "superclass": {
271
+ "name": "SpectrumElement",
272
+ "package": "@spectrum-web-components/base"
273
+ },
274
+ "tagName": "sp-tags",
275
+ "customElement": true
276
+ }
277
+ ],
278
+ "exports": [
279
+ {
280
+ "kind": "js",
281
+ "name": "Tags",
282
+ "declaration": {
283
+ "name": "Tags",
284
+ "module": "src/Tags.ts"
285
+ }
286
+ }
287
+ ]
288
+ }
289
+ ]
290
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/tags",
3
- "version": "0.10.3-react.48+e4fada004",
3
+ "version": "0.10.3-react.50+474992be7",
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.7.5-react.48+e4fada004",
70
- "@spectrum-web-components/button": "^0.19.11-react.48+e4fada004",
71
- "@spectrum-web-components/reactive-controllers": "^0.3.6-react.78+e4fada004",
72
- "@spectrum-web-components/shared": "^0.15.6-react.48+e4fada004"
69
+ "@spectrum-web-components/base": "^0.7.5-react.50+474992be7",
70
+ "@spectrum-web-components/button": "^0.19.11-react.50+474992be7",
71
+ "@spectrum-web-components/reactive-controllers": "^0.3.6-react.80+474992be7",
72
+ "@spectrum-web-components/shared": "^0.15.6-react.50+474992be7"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@spectrum-css/tag": "^4.0.6",
@@ -81,5 +81,5 @@
81
81
  "./sp-*.js",
82
82
  "./**/*.dev.js"
83
83
  ],
84
- "gitHead": "e4fada0040dcaf1e1267f2159f366ec708cb2d09"
84
+ "gitHead": "474992be7513cad160eeeec0b522600243babc70"
85
85
  }