@spectrum-web-components/accordion 0.7.8 → 0.7.9-react.48

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/accordion",
3
- "version": "0.7.8",
3
+ "version": "0.7.9-react.48+e4fada004",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -66,14 +66,14 @@
66
66
  "lit-html"
67
67
  ],
68
68
  "dependencies": {
69
- "@spectrum-web-components/base": "^0.7.4",
70
- "@spectrum-web-components/icon": "^0.12.7",
71
- "@spectrum-web-components/icons-ui": "^0.9.7",
72
- "@spectrum-web-components/reactive-controllers": "^0.3.5",
73
- "@spectrum-web-components/shared": "^0.15.5"
69
+ "@spectrum-web-components/base": "^0.7.5-react.48+e4fada004",
70
+ "@spectrum-web-components/icon": "^0.12.8-react.48+e4fada004",
71
+ "@spectrum-web-components/icons-ui": "^0.9.8-react.48+e4fada004",
72
+ "@spectrum-web-components/reactive-controllers": "^0.3.6-react.78+e4fada004",
73
+ "@spectrum-web-components/shared": "^0.15.6-react.48+e4fada004"
74
74
  },
75
75
  "devDependencies": {
76
- "@spectrum-css/accordion": "^3.0.25"
76
+ "@spectrum-css/accordion": "^3.0.28"
77
77
  },
78
78
  "types": "./src/index.d.ts",
79
79
  "customElements": "custom-elements.json",
@@ -81,5 +81,5 @@
81
81
  "./sp-*.js",
82
82
  "./**/*.dev.js"
83
83
  ],
84
- "gitHead": "6b88f4e9d596e410c2f9ed2272bc7d8d961eed1e"
84
+ "gitHead": "e4fada0040dcaf1e1267f2159f366ec708cb2d09"
85
85
  }
@@ -1,284 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-accordion-item.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-accordion-item",
13
- "declaration": {
14
- "name": "AccordionItem",
15
- "module": "/src/AccordionItem.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "sp-accordion.js",
23
- "declarations": [],
24
- "exports": [
25
- {
26
- "kind": "custom-element-definition",
27
- "name": "sp-accordion",
28
- "declaration": {
29
- "name": "Accordion",
30
- "module": "/src/Accordion.js"
31
- }
32
- }
33
- ]
34
- },
35
- {
36
- "kind": "javascript-module",
37
- "path": "src/Accordion.js",
38
- "declarations": [
39
- {
40
- "kind": "class",
41
- "description": "",
42
- "name": "Accordion",
43
- "slots": [
44
- {
45
- "description": "The sp-accordion-item children to display.",
46
- "name": ""
47
- }
48
- ],
49
- "members": [
50
- {
51
- "kind": "field",
52
- "name": "allowMultiple",
53
- "type": {
54
- "text": "boolean"
55
- },
56
- "privacy": "public",
57
- "default": "false",
58
- "description": "Allows multiple accordion items to be opened at the same time",
59
- "attribute": "allow-multiple",
60
- "reflects": true
61
- },
62
- {
63
- "kind": "field",
64
- "name": "defaultNodes",
65
- "type": {
66
- "text": "NodeListOf<AccordionItem>"
67
- },
68
- "privacy": "private"
69
- },
70
- {
71
- "kind": "field",
72
- "name": "items",
73
- "type": {
74
- "text": "AccordionItem[]"
75
- },
76
- "privacy": "private"
77
- },
78
- {
79
- "kind": "field",
80
- "name": "focusGroupController",
81
- "default": "new FocusGroupController<AccordionItem>(this, {\n direction: 'vertical',\n elements: () => this.items,\n isFocusableElement: (el: AccordionItem) => !el.disabled,\n })"
82
- },
83
- {
84
- "kind": "method",
85
- "name": "focus",
86
- "privacy": "public",
87
- "return": {
88
- "type": {
89
- "text": "void"
90
- }
91
- }
92
- },
93
- {
94
- "kind": "method",
95
- "name": "onToggle",
96
- "privacy": "private",
97
- "return": {
98
- "type": {
99
- "text": "Promise<void>"
100
- }
101
- },
102
- "parameters": [
103
- {
104
- "name": "event",
105
- "type": {
106
- "text": "Event"
107
- }
108
- }
109
- ]
110
- },
111
- {
112
- "kind": "method",
113
- "name": "handleSlotchange",
114
- "privacy": "private",
115
- "return": {
116
- "type": {
117
- "text": "void"
118
- }
119
- }
120
- }
121
- ],
122
- "attributes": [
123
- {
124
- "name": "allow-multiple",
125
- "type": {
126
- "text": "boolean"
127
- },
128
- "default": "false",
129
- "description": "Allows multiple accordion items to be opened at the same time",
130
- "fieldName": "allowMultiple"
131
- }
132
- ],
133
- "superclass": {
134
- "name": "SpectrumElement",
135
- "package": "@spectrum-web-components/base"
136
- },
137
- "tagName": "sp-accordion",
138
- "customElement": true
139
- }
140
- ],
141
- "exports": [
142
- {
143
- "kind": "js",
144
- "name": "Accordion",
145
- "declaration": {
146
- "name": "Accordion",
147
- "module": "src/Accordion.js"
148
- }
149
- }
150
- ]
151
- },
152
- {
153
- "kind": "javascript-module",
154
- "path": "src/AccordionItem.js",
155
- "declarations": [
156
- {
157
- "kind": "class",
158
- "description": "",
159
- "name": "AccordionItem",
160
- "slots": [
161
- {
162
- "description": "The content of the item that is hidden when the item is not open",
163
- "name": ""
164
- }
165
- ],
166
- "members": [
167
- {
168
- "kind": "field",
169
- "name": "open",
170
- "type": {
171
- "text": "boolean"
172
- },
173
- "privacy": "public",
174
- "default": "false",
175
- "attribute": "open",
176
- "reflects": true
177
- },
178
- {
179
- "kind": "field",
180
- "name": "label",
181
- "type": {
182
- "text": "string"
183
- },
184
- "privacy": "public",
185
- "default": "''",
186
- "attribute": "label",
187
- "reflects": true
188
- },
189
- {
190
- "kind": "field",
191
- "name": "disabled",
192
- "type": {
193
- "text": "boolean"
194
- },
195
- "privacy": "public",
196
- "default": "false",
197
- "attribute": "disabled",
198
- "reflects": true
199
- },
200
- {
201
- "kind": "field",
202
- "name": "focusElement",
203
- "type": {
204
- "text": "HTMLElement"
205
- },
206
- "privacy": "public"
207
- },
208
- {
209
- "kind": "method",
210
- "name": "onClick",
211
- "privacy": "private",
212
- "return": {
213
- "type": {
214
- "text": "void"
215
- }
216
- }
217
- },
218
- {
219
- "kind": "method",
220
- "name": "toggle",
221
- "privacy": "private",
222
- "return": {
223
- "type": {
224
- "text": "void"
225
- }
226
- }
227
- }
228
- ],
229
- "events": [
230
- {
231
- "name": "sp-accordion-item-toggle",
232
- "type": {
233
- "text": "CustomEvent"
234
- },
235
- "description": "Announce that an accordion item has been toggled while allowing the event to be cancelled."
236
- }
237
- ],
238
- "attributes": [
239
- {
240
- "name": "open",
241
- "type": {
242
- "text": "boolean"
243
- },
244
- "default": "false",
245
- "fieldName": "open"
246
- },
247
- {
248
- "name": "label",
249
- "type": {
250
- "text": "string"
251
- },
252
- "default": "''",
253
- "fieldName": "label"
254
- },
255
- {
256
- "name": "disabled",
257
- "type": {
258
- "text": "boolean"
259
- },
260
- "default": "false",
261
- "fieldName": "disabled"
262
- }
263
- ],
264
- "superclass": {
265
- "name": "Focusable",
266
- "package": "@spectrum-web-components/shared/src/focusable.js"
267
- },
268
- "tagName": "sp-accordion-item",
269
- "customElement": true
270
- }
271
- ],
272
- "exports": [
273
- {
274
- "kind": "js",
275
- "name": "AccordionItem",
276
- "declaration": {
277
- "name": "AccordionItem",
278
- "module": "src/AccordionItem.js"
279
- }
280
- }
281
- ]
282
- }
283
- ]
284
- }