@spectrum-web-components/alert-banner 1.0.0 → 1.0.1-color-testing

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/alert-banner",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-color-testing",
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.0",
62
- "@spectrum-web-components/button": "^1.0.0",
63
- "@spectrum-web-components/icons-workflow": "^1.0.0"
61
+ "@spectrum-web-components/base": "^1.0.1-color-testing",
62
+ "@spectrum-web-components/button": "^1.0.1-color-testing",
63
+ "@spectrum-web-components/icons-workflow": "^1.0.1-color-testing"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@spectrum-css/alertbanner": "^3.0.0-s2-foundations.16"
@@ -71,5 +71,5 @@
71
71
  "./sp-*.js",
72
72
  "./**/*.dev.js"
73
73
  ],
74
- "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
74
+ "gitHead": "17e14b4a9fa2c8b15df158ea7d77ce09bf50de82"
75
75
  }
@@ -1,262 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-alert-banner.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-alert-banner",
13
- "declaration": {
14
- "name": "AlertBanner",
15
- "module": "/src/AlertBanner.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/AlertBanner.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "AlertBanner",
28
- "slots": [
29
- {
30
- "description": "The alert banner text context",
31
- "name": ""
32
- },
33
- {
34
- "description": "Slot for the button element that surfaces the contextual action a user can take",
35
- "name": "action"
36
- }
37
- ],
38
- "members": [
39
- {
40
- "kind": "field",
41
- "name": "open",
42
- "type": {
43
- "text": "boolean"
44
- },
45
- "privacy": "public",
46
- "default": "false",
47
- "description": "Controls the display of the alert banner",
48
- "parameters": [
49
- {
50
- "name": "open",
51
- "type": {
52
- "text": "Boolean"
53
- }
54
- }
55
- ],
56
- "attribute": "open",
57
- "reflects": true
58
- },
59
- {
60
- "kind": "field",
61
- "name": "dismissible",
62
- "type": {
63
- "text": "boolean"
64
- },
65
- "privacy": "public",
66
- "default": "false",
67
- "description": "Whether to include an icon-only close button to dismiss the alert banner",
68
- "parameters": [
69
- {
70
- "name": "dismissible",
71
- "type": {
72
- "text": "Boolean"
73
- }
74
- }
75
- ],
76
- "attribute": "dismissible",
77
- "reflects": true
78
- },
79
- {
80
- "kind": "field",
81
- "name": "variant",
82
- "privacy": "public",
83
- "description": "The variant applies specific styling when set to `negative` or `info`;\n`variant` attribute is removed when it's passed an invalid variant.",
84
- "parameters": [
85
- {
86
- "name": "variant",
87
- "type": {
88
- "text": "String"
89
- }
90
- }
91
- ],
92
- "type": {
93
- "text": "AlertBannerVariants"
94
- },
95
- "attribute": "variant"
96
- },
97
- {
98
- "kind": "field",
99
- "name": "_variant",
100
- "type": {
101
- "text": "AlertBannerVariants"
102
- },
103
- "privacy": "private",
104
- "default": "''"
105
- },
106
- {
107
- "kind": "method",
108
- "name": "isValidVariant",
109
- "privacy": "protected",
110
- "return": {
111
- "type": {
112
- "text": "boolean"
113
- }
114
- },
115
- "parameters": [
116
- {
117
- "name": "variant",
118
- "type": {
119
- "text": "string"
120
- }
121
- }
122
- ]
123
- },
124
- {
125
- "kind": "method",
126
- "name": "renderIcon",
127
- "privacy": "protected",
128
- "return": {
129
- "type": {
130
- "text": "TemplateResult"
131
- }
132
- },
133
- "parameters": [
134
- {
135
- "name": "variant",
136
- "type": {
137
- "text": "string"
138
- }
139
- }
140
- ]
141
- },
142
- {
143
- "kind": "method",
144
- "name": "shouldClose",
145
- "privacy": "private",
146
- "return": {
147
- "type": {
148
- "text": "void"
149
- }
150
- }
151
- },
152
- {
153
- "kind": "method",
154
- "name": "close",
155
- "privacy": "public",
156
- "return": {
157
- "type": {
158
- "text": "void"
159
- }
160
- }
161
- },
162
- {
163
- "kind": "method",
164
- "name": "handleKeydown",
165
- "privacy": "private",
166
- "return": {
167
- "type": {
168
- "text": "void"
169
- }
170
- },
171
- "parameters": [
172
- {
173
- "name": "event",
174
- "type": {
175
- "text": "KeyboardEvent"
176
- }
177
- }
178
- ]
179
- }
180
- ],
181
- "events": [
182
- {
183
- "name": "close",
184
- "type": {
185
- "text": "CustomEvent"
186
- },
187
- "description": "Announces the alert banner has been closed"
188
- }
189
- ],
190
- "attributes": [
191
- {
192
- "name": "open",
193
- "type": {
194
- "text": "boolean"
195
- },
196
- "default": "false",
197
- "description": "Controls the display of the alert banner",
198
- "parameters": [
199
- {
200
- "name": "open",
201
- "type": {
202
- "text": "Boolean"
203
- }
204
- }
205
- ],
206
- "fieldName": "open"
207
- },
208
- {
209
- "name": "dismissible",
210
- "type": {
211
- "text": "boolean"
212
- },
213
- "default": "false",
214
- "description": "Whether to include an icon-only close button to dismiss the alert banner",
215
- "parameters": [
216
- {
217
- "name": "dismissible",
218
- "type": {
219
- "text": "Boolean"
220
- }
221
- }
222
- ],
223
- "fieldName": "dismissible"
224
- },
225
- {
226
- "name": "variant",
227
- "description": "The variant applies specific styling when set to `negative` or `info`;\n`variant` attribute is removed when it's passed an invalid variant.",
228
- "parameters": [
229
- {
230
- "name": "variant",
231
- "type": {
232
- "text": "String"
233
- }
234
- }
235
- ],
236
- "type": {
237
- "text": "AlertBannerVariants"
238
- },
239
- "fieldName": "variant"
240
- }
241
- ],
242
- "superclass": {
243
- "name": "SpectrumElement",
244
- "package": "@spectrum-web-components/base"
245
- },
246
- "tagName": "sp-alert-banner",
247
- "customElement": true
248
- }
249
- ],
250
- "exports": [
251
- {
252
- "kind": "js",
253
- "name": "AlertBanner",
254
- "declaration": {
255
- "name": "AlertBanner",
256
- "module": "src/AlertBanner.js"
257
- }
258
- }
259
- ]
260
- }
261
- ]
262
- }