@spectrum-web-components/tooltip 1.2.0-beta.1 → 1.2.0-beta.3

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,380 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-tooltip.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-tooltip",
13
+ "declaration": {
14
+ "name": "Tooltip",
15
+ "module": "/src/Tooltip.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/Tooltip.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "class",
26
+ "description": "",
27
+ "name": "TooltipOpenable",
28
+ "members": [
29
+ {
30
+ "kind": "method",
31
+ "name": "redispatchEvent",
32
+ "return": {
33
+ "type": {
34
+ "text": "void"
35
+ }
36
+ },
37
+ "parameters": [
38
+ {
39
+ "name": "event",
40
+ "type": {
41
+ "text": "Event"
42
+ }
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "kind": "field",
48
+ "name": "tooltip",
49
+ "type": {
50
+ "text": "Tooltip"
51
+ },
52
+ "readonly": true
53
+ },
54
+ {
55
+ "kind": "field",
56
+ "name": "open",
57
+ "type": {
58
+ "text": "boolean"
59
+ }
60
+ },
61
+ {
62
+ "kind": "field",
63
+ "name": "_open",
64
+ "type": {
65
+ "text": "boolean"
66
+ },
67
+ "privacy": "private",
68
+ "default": "false"
69
+ },
70
+ {
71
+ "kind": "field",
72
+ "name": "placement",
73
+ "type": {
74
+ "text": "Placement"
75
+ },
76
+ "attribute": "placement"
77
+ },
78
+ {
79
+ "kind": "field",
80
+ "name": "_placement",
81
+ "type": {
82
+ "text": "Placement"
83
+ },
84
+ "privacy": "private",
85
+ "default": "'top'"
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "tipElement",
90
+ "type": {
91
+ "text": "HTMLElement"
92
+ },
93
+ "readonly": true
94
+ }
95
+ ],
96
+ "attributes": [
97
+ {
98
+ "name": "open"
99
+ },
100
+ {
101
+ "name": "placement",
102
+ "type": {
103
+ "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
104
+ },
105
+ "fieldName": "placement"
106
+ }
107
+ ],
108
+ "superclass": {
109
+ "name": "HTMLElement"
110
+ },
111
+ "tagName": "sp-tooltip-openable",
112
+ "customElement": true
113
+ },
114
+ {
115
+ "kind": "class",
116
+ "description": "",
117
+ "name": "Tooltip",
118
+ "slots": [
119
+ {
120
+ "description": "the icon element appearing at the start of the label",
121
+ "name": "icon"
122
+ },
123
+ {
124
+ "description": "the text label of the Tooltip",
125
+ "name": ""
126
+ }
127
+ ],
128
+ "members": [
129
+ {
130
+ "kind": "field",
131
+ "name": "delayed",
132
+ "type": {
133
+ "text": "boolean"
134
+ },
135
+ "default": "false",
136
+ "description": "A Tooltip that is `delayed` will its Overlay wait until a warm-up period of\n1000ms has completed before opening. Once the warmup period has completed, all\nsubsequent Overlays will open immediately. When no Overlays are opened, a\ncooldown period of 1000ms will begin. Once the cooldown has completed, the next\nOverlay to be opened will be subject to the warm-up period if provided that option.",
137
+ "attribute": "delayed"
138
+ },
139
+ {
140
+ "kind": "field",
141
+ "name": "dependencyManager",
142
+ "privacy": "private",
143
+ "default": "new DependencyManagerController(this)"
144
+ },
145
+ {
146
+ "kind": "field",
147
+ "name": "disabled",
148
+ "type": {
149
+ "text": "boolean"
150
+ },
151
+ "default": "false",
152
+ "description": "Whether to prevent a self-managed Tooltip from responding to user input.",
153
+ "attribute": "disabled"
154
+ },
155
+ {
156
+ "kind": "field",
157
+ "name": "selfManaged",
158
+ "type": {
159
+ "text": "boolean"
160
+ },
161
+ "privacy": "public",
162
+ "default": "false",
163
+ "description": "Automatically bind to the parent element of the assigned `slot` or the parent element of the `sp-tooltip`.\nWithout this, you must provide your own `overlay-trigger`.",
164
+ "attribute": "self-managed"
165
+ },
166
+ {
167
+ "kind": "field",
168
+ "name": "offset",
169
+ "type": {
170
+ "text": "number"
171
+ },
172
+ "privacy": "public",
173
+ "default": "0",
174
+ "attribute": "offset"
175
+ },
176
+ {
177
+ "kind": "field",
178
+ "name": "open",
179
+ "type": {
180
+ "text": "boolean"
181
+ },
182
+ "privacy": "public",
183
+ "default": "false",
184
+ "attribute": "open",
185
+ "reflects": true
186
+ },
187
+ {
188
+ "kind": "field",
189
+ "name": "overlayElement",
190
+ "type": {
191
+ "text": "Overlay | undefined"
192
+ },
193
+ "privacy": "public"
194
+ },
195
+ {
196
+ "kind": "field",
197
+ "name": "placement",
198
+ "type": {
199
+ "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
200
+ },
201
+ "privacy": "public",
202
+ "attribute": "placement",
203
+ "reflects": true
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "tipElement",
208
+ "type": {
209
+ "text": "HTMLSpanElement"
210
+ },
211
+ "privacy": "public"
212
+ },
213
+ {
214
+ "kind": "field",
215
+ "name": "tipPadding",
216
+ "type": {
217
+ "text": "number | undefined"
218
+ },
219
+ "privacy": "public",
220
+ "attribute": "tipPadding"
221
+ },
222
+ {
223
+ "kind": "field",
224
+ "name": "_variant",
225
+ "type": {
226
+ "text": "string"
227
+ },
228
+ "privacy": "private",
229
+ "default": "''"
230
+ },
231
+ {
232
+ "kind": "field",
233
+ "name": "variant",
234
+ "type": {
235
+ "text": "string"
236
+ },
237
+ "privacy": "public",
238
+ "attribute": "variant"
239
+ },
240
+ {
241
+ "kind": "field",
242
+ "name": "handleOpenOverlay",
243
+ "privacy": "private"
244
+ },
245
+ {
246
+ "kind": "field",
247
+ "name": "handleCloseOverlay",
248
+ "privacy": "protected"
249
+ },
250
+ {
251
+ "kind": "method",
252
+ "name": "forwardTransitionEvent",
253
+ "privacy": "protected",
254
+ "return": {
255
+ "type": {
256
+ "text": "void"
257
+ }
258
+ },
259
+ "parameters": [
260
+ {
261
+ "name": "event",
262
+ "type": {
263
+ "text": "TransitionEvent"
264
+ }
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "kind": "field",
270
+ "name": "triggerElement",
271
+ "type": {
272
+ "text": "HTMLElement | null"
273
+ },
274
+ "privacy": "private",
275
+ "readonly": true
276
+ }
277
+ ],
278
+ "events": [
279
+ {
280
+ "type": {
281
+ "text": "TransitionEvent"
282
+ }
283
+ }
284
+ ],
285
+ "attributes": [
286
+ {
287
+ "name": "placement",
288
+ "type": {
289
+ "text": "\"top\" | \"top-start\" | \"top-end\" | \"right\" | \"right-start\" | \"right-end\" | \"bottom\" | \"bottom-start\" | \"bottom-end\" | \"left\" | \"left-start\" | \"left-end\""
290
+ },
291
+ "fieldName": "placement",
292
+ "attribute": "placement"
293
+ },
294
+ {
295
+ "name": "delayed",
296
+ "type": {
297
+ "text": "boolean"
298
+ },
299
+ "default": "false",
300
+ "description": "A Tooltip that is `delayed` will its Overlay wait until a warm-up period of\n1000ms has completed before opening. Once the warmup period has completed, all\nsubsequent Overlays will open immediately. When no Overlays are opened, a\ncooldown period of 1000ms will begin. Once the cooldown has completed, the next\nOverlay to be opened will be subject to the warm-up period if provided that option.",
301
+ "fieldName": "delayed"
302
+ },
303
+ {
304
+ "name": "disabled",
305
+ "type": {
306
+ "text": "boolean"
307
+ },
308
+ "default": "false",
309
+ "description": "Whether to prevent a self-managed Tooltip from responding to user input.",
310
+ "fieldName": "disabled"
311
+ },
312
+ {
313
+ "name": "self-managed",
314
+ "type": {
315
+ "text": "boolean"
316
+ },
317
+ "default": "false",
318
+ "description": "Automatically bind to the parent element of the assigned `slot` or the parent element of the `sp-tooltip`.\nWithout this, you must provide your own `overlay-trigger`.",
319
+ "fieldName": "selfManaged"
320
+ },
321
+ {
322
+ "name": "offset",
323
+ "type": {
324
+ "text": "number"
325
+ },
326
+ "default": "0",
327
+ "fieldName": "offset"
328
+ },
329
+ {
330
+ "name": "open",
331
+ "type": {
332
+ "text": "boolean"
333
+ },
334
+ "default": "false",
335
+ "fieldName": "open"
336
+ },
337
+ {
338
+ "name": "tipPadding",
339
+ "type": {
340
+ "text": "number | undefined"
341
+ },
342
+ "fieldName": "tipPadding"
343
+ },
344
+ {
345
+ "name": "variant",
346
+ "type": {
347
+ "text": "string"
348
+ },
349
+ "fieldName": "variant"
350
+ }
351
+ ],
352
+ "superclass": {
353
+ "name": "SpectrumElement",
354
+ "package": "@spectrum-web-components/base"
355
+ },
356
+ "tagName": "sp-tooltip",
357
+ "customElement": true
358
+ }
359
+ ],
360
+ "exports": [
361
+ {
362
+ "kind": "custom-element-definition",
363
+ "name": "sp-tooltip-openable",
364
+ "declaration": {
365
+ "name": "TooltipOpenable",
366
+ "module": "src/Tooltip.js"
367
+ }
368
+ },
369
+ {
370
+ "kind": "js",
371
+ "name": "Tooltip",
372
+ "declaration": {
373
+ "name": "Tooltip",
374
+ "module": "src/Tooltip.js"
375
+ }
376
+ }
377
+ ]
378
+ }
379
+ ]
380
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/tooltip",
3
- "version": "1.2.0-beta.1",
3
+ "version": "1.2.0-beta.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -62,10 +62,10 @@
62
62
  "lit-html"
63
63
  ],
64
64
  "dependencies": {
65
- "@spectrum-web-components/base": "^1.2.0-beta.1",
66
- "@spectrum-web-components/overlay": "^1.2.0-beta.1",
67
- "@spectrum-web-components/reactive-controllers": "^1.2.0-beta.1",
68
- "@spectrum-web-components/shared": "^1.2.0-beta.1"
65
+ "@spectrum-web-components/base": "^1.2.0-beta.3",
66
+ "@spectrum-web-components/overlay": "^1.2.0-beta.3",
67
+ "@spectrum-web-components/reactive-controllers": "^1.2.0-beta.3",
68
+ "@spectrum-web-components/shared": "^1.2.0-beta.3"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@spectrum-css/tooltip": "7.0.0-s2-foundations.15"
@@ -76,5 +76,5 @@
76
76
  "./sp-*.js",
77
77
  "./**/*.dev.js"
78
78
  ],
79
- "gitHead": "10139c3ba67a3abfb114859efadac87d9dc4a472"
79
+ "gitHead": "f8978dc08b7495f6cbf0e9f096d0cec2e55f0428"
80
80
  }