@spectrum-web-components/underlay 1.7.0-snapshot.20250519143559 → 1.7.0-snapshot.20250519200040
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/custom-elements.json +119 -0
- package/package.json +2 -2
@@ -0,0 +1,119 @@
|
|
1
|
+
{
|
2
|
+
"schemaVersion": "1.0.0",
|
3
|
+
"readme": "",
|
4
|
+
"modules": [
|
5
|
+
{
|
6
|
+
"kind": "javascript-module",
|
7
|
+
"path": "sp-underlay.js",
|
8
|
+
"declarations": [],
|
9
|
+
"exports": [
|
10
|
+
{
|
11
|
+
"kind": "custom-element-definition",
|
12
|
+
"name": "sp-underlay",
|
13
|
+
"declaration": {
|
14
|
+
"name": "Underlay",
|
15
|
+
"module": "/src/Underlay.js"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"kind": "javascript-module",
|
22
|
+
"path": "src/Underlay.js",
|
23
|
+
"declarations": [
|
24
|
+
{
|
25
|
+
"kind": "class",
|
26
|
+
"description": "",
|
27
|
+
"name": "Underlay",
|
28
|
+
"members": [
|
29
|
+
{
|
30
|
+
"kind": "field",
|
31
|
+
"name": "canClick",
|
32
|
+
"type": {
|
33
|
+
"text": "boolean"
|
34
|
+
},
|
35
|
+
"privacy": "private",
|
36
|
+
"default": "false"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"kind": "field",
|
40
|
+
"name": "open",
|
41
|
+
"type": {
|
42
|
+
"text": "boolean"
|
43
|
+
},
|
44
|
+
"privacy": "public",
|
45
|
+
"default": "false",
|
46
|
+
"attribute": "open",
|
47
|
+
"reflects": true
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"kind": "method",
|
51
|
+
"name": "click",
|
52
|
+
"privacy": "public",
|
53
|
+
"return": {
|
54
|
+
"type": {
|
55
|
+
"text": "void"
|
56
|
+
}
|
57
|
+
}
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"kind": "method",
|
61
|
+
"name": "handlePointerdown",
|
62
|
+
"privacy": "protected",
|
63
|
+
"return": {
|
64
|
+
"type": {
|
65
|
+
"text": "void"
|
66
|
+
}
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"kind": "method",
|
71
|
+
"name": "handlePointerup",
|
72
|
+
"privacy": "protected",
|
73
|
+
"return": {
|
74
|
+
"type": {
|
75
|
+
"text": "void"
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
],
|
80
|
+
"events": [
|
81
|
+
{
|
82
|
+
"name": "close",
|
83
|
+
"type": {
|
84
|
+
"text": "Event"
|
85
|
+
},
|
86
|
+
"description": "When the underlay is \"clicked\" and the consuming pattern should chose whether to close based on that interaction"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"attributes": [
|
90
|
+
{
|
91
|
+
"name": "open",
|
92
|
+
"type": {
|
93
|
+
"text": "boolean"
|
94
|
+
},
|
95
|
+
"default": "false",
|
96
|
+
"fieldName": "open"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"superclass": {
|
100
|
+
"name": "SpectrumElement",
|
101
|
+
"package": "@spectrum-web-components/base"
|
102
|
+
},
|
103
|
+
"tagName": "sp-underlay",
|
104
|
+
"customElement": true
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"exports": [
|
108
|
+
{
|
109
|
+
"kind": "js",
|
110
|
+
"name": "Underlay",
|
111
|
+
"declaration": {
|
112
|
+
"name": "Underlay",
|
113
|
+
"module": "src/Underlay.js"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
]
|
117
|
+
}
|
118
|
+
]
|
119
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@spectrum-web-components/underlay",
|
3
|
-
"version": "1.7.0-snapshot.
|
3
|
+
"version": "1.7.0-snapshot.20250519200040",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -64,7 +64,7 @@
|
|
64
64
|
"css"
|
65
65
|
],
|
66
66
|
"dependencies": {
|
67
|
-
"@spectrum-web-components/base": "1.7.0-snapshot.
|
67
|
+
"@spectrum-web-components/base": "1.7.0-snapshot.20250519200040"
|
68
68
|
},
|
69
69
|
"types": "./src/index.d.ts",
|
70
70
|
"customElements": "custom-elements.json",
|