@spectrum-web-components/alert-dialog 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-dialog",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-color-testing",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -59,12 +59,12 @@
59
59
  ],
60
60
  "dependencies": {
61
61
  "@lit-labs/observers": "^2.0.2",
62
- "@spectrum-web-components/base": "^1.0.0",
63
- "@spectrum-web-components/button": "^1.0.0",
64
- "@spectrum-web-components/button-group": "^1.0.0",
65
- "@spectrum-web-components/divider": "^1.0.0",
66
- "@spectrum-web-components/icons-workflow": "^1.0.0",
67
- "@spectrum-web-components/shared": "^1.0.0"
62
+ "@spectrum-web-components/base": "^1.0.1-color-testing",
63
+ "@spectrum-web-components/button": "^1.0.1-color-testing",
64
+ "@spectrum-web-components/button-group": "^1.0.1-color-testing",
65
+ "@spectrum-web-components/divider": "^1.0.1-color-testing",
66
+ "@spectrum-web-components/icons-workflow": "^1.0.1-color-testing",
67
+ "@spectrum-web-components/shared": "^1.0.1-color-testing"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@spectrum-css/alertdialog": "^3.0.0-s2-foundations.15"
@@ -76,5 +76,5 @@
76
76
  "./**/*.dev.js",
77
77
  "./**/*.dev.js"
78
78
  ],
79
- "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
79
+ "gitHead": "17e14b4a9fa2c8b15df158ea7d77ce09bf50de82"
80
80
  }
@@ -1,232 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-alert-dialog.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-alert-dialog",
13
- "declaration": {
14
- "name": "AlertDialog",
15
- "module": "/src/AlertDialog.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/AlertDialog.js",
23
- "declarations": [
24
- {
25
- "kind": "variable",
26
- "name": "alertDialogVariants",
27
- "type": {
28
- "text": "AlertDialogVariants[]"
29
- },
30
- "default": "[\n 'confirmation',\n 'information',\n 'warning',\n 'error',\n 'destructive',\n 'secondary',\n]"
31
- },
32
- {
33
- "kind": "class",
34
- "description": "",
35
- "name": "AlertDialog",
36
- "members": [
37
- {
38
- "kind": "field",
39
- "name": "contentElement",
40
- "type": {
41
- "text": "HTMLDivElement"
42
- },
43
- "privacy": "private"
44
- },
45
- {
46
- "kind": "field",
47
- "name": "resizeController",
48
- "privacy": "private",
49
- "default": "new ResizeController(this, {\n callback: () => {\n this.shouldManageTabOrderForScrolling();\n },\n })"
50
- },
51
- {
52
- "kind": "field",
53
- "name": "_variant",
54
- "type": {
55
- "text": "AlertDialogVariants"
56
- },
57
- "privacy": "public",
58
- "default": "''"
59
- },
60
- {
61
- "kind": "field",
62
- "name": "variant",
63
- "privacy": "public",
64
- "type": {
65
- "text": "AlertDialogVariants"
66
- },
67
- "attribute": "variant",
68
- "reflects": true
69
- },
70
- {
71
- "kind": "method",
72
- "name": "renderIcon",
73
- "privacy": "protected",
74
- "return": {
75
- "type": {
76
- "text": "TemplateResult"
77
- }
78
- }
79
- },
80
- {
81
- "kind": "method",
82
- "name": "renderHeading",
83
- "privacy": "protected",
84
- "return": {
85
- "type": {
86
- "text": "TemplateResult"
87
- }
88
- }
89
- },
90
- {
91
- "kind": "method",
92
- "name": "renderContent",
93
- "privacy": "protected",
94
- "return": {
95
- "type": {
96
- "text": "TemplateResult"
97
- }
98
- }
99
- },
100
- {
101
- "kind": "field",
102
- "name": "instanceCount",
103
- "type": {
104
- "text": "number"
105
- },
106
- "static": true,
107
- "default": "0"
108
- },
109
- {
110
- "kind": "field",
111
- "name": "labelledbyId",
112
- "privacy": "private",
113
- "default": "`sp-dialog-label-${AlertDialog.instanceCount++}`"
114
- },
115
- {
116
- "kind": "field",
117
- "name": "conditionLabelledby",
118
- "type": {
119
- "text": "() => void | undefined"
120
- },
121
- "privacy": "private"
122
- },
123
- {
124
- "kind": "field",
125
- "name": "conditionDescribedby",
126
- "type": {
127
- "text": "() => void | undefined"
128
- },
129
- "privacy": "private"
130
- },
131
- {
132
- "kind": "method",
133
- "name": "onHeadingSlotchange",
134
- "privacy": "private",
135
- "return": {
136
- "type": {
137
- "text": "void"
138
- }
139
- },
140
- "parameters": [
141
- {
142
- "name": "{\n target,\n }",
143
- "type": {
144
- "text": "Event & { target: HTMLSlotElement }"
145
- }
146
- }
147
- ]
148
- },
149
- {
150
- "kind": "field",
151
- "name": "shouldManageTabOrderForScrolling",
152
- "privacy": "public"
153
- },
154
- {
155
- "kind": "field",
156
- "name": "describedbyId",
157
- "privacy": "private",
158
- "default": "`sp-dialog-description-${AlertDialog.instanceCount++}`"
159
- },
160
- {
161
- "kind": "method",
162
- "name": "onContentSlotChange",
163
- "privacy": "protected",
164
- "return": {
165
- "type": {
166
- "text": "void"
167
- }
168
- },
169
- "parameters": [
170
- {
171
- "name": "{\n target,\n }",
172
- "type": {
173
- "text": "Event & { target: HTMLSlotElement }"
174
- }
175
- }
176
- ]
177
- },
178
- {
179
- "kind": "method",
180
- "name": "renderButtons",
181
- "privacy": "protected",
182
- "return": {
183
- "type": {
184
- "text": "TemplateResult"
185
- }
186
- }
187
- }
188
- ],
189
- "attributes": [
190
- {
191
- "name": "variant",
192
- "type": {
193
- "text": "AlertDialogVariants"
194
- },
195
- "fieldName": "variant"
196
- }
197
- ],
198
- "mixins": [
199
- {
200
- "name": "FocusVisiblePolyfillMixin",
201
- "package": "@spectrum-web-components/shared/src/focus-visible.js"
202
- }
203
- ],
204
- "superclass": {
205
- "name": "SpectrumElement",
206
- "package": "@spectrum-web-components/base"
207
- },
208
- "tagName": "sp-alert-dialog",
209
- "customElement": true
210
- }
211
- ],
212
- "exports": [
213
- {
214
- "kind": "js",
215
- "name": "alertDialogVariants",
216
- "declaration": {
217
- "name": "alertDialogVariants",
218
- "module": "src/AlertDialog.js"
219
- }
220
- },
221
- {
222
- "kind": "js",
223
- "name": "AlertDialog",
224
- "declaration": {
225
- "name": "AlertDialog",
226
- "module": "src/AlertDialog.js"
227
- }
228
- }
229
- ]
230
- }
231
- ]
232
- }