@spectrum-web-components/color-wheel 0.4.9-react.48 → 0.4.9-react.49

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,450 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-color-wheel.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-color-wheel",
13
+ "declaration": {
14
+ "name": "ColorWheel",
15
+ "module": "/src/ColorWheel.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/ColorWheel.ts",
23
+ "declarations": [
24
+ {
25
+ "kind": "class",
26
+ "description": "",
27
+ "name": "ColorWheel",
28
+ "slots": [
29
+ {
30
+ "description": "a custom gradient visually outlining the available color values",
31
+ "name": "gradient"
32
+ }
33
+ ],
34
+ "members": [
35
+ {
36
+ "kind": "field",
37
+ "name": "disabled",
38
+ "type": {
39
+ "text": "boolean"
40
+ },
41
+ "privacy": "public",
42
+ "default": "false",
43
+ "attribute": "disabled",
44
+ "reflects": true
45
+ },
46
+ {
47
+ "kind": "field",
48
+ "name": "focused",
49
+ "type": {
50
+ "text": "boolean"
51
+ },
52
+ "privacy": "public",
53
+ "default": "false",
54
+ "attribute": "focused",
55
+ "reflects": true
56
+ },
57
+ {
58
+ "kind": "field",
59
+ "name": "handle",
60
+ "type": {
61
+ "text": "ColorHandle"
62
+ },
63
+ "privacy": "private"
64
+ },
65
+ {
66
+ "kind": "field",
67
+ "name": "label",
68
+ "type": {
69
+ "text": "string"
70
+ },
71
+ "privacy": "public",
72
+ "default": "'hue'",
73
+ "attribute": "label"
74
+ },
75
+ {
76
+ "kind": "field",
77
+ "name": "step",
78
+ "type": {
79
+ "text": "number"
80
+ },
81
+ "privacy": "public",
82
+ "default": "1",
83
+ "attribute": "step"
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "colorController",
88
+ "privacy": "private",
89
+ "default": "new ColorController(this, {\n /* c8 ignore next 3 */\n applyColorToState: () => {\n return;\n },\n extractColorFromState: (controller) => ({\n ...(controller.getColor('hsl') as HSL),\n h: this.value,\n }),\n maintains: 'saturation',\n })"
90
+ },
91
+ {
92
+ "kind": "field",
93
+ "name": "value",
94
+ "type": {
95
+ "text": "number"
96
+ },
97
+ "privacy": "public",
98
+ "attribute": "value"
99
+ },
100
+ {
101
+ "kind": "field",
102
+ "name": "color",
103
+ "type": {
104
+ "text": "ColorValue"
105
+ },
106
+ "privacy": "public",
107
+ "attribute": "color"
108
+ },
109
+ {
110
+ "kind": "field",
111
+ "name": "altered",
112
+ "type": {
113
+ "text": "number"
114
+ },
115
+ "privacy": "private"
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "_altered",
120
+ "type": {
121
+ "text": "number"
122
+ },
123
+ "privacy": "private",
124
+ "default": "0"
125
+ },
126
+ {
127
+ "kind": "field",
128
+ "name": "input",
129
+ "type": {
130
+ "text": "HTMLInputElement"
131
+ },
132
+ "privacy": "public"
133
+ },
134
+ {
135
+ "kind": "field",
136
+ "name": "focusElement",
137
+ "type": {
138
+ "text": "HTMLInputElement"
139
+ },
140
+ "privacy": "public"
141
+ },
142
+ {
143
+ "kind": "method",
144
+ "name": "handleKeydown",
145
+ "privacy": "private",
146
+ "return": {
147
+ "type": {
148
+ "text": "void"
149
+ }
150
+ },
151
+ "parameters": [
152
+ {
153
+ "name": "event",
154
+ "type": {
155
+ "text": "KeyboardEvent"
156
+ }
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "kind": "method",
162
+ "name": "handleInput",
163
+ "privacy": "private",
164
+ "return": {
165
+ "type": {
166
+ "text": "void"
167
+ }
168
+ },
169
+ "parameters": [
170
+ {
171
+ "name": "event",
172
+ "type": {
173
+ "text": "Event & { target: HTMLInputElement }"
174
+ }
175
+ }
176
+ ]
177
+ },
178
+ {
179
+ "kind": "method",
180
+ "name": "handleChange",
181
+ "privacy": "private",
182
+ "return": {
183
+ "type": {
184
+ "text": "void"
185
+ }
186
+ },
187
+ "parameters": [
188
+ {
189
+ "name": "event",
190
+ "type": {
191
+ "text": "Event & { target: HTMLInputElement }"
192
+ }
193
+ }
194
+ ]
195
+ },
196
+ {
197
+ "kind": "method",
198
+ "name": "focus",
199
+ "privacy": "public",
200
+ "return": {
201
+ "type": {
202
+ "text": "void"
203
+ }
204
+ },
205
+ "parameters": [
206
+ {
207
+ "name": "focusOptions",
208
+ "default": "{}",
209
+ "type": {
210
+ "text": "FocusOptions"
211
+ }
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "kind": "method",
217
+ "name": "forwardFocus",
218
+ "privacy": "private",
219
+ "return": {
220
+ "type": {
221
+ "text": "void"
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "kind": "method",
227
+ "name": "handleFocusin",
228
+ "privacy": "private",
229
+ "return": {
230
+ "type": {
231
+ "text": "void"
232
+ }
233
+ }
234
+ },
235
+ {
236
+ "kind": "method",
237
+ "name": "handleFocusout",
238
+ "privacy": "private",
239
+ "return": {
240
+ "type": {
241
+ "text": "void"
242
+ }
243
+ }
244
+ },
245
+ {
246
+ "kind": "field",
247
+ "name": "boundingClientRect",
248
+ "type": {
249
+ "text": "DOMRect"
250
+ },
251
+ "privacy": "private"
252
+ },
253
+ {
254
+ "kind": "field",
255
+ "name": "_pointerDown",
256
+ "type": {
257
+ "text": "boolean"
258
+ },
259
+ "privacy": "private",
260
+ "default": "false"
261
+ },
262
+ {
263
+ "kind": "method",
264
+ "name": "handlePointerdown",
265
+ "privacy": "private",
266
+ "return": {
267
+ "type": {
268
+ "text": "void"
269
+ }
270
+ },
271
+ "parameters": [
272
+ {
273
+ "name": "event",
274
+ "type": {
275
+ "text": "PointerEvent"
276
+ }
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "kind": "method",
282
+ "name": "handlePointermove",
283
+ "privacy": "private",
284
+ "return": {
285
+ "type": {
286
+ "text": "void"
287
+ }
288
+ },
289
+ "parameters": [
290
+ {
291
+ "name": "event",
292
+ "type": {
293
+ "text": "PointerEvent"
294
+ }
295
+ }
296
+ ]
297
+ },
298
+ {
299
+ "kind": "method",
300
+ "name": "handlePointerup",
301
+ "privacy": "private",
302
+ "return": {
303
+ "type": {
304
+ "text": "void"
305
+ }
306
+ },
307
+ "parameters": [
308
+ {
309
+ "name": "event",
310
+ "type": {
311
+ "text": "PointerEvent"
312
+ }
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "kind": "method",
318
+ "name": "calculateHandlePosition",
319
+ "privacy": "private",
320
+ "return": {
321
+ "type": {
322
+ "text": ""
323
+ }
324
+ },
325
+ "parameters": [
326
+ {
327
+ "name": "event",
328
+ "type": {
329
+ "text": "PointerEvent"
330
+ }
331
+ },
332
+ {
333
+ "description": ": PointerEvent on slider",
334
+ "name": ""
335
+ }
336
+ ],
337
+ "description": "Returns the value under the cursor"
338
+ },
339
+ {
340
+ "kind": "method",
341
+ "name": "handleGradientPointerdown",
342
+ "privacy": "private",
343
+ "return": {
344
+ "type": {
345
+ "text": "void"
346
+ }
347
+ },
348
+ "parameters": [
349
+ {
350
+ "name": "event",
351
+ "type": {
352
+ "text": "PointerEvent"
353
+ }
354
+ }
355
+ ]
356
+ },
357
+ {
358
+ "kind": "field",
359
+ "name": "observer",
360
+ "type": {
361
+ "text": "WithSWCResizeObserver['ResizeObserver'] | undefined"
362
+ },
363
+ "privacy": "private"
364
+ }
365
+ ],
366
+ "events": [
367
+ {
368
+ "name": "input",
369
+ "type": {
370
+ "text": "Event"
371
+ },
372
+ "description": "The value of the Color Wheel has changed."
373
+ },
374
+ {
375
+ "name": "change",
376
+ "type": {
377
+ "text": "Event"
378
+ },
379
+ "description": "An alteration to the value of the Color Wheel has been committed by the user."
380
+ }
381
+ ],
382
+ "attributes": [
383
+ {
384
+ "name": "disabled",
385
+ "type": {
386
+ "text": "boolean"
387
+ },
388
+ "default": "false",
389
+ "fieldName": "disabled"
390
+ },
391
+ {
392
+ "name": "focused",
393
+ "type": {
394
+ "text": "boolean"
395
+ },
396
+ "default": "false",
397
+ "fieldName": "focused"
398
+ },
399
+ {
400
+ "name": "label",
401
+ "type": {
402
+ "text": "string"
403
+ },
404
+ "default": "'hue'",
405
+ "fieldName": "label"
406
+ },
407
+ {
408
+ "name": "step",
409
+ "type": {
410
+ "text": "number"
411
+ },
412
+ "default": "1",
413
+ "fieldName": "step"
414
+ },
415
+ {
416
+ "name": "value",
417
+ "type": {
418
+ "text": "number"
419
+ },
420
+ "fieldName": "value"
421
+ },
422
+ {
423
+ "name": "color",
424
+ "type": {
425
+ "text": "ColorValue"
426
+ },
427
+ "fieldName": "color"
428
+ }
429
+ ],
430
+ "superclass": {
431
+ "name": "Focusable",
432
+ "package": "@spectrum-web-components/shared/src/focusable.js"
433
+ },
434
+ "tagName": "sp-color-wheel",
435
+ "customElement": true
436
+ }
437
+ ],
438
+ "exports": [
439
+ {
440
+ "kind": "js",
441
+ "name": "ColorWheel",
442
+ "declaration": {
443
+ "name": "ColorWheel",
444
+ "module": "src/ColorWheel.ts"
445
+ }
446
+ }
447
+ ]
448
+ }
449
+ ]
450
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/color-wheel",
3
- "version": "0.4.9-react.48+e4fada004",
3
+ "version": "0.4.9-react.49+7959cb8d1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -62,10 +62,10 @@
62
62
  ],
63
63
  "dependencies": {
64
64
  "@ctrl/tinycolor": "^3.3.3",
65
- "@spectrum-web-components/base": "^0.7.5-react.48+e4fada004",
66
- "@spectrum-web-components/color-handle": "^0.4.7-react.48+e4fada004",
67
- "@spectrum-web-components/reactive-controllers": "^0.3.6-react.78+e4fada004",
68
- "@spectrum-web-components/shared": "^0.15.6-react.48+e4fada004"
65
+ "@spectrum-web-components/base": "^0.7.5-react.49+7959cb8d1",
66
+ "@spectrum-web-components/color-handle": "^0.4.7-react.49+7959cb8d1",
67
+ "@spectrum-web-components/reactive-controllers": "^0.3.6-react.79+7959cb8d1",
68
+ "@spectrum-web-components/shared": "^0.15.6-react.49+7959cb8d1"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@spectrum-css/colorwheel": "^1.0.25"
@@ -76,5 +76,5 @@
76
76
  "./sp-*.js",
77
77
  "./**/*.dev.js"
78
78
  ],
79
- "gitHead": "e4fada0040dcaf1e1267f2159f366ec708cb2d09"
79
+ "gitHead": "7959cb8d1df072fc473ec1687b2a7328550b96f7"
80
80
  }