@spectrum-web-components/color-handle 1.0.0-rc.9 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/custom-elements.json +163 -0
- package/package.json +5 -5
@@ -0,0 +1,163 @@
|
|
1
|
+
{
|
2
|
+
"schemaVersion": "1.0.0",
|
3
|
+
"readme": "",
|
4
|
+
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "sp-color-handle.js",
|
8
|
+
"declarations": [],
|
9
|
+
"exports": [
|
10
|
+
{
|
11
|
+
"kind": "custom-element-definition",
|
12
|
+
"name": "sp-color-handle",
|
13
|
+
"declaration": {
|
14
|
+
"name": "ColorHandle",
|
15
|
+
"module": "/src/ColorHandle.js"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"kind": "javascript-module",
|
22
|
+
"path": "src/ColorHandle.js",
|
23
|
+
"declarations": [
|
24
|
+
{
|
25
|
+
"kind": "class",
|
26
|
+
"description": "",
|
27
|
+
"name": "ColorHandle",
|
28
|
+
"members": [
|
29
|
+
{
|
30
|
+
"kind": "field",
|
31
|
+
"name": "disabled",
|
32
|
+
"type": {
|
33
|
+
"text": "boolean"
|
34
|
+
},
|
35
|
+
"privacy": "public",
|
36
|
+
"default": "false",
|
37
|
+
"attribute": "disabled",
|
38
|
+
"reflects": true
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"kind": "field",
|
42
|
+
"name": "focused",
|
43
|
+
"type": {
|
44
|
+
"text": "boolean"
|
45
|
+
},
|
46
|
+
"privacy": "public",
|
47
|
+
"default": "false",
|
48
|
+
"attribute": "focused",
|
49
|
+
"reflects": true
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"kind": "field",
|
53
|
+
"name": "open",
|
54
|
+
"type": {
|
55
|
+
"text": "boolean"
|
56
|
+
},
|
57
|
+
"privacy": "public",
|
58
|
+
"default": "false",
|
59
|
+
"attribute": "open",
|
60
|
+
"reflects": true
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"kind": "field",
|
64
|
+
"name": "color",
|
65
|
+
"type": {
|
66
|
+
"text": "string"
|
67
|
+
},
|
68
|
+
"privacy": "public",
|
69
|
+
"default": "'rgba(255, 0, 0, 0.5)'",
|
70
|
+
"attribute": "color"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"kind": "method",
|
74
|
+
"name": "handlePointerdown",
|
75
|
+
"privacy": "private",
|
76
|
+
"return": {
|
77
|
+
"type": {
|
78
|
+
"text": "void"
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"parameters": [
|
82
|
+
{
|
83
|
+
"name": "event",
|
84
|
+
"type": {
|
85
|
+
"text": "PointerEvent"
|
86
|
+
}
|
87
|
+
}
|
88
|
+
]
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"kind": "method",
|
92
|
+
"name": "handlePointerup",
|
93
|
+
"privacy": "private",
|
94
|
+
"return": {
|
95
|
+
"type": {
|
96
|
+
"text": "void"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"parameters": [
|
100
|
+
{
|
101
|
+
"name": "event",
|
102
|
+
"type": {
|
103
|
+
"text": "PointerEvent"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
]
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"attributes": [
|
110
|
+
{
|
111
|
+
"name": "disabled",
|
112
|
+
"type": {
|
113
|
+
"text": "boolean"
|
114
|
+
},
|
115
|
+
"default": "false",
|
116
|
+
"fieldName": "disabled"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "focused",
|
120
|
+
"type": {
|
121
|
+
"text": "boolean"
|
122
|
+
},
|
123
|
+
"default": "false",
|
124
|
+
"fieldName": "focused"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"name": "open",
|
128
|
+
"type": {
|
129
|
+
"text": "boolean"
|
130
|
+
},
|
131
|
+
"default": "false",
|
132
|
+
"fieldName": "open"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"name": "color",
|
136
|
+
"type": {
|
137
|
+
"text": "string"
|
138
|
+
},
|
139
|
+
"default": "'rgba(255, 0, 0, 0.5)'",
|
140
|
+
"fieldName": "color"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"superclass": {
|
144
|
+
"name": "SpectrumElement",
|
145
|
+
"package": "@spectrum-web-components/base"
|
146
|
+
},
|
147
|
+
"tagName": "sp-color-handle",
|
148
|
+
"customElement": true
|
149
|
+
}
|
150
|
+
],
|
151
|
+
"exports": [
|
152
|
+
{
|
153
|
+
"kind": "js",
|
154
|
+
"name": "ColorHandle",
|
155
|
+
"declaration": {
|
156
|
+
"name": "ColorHandle",
|
157
|
+
"module": "src/ColorHandle.js"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
]
|
161
|
+
}
|
162
|
+
]
|
163
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/color-handle",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -58,9 +58,9 @@
|
|
58
58
|
"lit-html"
|
59
59
|
],
|
60
60
|
"dependencies": {
|
61
|
-
"@spectrum-web-components/base": "^1.0.
|
62
|
-
"@spectrum-web-components/color-loupe": "^1.0.
|
63
|
-
"@spectrum-web-components/opacity-checkerboard": "^1.0.
|
61
|
+
"@spectrum-web-components/base": "^1.0.1",
|
62
|
+
"@spectrum-web-components/color-loupe": "^1.0.1",
|
63
|
+
"@spectrum-web-components/opacity-checkerboard": "^1.0.1"
|
64
64
|
},
|
65
65
|
"devDependencies": {
|
66
66
|
"@spectrum-css/colorhandle": "^9.0.0-s2-foundations.16"
|
@@ -71,5 +71,5 @@
|
|
71
71
|
"./sp-*.js",
|
72
72
|
"./**/*.dev.js"
|
73
73
|
],
|
74
|
-
"gitHead": "
|
74
|
+
"gitHead": "b359bc0242712be118c5e3e2cc05f88707d3eeb1"
|
75
75
|
}
|