@spectrum-web-components/search 1.8.0 → 1.9.0-nightly.20251013144515
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 +7 -7
- package/custom-elements.json +0 -223
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/search",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-nightly.20251013144515",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/adobe/spectrum-web-components.git",
|
|
12
|
-
"directory": "packages/search"
|
|
12
|
+
"directory": "first-gen/packages/search"
|
|
13
13
|
},
|
|
14
14
|
"author": "Adobe",
|
|
15
15
|
"homepage": "https://opensource.adobe.com/spectrum-web-components/components/search",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"css"
|
|
65
65
|
],
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@spectrum-web-components/base": "1.
|
|
68
|
-
"@spectrum-web-components/button": "1.
|
|
69
|
-
"@spectrum-web-components/icon": "1.
|
|
70
|
-
"@spectrum-web-components/icons-workflow": "1.
|
|
71
|
-
"@spectrum-web-components/textfield": "1.
|
|
67
|
+
"@spectrum-web-components/base": "1.9.0-nightly.20251013144515",
|
|
68
|
+
"@spectrum-web-components/button": "1.9.0-nightly.20251013144515",
|
|
69
|
+
"@spectrum-web-components/icon": "1.9.0-nightly.20251013144515",
|
|
70
|
+
"@spectrum-web-components/icons-workflow": "1.9.0-nightly.20251013144515",
|
|
71
|
+
"@spectrum-web-components/textfield": "1.9.0-nightly.20251013144515"
|
|
72
72
|
},
|
|
73
73
|
"types": "./src/index.d.ts",
|
|
74
74
|
"customElements": "custom-elements.json",
|
package/custom-elements.json
DELETED
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"readme": "",
|
|
4
|
-
"modules": [
|
|
5
|
-
{
|
|
6
|
-
"kind": "javascript-module",
|
|
7
|
-
"path": "sp-search.js",
|
|
8
|
-
"declarations": [],
|
|
9
|
-
"exports": [
|
|
10
|
-
{
|
|
11
|
-
"kind": "custom-element-definition",
|
|
12
|
-
"name": "sp-search",
|
|
13
|
-
"declaration": {
|
|
14
|
-
"name": "Search",
|
|
15
|
-
"module": "/src/Search.js"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"kind": "javascript-module",
|
|
22
|
-
"path": "src/Search.js",
|
|
23
|
-
"declarations": [
|
|
24
|
-
{
|
|
25
|
-
"kind": "class",
|
|
26
|
-
"description": "",
|
|
27
|
-
"name": "Search",
|
|
28
|
-
"slots": [
|
|
29
|
-
{
|
|
30
|
-
"description": "default or non-negative help text to associate to your form element",
|
|
31
|
-
"name": "help-text"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"description": "negative help text to associate to your form element when `invalid`",
|
|
35
|
-
"name": "negative-help-text"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"members": [
|
|
39
|
-
{
|
|
40
|
-
"kind": "field",
|
|
41
|
-
"name": "action",
|
|
42
|
-
"type": {
|
|
43
|
-
"text": "string"
|
|
44
|
-
},
|
|
45
|
-
"privacy": "public",
|
|
46
|
-
"default": "''",
|
|
47
|
-
"attribute": "action"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"kind": "field",
|
|
51
|
-
"name": "label",
|
|
52
|
-
"type": {
|
|
53
|
-
"text": "string"
|
|
54
|
-
},
|
|
55
|
-
"privacy": "public",
|
|
56
|
-
"default": "'Search'",
|
|
57
|
-
"attribute": "label"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"kind": "field",
|
|
61
|
-
"name": "method",
|
|
62
|
-
"type": {
|
|
63
|
-
"text": "'get' | 'post' | 'dialog' | undefined"
|
|
64
|
-
},
|
|
65
|
-
"privacy": "public",
|
|
66
|
-
"attribute": "method"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"kind": "field",
|
|
70
|
-
"name": "placeholder",
|
|
71
|
-
"type": {
|
|
72
|
-
"text": "string"
|
|
73
|
-
},
|
|
74
|
-
"privacy": "public",
|
|
75
|
-
"default": "'Search'",
|
|
76
|
-
"attribute": "placeholder"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"kind": "field",
|
|
80
|
-
"name": "holdValueOnEscape",
|
|
81
|
-
"type": {
|
|
82
|
-
"text": "boolean"
|
|
83
|
-
},
|
|
84
|
-
"privacy": "public",
|
|
85
|
-
"description": "Controls whether the typed value should be held (i.e., not cleared or reset) when the Escape key is pressed.\nIf set to true, pressing the Escape key will not affect the value in the search field.",
|
|
86
|
-
"attribute": "holdValueOnEscape"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"kind": "field",
|
|
90
|
-
"name": "form",
|
|
91
|
-
"type": {
|
|
92
|
-
"text": "HTMLFormElement"
|
|
93
|
-
},
|
|
94
|
-
"privacy": "public"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"kind": "method",
|
|
98
|
-
"name": "handleSubmit",
|
|
99
|
-
"privacy": "private",
|
|
100
|
-
"return": {
|
|
101
|
-
"type": {
|
|
102
|
-
"text": "void"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"parameters": [
|
|
106
|
-
{
|
|
107
|
-
"name": "event",
|
|
108
|
-
"type": {
|
|
109
|
-
"text": "Event"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"kind": "method",
|
|
116
|
-
"name": "handleKeydown",
|
|
117
|
-
"privacy": "private",
|
|
118
|
-
"return": {
|
|
119
|
-
"type": {
|
|
120
|
-
"text": "void"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"parameters": [
|
|
124
|
-
{
|
|
125
|
-
"name": "event",
|
|
126
|
-
"type": {
|
|
127
|
-
"text": "KeyboardEvent"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"kind": "method",
|
|
134
|
-
"name": "reset",
|
|
135
|
-
"privacy": "public",
|
|
136
|
-
"return": {
|
|
137
|
-
"type": {
|
|
138
|
-
"text": "Promise<void>"
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"kind": "method",
|
|
144
|
-
"name": "renderField",
|
|
145
|
-
"privacy": "protected",
|
|
146
|
-
"return": {
|
|
147
|
-
"type": {
|
|
148
|
-
"text": "TemplateResult"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
"events": [
|
|
154
|
-
{
|
|
155
|
-
"name": "submit",
|
|
156
|
-
"type": {
|
|
157
|
-
"text": "Event"
|
|
158
|
-
},
|
|
159
|
-
"description": "The search form has been submitted."
|
|
160
|
-
}
|
|
161
|
-
],
|
|
162
|
-
"attributes": [
|
|
163
|
-
{
|
|
164
|
-
"name": "action",
|
|
165
|
-
"type": {
|
|
166
|
-
"text": "string"
|
|
167
|
-
},
|
|
168
|
-
"default": "''",
|
|
169
|
-
"fieldName": "action"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "label",
|
|
173
|
-
"type": {
|
|
174
|
-
"text": "string"
|
|
175
|
-
},
|
|
176
|
-
"default": "'Search'",
|
|
177
|
-
"fieldName": "label"
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"name": "method",
|
|
181
|
-
"type": {
|
|
182
|
-
"text": "'get' | 'post' | 'dialog' | undefined"
|
|
183
|
-
},
|
|
184
|
-
"fieldName": "method"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
"name": "placeholder",
|
|
188
|
-
"type": {
|
|
189
|
-
"text": "string"
|
|
190
|
-
},
|
|
191
|
-
"default": "'Search'",
|
|
192
|
-
"fieldName": "placeholder"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"name": "holdValueOnEscape",
|
|
196
|
-
"type": {
|
|
197
|
-
"text": "boolean"
|
|
198
|
-
},
|
|
199
|
-
"description": "Controls whether the typed value should be held (i.e., not cleared or reset) when the Escape key is pressed.\nIf set to true, pressing the Escape key will not affect the value in the search field.",
|
|
200
|
-
"fieldName": "holdValueOnEscape"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"superclass": {
|
|
204
|
-
"name": "Textfield",
|
|
205
|
-
"package": "@spectrum-web-components/textfield"
|
|
206
|
-
},
|
|
207
|
-
"tagName": "sp-search",
|
|
208
|
-
"customElement": true
|
|
209
|
-
}
|
|
210
|
-
],
|
|
211
|
-
"exports": [
|
|
212
|
-
{
|
|
213
|
-
"kind": "js",
|
|
214
|
-
"name": "Search",
|
|
215
|
-
"declaration": {
|
|
216
|
-
"name": "Search",
|
|
217
|
-
"module": "src/Search.js"
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
]
|
|
221
|
-
}
|
|
222
|
-
]
|
|
223
|
-
}
|