scu-web-components 0.0.55 → 0.0.57

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.
@@ -4,34 +4,22 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "src/scw-button/ScwButton.ts",
7
+ "path": "src/scw-alert/ScwAlert.ts",
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
- "description": "ScwButton",
12
- "name": "ScwButton",
13
- "slots": [
14
- {
15
- "description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
16
- "name": "default",
17
- "default": "\"<a href target />\""
18
- },
19
- {
20
- "description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
21
- "name": "default",
22
- "default": "\"<... />\""
23
- }
24
- ],
11
+ "description": "ScwAlert a first LitElement web component",
12
+ "name": "ScwAlert",
25
13
  "members": [
26
14
  {
27
15
  "kind": "field",
28
- "name": "submitType",
16
+ "name": "description",
29
17
  "type": {
30
- "text": "ScwFormComponentSubmitTypes"
18
+ "text": "string"
31
19
  },
32
- "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
33
- "attribute": "submit-type",
34
- "reflects": true
20
+ "default": "''",
21
+ "description": "Secondary message",
22
+ "attribute": "description"
35
23
  },
36
24
  {
37
25
  "kind": "field",
@@ -49,279 +37,272 @@
49
37
  },
50
38
  {
51
39
  "kind": "field",
52
- "name": "href",
40
+ "name": "ariaLabel",
53
41
  "type": {
54
- "text": "string | undefined"
42
+ "text": "string"
55
43
  },
56
- "description": "(ScwLinkBase)",
57
- "attribute": "href",
58
- "reflects": true,
59
- "default": "'javascript:'",
60
- "inheritedFrom": {
61
- "name": "ScwLinkBase",
62
- "module": "src/scw-link-base/ScwLinkBase.ts"
63
- }
64
- },
65
- {
66
- "kind": "field",
67
- "name": "icon",
68
- "description": "icon getter",
69
- "parameters": [
70
- {
71
- "name": "icon",
72
- "type": {
73
- "text": "string | undefined"
74
- }
75
- }
76
- ],
77
- "attribute": "icon",
44
+ "default": "''",
45
+ "description": "(ScwComponent) Main text within component",
46
+ "attribute": "aria-label",
78
47
  "reflects": true,
79
48
  "inheritedFrom": {
80
- "name": "ScwLink",
81
- "module": "src/scw-link/ScwLink.ts"
49
+ "name": "ScwComponent",
50
+ "module": "src/scw-component/ScwComponent.ts"
82
51
  }
83
52
  },
84
53
  {
85
54
  "kind": "field",
86
- "name": "_icon",
55
+ "name": "ariaDisabled",
87
56
  "type": {
88
- "text": "string | undefined"
57
+ "text": "string"
89
58
  },
90
- "privacy": "private",
59
+ "default": "'false'",
60
+ "description": "(ScwComponent) Disables the component however it disables",
61
+ "attribute": "aria-disabled",
91
62
  "inheritedFrom": {
92
- "name": "ScwLink",
93
- "module": "src/scw-link/ScwLink.ts"
63
+ "name": "ScwComponent",
64
+ "module": "src/scw-component/ScwComponent.ts"
94
65
  }
95
66
  },
96
67
  {
97
68
  "kind": "field",
98
- "name": "iconSide",
69
+ "name": "isLink",
99
70
  "type": {
100
- "text": "string"
71
+ "text": "boolean"
101
72
  },
102
- "description": "(ScwLink) Determines which side the icon should show up on",
103
- "attribute": "icon-side",
73
+ "default": "false",
74
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
75
+ "attribute": "is-link",
104
76
  "reflects": true,
105
77
  "inheritedFrom": {
106
- "name": "ScwLink",
107
- "module": "src/scw-link/ScwLink.ts"
78
+ "name": "ScwComponent",
79
+ "module": "src/scw-component/ScwComponent.ts"
108
80
  }
109
81
  },
110
82
  {
111
83
  "kind": "field",
112
- "name": "design",
84
+ "name": "_lightDomMutationObserver",
113
85
  "type": {
114
- "text": "string"
86
+ "text": "LightDomMutationObserver | undefined"
115
87
  },
116
- "description": "(ScwLink) The design style of the link.",
117
- "attribute": "design",
118
- "reflects": true,
88
+ "description": "(ScwComponent) Light Dom Mutation Observer",
119
89
  "inheritedFrom": {
120
- "name": "ScwLink",
121
- "module": "src/scw-link/ScwLink.ts"
90
+ "name": "ScwComponent",
91
+ "module": "src/scw-component/ScwComponent.ts"
122
92
  }
123
93
  },
124
94
  {
125
95
  "kind": "field",
126
- "name": "_svgInfo",
96
+ "name": "dynamic",
127
97
  "type": {
128
- "text": "string"
98
+ "text": "boolean"
129
99
  },
130
- "default": "''",
100
+ "default": "false",
101
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
102
+ "attribute": "dynamic",
131
103
  "inheritedFrom": {
132
- "name": "ScwLink",
133
- "module": "src/scw-link/ScwLink.ts"
104
+ "name": "ScwComponent",
105
+ "module": "src/scw-component/ScwComponent.ts"
134
106
  }
135
107
  },
136
108
  {
137
109
  "kind": "method",
138
- "name": "refreshIcon",
139
- "description": "refreshIcon",
110
+ "name": "domMutated",
111
+ "description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
140
112
  "inheritedFrom": {
141
- "name": "ScwLink",
142
- "module": "src/scw-link/ScwLink.ts"
113
+ "name": "ScwComponent",
114
+ "module": "src/scw-component/ScwComponent.ts"
143
115
  }
144
116
  },
145
117
  {
146
118
  "kind": "method",
147
- "name": "validDesigns",
148
- "return": {
149
- "type": {
150
- "text": "object"
119
+ "name": "warn",
120
+ "parameters": [
121
+ {
122
+ "name": "message",
123
+ "type": {
124
+ "text": "string"
125
+ },
126
+ "description": "describing warning"
151
127
  }
152
- },
153
- "description": "Way to extend valid design types...",
128
+ ],
129
+ "description": "handles warnings...things wrong with formatting, ADA, etc...",
154
130
  "inheritedFrom": {
155
- "name": "ScwLink",
156
- "module": "src/scw-link/ScwLink.ts"
131
+ "name": "ScwComponent",
132
+ "module": "src/scw-component/ScwComponent.ts"
157
133
  }
158
134
  },
159
135
  {
160
136
  "kind": "method",
161
- "name": "doShowIcon",
162
- "return": {
163
- "type": {
164
- "text": "boolean"
165
- }
166
- },
167
- "description": "Way to extend valid design icon types...",
137
+ "name": "clearWarnings",
138
+ "description": "clearWarnings",
168
139
  "inheritedFrom": {
169
- "name": "ScwLink",
170
- "module": "src/scw-link/ScwLink.ts"
140
+ "name": "ScwComponent",
141
+ "module": "src/scw-component/ScwComponent.ts"
171
142
  }
172
143
  },
173
144
  {
174
- "kind": "method",
175
- "name": "renderContent",
176
- "return": {
177
- "type": {
178
- "text": "object"
179
- }
145
+ "kind": "field",
146
+ "name": "_lastWarning",
147
+ "type": {
148
+ "text": "string | undefined"
180
149
  },
181
- "description": "renderContent",
150
+ "description": "retain the last warning sent...good for testing.",
182
151
  "inheritedFrom": {
183
- "name": "ScwLink",
184
- "module": "src/scw-link/ScwLink.ts"
152
+ "name": "ScwComponent",
153
+ "module": "src/scw-component/ScwComponent.ts"
185
154
  }
186
- },
155
+ }
156
+ ],
157
+ "attributes": [
187
158
  {
188
- "kind": "method",
189
- "name": "findStyle",
190
- "description": "find the style per design",
191
- "return": {
192
- "type": {
193
- "text": "object"
194
- }
159
+ "name": "description",
160
+ "type": {
161
+ "text": "string"
195
162
  },
196
- "inheritedFrom": {
197
- "name": "ScwLink",
198
- "module": "src/scw-link/ScwLink.ts"
199
- }
163
+ "default": "''",
164
+ "description": "Secondary message",
165
+ "fieldName": "description"
200
166
  },
201
167
  {
202
- "kind": "field",
203
- "name": "target",
168
+ "name": "aria-label",
204
169
  "type": {
205
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
170
+ "text": "string"
206
171
  },
207
- "description": "(ScwLinkBase)",
208
- "attribute": "target",
209
- "reflects": true,
172
+ "default": "''",
173
+ "description": "(ScwComponent) Main text within component",
174
+ "fieldName": "ariaLabel",
210
175
  "inheritedFrom": {
211
- "name": "ScwLinkBase",
212
- "module": "src/scw-link-base/ScwLinkBase.ts"
176
+ "name": "ScwComponent",
177
+ "module": "src/scw-component/ScwComponent.ts"
213
178
  }
214
179
  },
215
180
  {
216
- "kind": "field",
217
- "name": "linkAnchor",
181
+ "name": "aria-disabled",
218
182
  "type": {
219
- "text": "HTMLAnchorElement | undefined"
183
+ "text": "string"
220
184
  },
185
+ "default": "'false'",
186
+ "description": "(ScwComponent) Disables the component however it disables",
187
+ "fieldName": "ariaDisabled",
221
188
  "inheritedFrom": {
222
- "name": "ScwLinkBase",
223
- "module": "src/scw-link-base/ScwLinkBase.ts"
189
+ "name": "ScwComponent",
190
+ "module": "src/scw-component/ScwComponent.ts"
224
191
  }
225
192
  },
226
193
  {
227
- "kind": "method",
228
- "name": "cancelEvent",
229
- "parameters": [
230
- {
231
- "name": "evt",
232
- "type": {
233
- "text": "Event"
234
- }
235
- }
236
- ],
237
- "description": "cancel event",
194
+ "name": "is-link",
195
+ "type": {
196
+ "text": "boolean"
197
+ },
198
+ "default": "false",
199
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
200
+ "fieldName": "isLink",
238
201
  "inheritedFrom": {
239
- "name": "ScwLinkBase",
240
- "module": "src/scw-link-base/ScwLinkBase.ts"
202
+ "name": "ScwComponent",
203
+ "module": "src/scw-component/ScwComponent.ts"
241
204
  }
242
205
  },
243
206
  {
244
- "kind": "method",
245
- "name": "focus",
246
- "return": {
247
- "type": {
248
- "text": "void"
249
- }
207
+ "name": "dynamic",
208
+ "type": {
209
+ "text": "boolean"
250
210
  },
251
- "description": "focus",
211
+ "default": "false",
212
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
213
+ "fieldName": "dynamic",
252
214
  "inheritedFrom": {
253
- "name": "ScwLinkBase",
254
- "module": "src/scw-link-base/ScwLinkBase.ts"
215
+ "name": "ScwComponent",
216
+ "module": "src/scw-component/ScwComponent.ts"
255
217
  }
256
218
  },
257
219
  {
258
- "kind": "method",
259
- "name": "renderLink",
260
- "return": {
261
- "type": {
262
- "text": "object"
263
- }
264
- },
265
- "parameters": [
266
- {
267
- "name": "children",
268
- "type": {
269
- "text": "object"
270
- }
271
- },
272
- {
273
- "name": "styles",
274
- "optional": true,
275
- "type": {
276
- "text": "string"
277
- }
278
- }
279
- ],
280
- "description": "renderLink",
281
- "inheritedFrom": {
282
- "name": "ScwLinkBase",
283
- "module": "src/scw-link-base/ScwLinkBase.ts"
284
- }
285
- },
286
- {
287
- "kind": "field",
288
- "name": "isLink",
220
+ "name": "element",
289
221
  "type": {
290
- "text": "boolean"
222
+ "text": "string"
291
223
  },
292
- "default": "true",
293
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
294
- "attribute": "is-link",
295
- "reflects": true,
224
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
225
+ "fieldName": "element",
296
226
  "inheritedFrom": {
297
227
  "name": "ScwComponent",
298
228
  "module": "src/scw-component/ScwComponent.ts"
299
229
  }
230
+ }
231
+ ],
232
+ "superclass": {
233
+ "name": "ScwComponent",
234
+ "package": "scw-component/ScwComponent"
235
+ },
236
+ "tagName": "scw-alert",
237
+ "customElement": true
238
+ }
239
+ ],
240
+ "exports": [
241
+ {
242
+ "kind": "js",
243
+ "name": "default",
244
+ "declaration": {
245
+ "name": "ScwAlert",
246
+ "module": "src/scw-alert/ScwAlert.ts"
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "kind": "javascript-module",
253
+ "path": "src/scw-alert/scw-alert.ts",
254
+ "declarations": [],
255
+ "exports": [
256
+ {
257
+ "kind": "custom-element-definition",
258
+ "name": "scw-alert",
259
+ "declaration": {
260
+ "name": "ScwAlert",
261
+ "module": "/src/scw-alert/ScwAlert.js"
262
+ }
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "kind": "javascript-module",
268
+ "path": "src/scw-button/ScwButton.ts",
269
+ "declarations": [
270
+ {
271
+ "kind": "class",
272
+ "description": "ScwButton",
273
+ "name": "ScwButton",
274
+ "slots": [
275
+ {
276
+ "description": "(OPTIONAL) anchor (for SEO) will determine the label, href, and target.",
277
+ "name": "default",
278
+ "default": "\"<a href target />\""
300
279
  },
280
+ {
281
+ "description": "(OPTIONAL) random content (paired with design=\"plain\") will wrap that content with a link.",
282
+ "name": "default",
283
+ "default": "\"<... />\""
284
+ }
285
+ ],
286
+ "members": [
301
287
  {
302
288
  "kind": "field",
303
- "name": "ariaLabel",
289
+ "name": "submitType",
304
290
  "type": {
305
- "text": "string"
291
+ "text": "ScwFormComponentSubmitTypes"
306
292
  },
307
- "default": "''",
308
- "description": "(ScwComponent) Main text within component",
309
- "attribute": "aria-label",
310
- "reflects": true,
311
- "inheritedFrom": {
312
- "name": "ScwComponent",
313
- "module": "src/scw-component/ScwComponent.ts"
314
- }
293
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
294
+ "attribute": "submit-type",
295
+ "reflects": true
315
296
  },
316
297
  {
317
298
  "kind": "field",
318
- "name": "ariaDisabled",
299
+ "name": "element",
319
300
  "type": {
320
301
  "text": "string"
321
302
  },
322
- "default": "'false'",
323
- "description": "(ScwComponent) Disables the component however it disables",
324
- "attribute": "aria-disabled",
303
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
304
+ "attribute": "element",
305
+ "reflects": true,
325
306
  "inheritedFrom": {
326
307
  "name": "ScwComponent",
327
308
  "module": "src/scw-component/ScwComponent.ts"
@@ -329,279 +310,249 @@
329
310
  },
330
311
  {
331
312
  "kind": "field",
332
- "name": "_lightDomMutationObserver",
313
+ "name": "href",
333
314
  "type": {
334
- "text": "LightDomMutationObserver | undefined"
315
+ "text": "string | undefined"
335
316
  },
336
- "description": "(ScwComponent) Light Dom Mutation Observer",
317
+ "description": "(ScwLinkBase)",
318
+ "attribute": "href",
319
+ "reflects": true,
320
+ "default": "'javascript:'",
337
321
  "inheritedFrom": {
338
- "name": "ScwComponent",
339
- "module": "src/scw-component/ScwComponent.ts"
322
+ "name": "ScwLinkBase",
323
+ "module": "src/scw-link-base/ScwLinkBase.ts"
340
324
  }
341
325
  },
342
326
  {
343
327
  "kind": "field",
344
- "name": "dynamic",
345
- "type": {
346
- "text": "boolean"
347
- },
348
- "default": "false",
349
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
350
- "attribute": "dynamic",
351
- "inheritedFrom": {
352
- "name": "ScwComponent",
353
- "module": "src/scw-component/ScwComponent.ts"
354
- }
355
- },
356
- {
357
- "kind": "method",
358
- "name": "domMutated",
359
- "description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
360
- "inheritedFrom": {
361
- "name": "ScwComponent",
362
- "module": "src/scw-component/ScwComponent.ts"
363
- }
364
- },
365
- {
366
- "kind": "method",
367
- "name": "warn",
328
+ "name": "icon",
329
+ "description": "icon getter",
368
330
  "parameters": [
369
331
  {
370
- "name": "message",
332
+ "name": "icon",
371
333
  "type": {
372
- "text": "string"
373
- },
374
- "description": "describing warning"
334
+ "text": "string | undefined"
335
+ }
375
336
  }
376
337
  ],
377
- "description": "handles warnings...things wrong with formatting, ADA, etc...",
378
- "inheritedFrom": {
379
- "name": "ScwComponent",
380
- "module": "src/scw-component/ScwComponent.ts"
381
- }
382
- },
383
- {
384
- "kind": "method",
385
- "name": "clearWarnings",
386
- "description": "clearWarnings",
338
+ "attribute": "icon",
339
+ "reflects": true,
387
340
  "inheritedFrom": {
388
- "name": "ScwComponent",
389
- "module": "src/scw-component/ScwComponent.ts"
341
+ "name": "ScwLink",
342
+ "module": "src/scw-link/ScwLink.ts"
390
343
  }
391
344
  },
392
345
  {
393
346
  "kind": "field",
394
- "name": "_lastWarning",
347
+ "name": "_icon",
395
348
  "type": {
396
349
  "text": "string | undefined"
397
350
  },
398
- "description": "retain the last warning sent...good for testing.",
351
+ "privacy": "private",
399
352
  "inheritedFrom": {
400
- "name": "ScwComponent",
401
- "module": "src/scw-component/ScwComponent.ts"
353
+ "name": "ScwLink",
354
+ "module": "src/scw-link/ScwLink.ts"
402
355
  }
403
- }
404
- ],
405
- "attributes": [
356
+ },
406
357
  {
407
- "name": "submit-type",
358
+ "kind": "field",
359
+ "name": "iconSide",
408
360
  "type": {
409
- "text": "ScwFormComponentSubmitTypes"
361
+ "text": "string"
410
362
  },
411
- "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
412
- "fieldName": "submitType"
413
- },
414
- {
415
- "name": "icon",
416
- "description": "icon getter",
417
- "parameters": [
418
- {
419
- "name": "icon",
420
- "type": {
421
- "text": "string | undefined"
422
- }
423
- }
424
- ],
425
- "fieldName": "icon",
363
+ "description": "(ScwLink) Determines which side the icon should show up on",
364
+ "attribute": "icon-side",
365
+ "reflects": true,
426
366
  "inheritedFrom": {
427
367
  "name": "ScwLink",
428
368
  "module": "src/scw-link/ScwLink.ts"
429
369
  }
430
370
  },
431
371
  {
432
- "name": "icon-side",
372
+ "kind": "field",
373
+ "name": "design",
433
374
  "type": {
434
375
  "text": "string"
435
376
  },
436
- "description": "(ScwLink) Determines which side the icon should show up on",
437
- "fieldName": "iconSide",
377
+ "description": "(ScwLink) The design style of the link.",
378
+ "attribute": "design",
379
+ "reflects": true,
438
380
  "inheritedFrom": {
439
381
  "name": "ScwLink",
440
382
  "module": "src/scw-link/ScwLink.ts"
441
383
  }
442
384
  },
443
385
  {
444
- "name": "design",
386
+ "kind": "field",
387
+ "name": "_svgInfo",
445
388
  "type": {
446
389
  "text": "string"
447
390
  },
448
- "description": "(ScwLink) The design style of the link.",
449
- "fieldName": "design",
391
+ "default": "''",
450
392
  "inheritedFrom": {
451
393
  "name": "ScwLink",
452
394
  "module": "src/scw-link/ScwLink.ts"
453
395
  }
454
396
  },
455
397
  {
456
- "name": "href",
457
- "type": {
458
- "text": "string | undefined"
398
+ "kind": "method",
399
+ "name": "refreshIcon",
400
+ "description": "refreshIcon",
401
+ "inheritedFrom": {
402
+ "name": "ScwLink",
403
+ "module": "src/scw-link/ScwLink.ts"
404
+ }
405
+ },
406
+ {
407
+ "kind": "method",
408
+ "name": "validDesigns",
409
+ "return": {
410
+ "type": {
411
+ "text": "object"
412
+ }
459
413
  },
460
- "description": "(ScwLinkBase)",
461
- "fieldName": "href",
414
+ "description": "Way to extend valid design types...",
462
415
  "inheritedFrom": {
463
- "name": "ScwLinkBase",
464
- "module": "src/scw-link-base/ScwLinkBase.ts"
416
+ "name": "ScwLink",
417
+ "module": "src/scw-link/ScwLink.ts"
465
418
  }
466
419
  },
467
420
  {
468
- "name": "target",
469
- "type": {
470
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
421
+ "kind": "method",
422
+ "name": "doShowIcon",
423
+ "return": {
424
+ "type": {
425
+ "text": "boolean"
426
+ }
471
427
  },
472
- "description": "(ScwLinkBase)",
473
- "fieldName": "target",
428
+ "description": "Way to extend valid design icon types...",
474
429
  "inheritedFrom": {
475
- "name": "ScwLinkBase",
476
- "module": "src/scw-link-base/ScwLinkBase.ts"
430
+ "name": "ScwLink",
431
+ "module": "src/scw-link/ScwLink.ts"
477
432
  }
478
433
  },
479
434
  {
480
- "name": "aria-label",
481
- "type": {
482
- "text": "string"
435
+ "kind": "method",
436
+ "name": "renderContent",
437
+ "return": {
438
+ "type": {
439
+ "text": "object"
440
+ }
483
441
  },
484
- "default": "''",
485
- "description": "(ScwComponent) Main text within component",
486
- "fieldName": "ariaLabel",
442
+ "description": "renderContent",
487
443
  "inheritedFrom": {
488
- "name": "ScwComponent",
489
- "module": "src/scw-component/ScwComponent.ts"
444
+ "name": "ScwLink",
445
+ "module": "src/scw-link/ScwLink.ts"
490
446
  }
491
447
  },
492
448
  {
493
- "name": "aria-disabled",
494
- "type": {
495
- "text": "string"
449
+ "kind": "method",
450
+ "name": "findStyle",
451
+ "description": "find the style per design",
452
+ "return": {
453
+ "type": {
454
+ "text": "object"
455
+ }
496
456
  },
497
- "default": "'false'",
498
- "description": "(ScwComponent) Disables the component however it disables",
499
- "fieldName": "ariaDisabled",
500
457
  "inheritedFrom": {
501
- "name": "ScwComponent",
502
- "module": "src/scw-component/ScwComponent.ts"
458
+ "name": "ScwLink",
459
+ "module": "src/scw-link/ScwLink.ts"
503
460
  }
504
461
  },
505
462
  {
506
- "name": "is-link",
463
+ "kind": "field",
464
+ "name": "target",
507
465
  "type": {
508
- "text": "boolean"
466
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
509
467
  },
510
- "default": "false",
511
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
512
- "fieldName": "isLink",
468
+ "description": "(ScwLinkBase)",
469
+ "attribute": "target",
470
+ "reflects": true,
513
471
  "inheritedFrom": {
514
- "name": "ScwComponent",
515
- "module": "src/scw-component/ScwComponent.ts"
472
+ "name": "ScwLinkBase",
473
+ "module": "src/scw-link-base/ScwLinkBase.ts"
516
474
  }
517
475
  },
518
476
  {
519
- "name": "dynamic",
477
+ "kind": "field",
478
+ "name": "linkAnchor",
520
479
  "type": {
521
- "text": "boolean"
480
+ "text": "HTMLAnchorElement | undefined"
522
481
  },
523
- "default": "false",
524
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
525
- "fieldName": "dynamic",
526
482
  "inheritedFrom": {
527
- "name": "ScwComponent",
528
- "module": "src/scw-component/ScwComponent.ts"
483
+ "name": "ScwLinkBase",
484
+ "module": "src/scw-link-base/ScwLinkBase.ts"
529
485
  }
530
486
  },
531
487
  {
532
- "name": "element",
533
- "type": {
534
- "text": "string"
488
+ "kind": "method",
489
+ "name": "cancelEvent",
490
+ "parameters": [
491
+ {
492
+ "name": "evt",
493
+ "type": {
494
+ "text": "Event"
495
+ }
496
+ }
497
+ ],
498
+ "description": "cancel event",
499
+ "inheritedFrom": {
500
+ "name": "ScwLinkBase",
501
+ "module": "src/scw-link-base/ScwLinkBase.ts"
502
+ }
503
+ },
504
+ {
505
+ "kind": "method",
506
+ "name": "focus",
507
+ "return": {
508
+ "type": {
509
+ "text": "void"
510
+ }
535
511
  },
536
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
537
- "fieldName": "element",
512
+ "description": "focus",
538
513
  "inheritedFrom": {
539
- "name": "ScwComponent",
540
- "module": "src/scw-component/ScwComponent.ts"
514
+ "name": "ScwLinkBase",
515
+ "module": "src/scw-link-base/ScwLinkBase.ts"
541
516
  }
542
- }
543
- ],
544
- "superclass": {
545
- "name": "ScwLink",
546
- "module": "/src/scw-link/ScwLink"
547
- },
548
- "tagName": "scw-button",
549
- "customElement": true
550
- }
551
- ],
552
- "exports": [
553
- {
554
- "kind": "js",
555
- "name": "default",
556
- "declaration": {
557
- "name": "ScwButton",
558
- "module": "src/scw-button/ScwButton.ts"
559
- }
560
- }
561
- ]
562
- },
563
- {
564
- "kind": "javascript-module",
565
- "path": "src/scw-button/scw-button.ts",
566
- "declarations": [],
567
- "exports": [
568
- {
569
- "kind": "custom-element-definition",
570
- "name": "scw-button",
571
- "declaration": {
572
- "name": "ScwButton",
573
- "module": "/src/scw-button/ScwButton.js"
574
- }
575
- }
576
- ]
577
- },
578
- {
579
- "kind": "javascript-module",
580
- "path": "src/scw-alert/ScwAlert.ts",
581
- "declarations": [
582
- {
583
- "kind": "class",
584
- "description": "ScwAlert a first LitElement web component",
585
- "name": "ScwAlert",
586
- "members": [
517
+ },
587
518
  {
588
- "kind": "field",
589
- "name": "description",
590
- "type": {
591
- "text": "string"
519
+ "kind": "method",
520
+ "name": "renderLink",
521
+ "return": {
522
+ "type": {
523
+ "text": "object"
524
+ }
592
525
  },
593
- "default": "''",
594
- "description": "Secondary message",
595
- "attribute": "description"
526
+ "parameters": [
527
+ {
528
+ "name": "children",
529
+ "type": {
530
+ "text": "object"
531
+ }
532
+ },
533
+ {
534
+ "name": "styles",
535
+ "optional": true,
536
+ "type": {
537
+ "text": "string"
538
+ }
539
+ }
540
+ ],
541
+ "description": "renderLink",
542
+ "inheritedFrom": {
543
+ "name": "ScwLinkBase",
544
+ "module": "src/scw-link-base/ScwLinkBase.ts"
545
+ }
596
546
  },
597
547
  {
598
548
  "kind": "field",
599
- "name": "element",
549
+ "name": "isLink",
600
550
  "type": {
601
- "text": "string"
551
+ "text": "boolean"
602
552
  },
603
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
604
- "attribute": "element",
553
+ "default": "true",
554
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
555
+ "attribute": "is-link",
605
556
  "reflects": true,
606
557
  "inheritedFrom": {
607
558
  "name": "ScwComponent",
@@ -637,21 +588,6 @@
637
588
  "module": "src/scw-component/ScwComponent.ts"
638
589
  }
639
590
  },
640
- {
641
- "kind": "field",
642
- "name": "isLink",
643
- "type": {
644
- "text": "boolean"
645
- },
646
- "default": "false",
647
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
648
- "attribute": "is-link",
649
- "reflects": true,
650
- "inheritedFrom": {
651
- "name": "ScwComponent",
652
- "module": "src/scw-component/ScwComponent.ts"
653
- }
654
- },
655
591
  {
656
592
  "kind": "field",
657
593
  "name": "_lightDomMutationObserver",
@@ -729,13 +665,77 @@
729
665
  ],
730
666
  "attributes": [
731
667
  {
732
- "name": "description",
668
+ "name": "submit-type",
669
+ "type": {
670
+ "text": "ScwFormComponentSubmitTypes"
671
+ },
672
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
673
+ "fieldName": "submitType"
674
+ },
675
+ {
676
+ "name": "icon",
677
+ "description": "icon getter",
678
+ "parameters": [
679
+ {
680
+ "name": "icon",
681
+ "type": {
682
+ "text": "string | undefined"
683
+ }
684
+ }
685
+ ],
686
+ "fieldName": "icon",
687
+ "inheritedFrom": {
688
+ "name": "ScwLink",
689
+ "module": "src/scw-link/ScwLink.ts"
690
+ }
691
+ },
692
+ {
693
+ "name": "icon-side",
733
694
  "type": {
734
695
  "text": "string"
735
696
  },
736
- "default": "''",
737
- "description": "Secondary message",
738
- "fieldName": "description"
697
+ "description": "(ScwLink) Determines which side the icon should show up on",
698
+ "fieldName": "iconSide",
699
+ "inheritedFrom": {
700
+ "name": "ScwLink",
701
+ "module": "src/scw-link/ScwLink.ts"
702
+ }
703
+ },
704
+ {
705
+ "name": "design",
706
+ "type": {
707
+ "text": "string"
708
+ },
709
+ "description": "(ScwLink) The design style of the link.",
710
+ "fieldName": "design",
711
+ "inheritedFrom": {
712
+ "name": "ScwLink",
713
+ "module": "src/scw-link/ScwLink.ts"
714
+ }
715
+ },
716
+ {
717
+ "name": "href",
718
+ "type": {
719
+ "text": "string | undefined"
720
+ },
721
+ "description": "(ScwLinkBase)",
722
+ "fieldName": "href",
723
+ "inheritedFrom": {
724
+ "name": "ScwLinkBase",
725
+ "module": "src/scw-link-base/ScwLinkBase.ts"
726
+ }
727
+ },
728
+ {
729
+ "name": "target",
730
+ "type": {
731
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
732
+ },
733
+ "description": "(ScwLinkBase)",
734
+ "fieldName": "target",
735
+ "inheritedFrom": {
736
+ "name": "ScwLinkBase",
737
+ "module": "src/scw-link-base/ScwLinkBase.ts"
738
+ }
739
739
  },
740
740
  {
741
741
  "name": "aria-label",
@@ -803,10 +803,10 @@
803
803
  }
804
804
  ],
805
805
  "superclass": {
806
- "name": "ScwComponent",
807
- "package": "scw-component/ScwComponent"
806
+ "name": "ScwLink",
807
+ "module": "/src/scw-link/ScwLink"
808
808
  },
809
- "tagName": "scw-alert",
809
+ "tagName": "scw-button",
810
810
  "customElement": true
811
811
  }
812
812
  ],
@@ -815,23 +815,23 @@
815
815
  "kind": "js",
816
816
  "name": "default",
817
817
  "declaration": {
818
- "name": "ScwAlert",
819
- "module": "src/scw-alert/ScwAlert.ts"
818
+ "name": "ScwButton",
819
+ "module": "src/scw-button/ScwButton.ts"
820
820
  }
821
821
  }
822
822
  ]
823
823
  },
824
824
  {
825
825
  "kind": "javascript-module",
826
- "path": "src/scw-alert/scw-alert.ts",
826
+ "path": "src/scw-button/scw-button.ts",
827
827
  "declarations": [],
828
828
  "exports": [
829
829
  {
830
830
  "kind": "custom-element-definition",
831
- "name": "scw-alert",
831
+ "name": "scw-button",
832
832
  "declaration": {
833
- "name": "ScwAlert",
834
- "module": "/src/scw-alert/ScwAlert.js"
833
+ "name": "ScwButton",
834
+ "module": "/src/scw-button/ScwButton.js"
835
835
  }
836
836
  }
837
837
  ]
@@ -15493,6 +15493,60 @@
15493
15493
  "declarations": [],
15494
15494
  "exports": []
15495
15495
  },
15496
+ {
15497
+ "kind": "javascript-module",
15498
+ "path": "src/utils/events/event.ts",
15499
+ "declarations": [
15500
+ {
15501
+ "kind": "function",
15502
+ "name": "emit",
15503
+ "parameters": [
15504
+ {
15505
+ "name": "name",
15506
+ "type": {
15507
+ "text": "string"
15508
+ }
15509
+ },
15510
+ {
15511
+ "name": "target",
15512
+ "type": {
15513
+ "text": "HTMLElement"
15514
+ }
15515
+ },
15516
+ {
15517
+ "name": "detail",
15518
+ "default": "{}",
15519
+ "type": {
15520
+ "text": "object"
15521
+ }
15522
+ },
15523
+ {
15524
+ "name": "options",
15525
+ "optional": true,
15526
+ "type": {
15527
+ "text": "CustomEventInit"
15528
+ }
15529
+ }
15530
+ ],
15531
+ "description": "Emits a custom event with web component friendly defaults.",
15532
+ "return": {
15533
+ "type": {
15534
+ "text": "object"
15535
+ }
15536
+ }
15537
+ }
15538
+ ],
15539
+ "exports": [
15540
+ {
15541
+ "kind": "js",
15542
+ "name": "emit",
15543
+ "declaration": {
15544
+ "name": "emit",
15545
+ "module": "src/utils/events/event.ts"
15546
+ }
15547
+ }
15548
+ ]
15549
+ },
15496
15550
  {
15497
15551
  "kind": "javascript-module",
15498
15552
  "path": "src/utils/observers/intersectionObserverSingleton.ts",
@@ -15805,60 +15859,6 @@
15805
15859
  "path": "src/utils/themes/enums.ts",
15806
15860
  "declarations": [],
15807
15861
  "exports": []
15808
- },
15809
- {
15810
- "kind": "javascript-module",
15811
- "path": "src/utils/events/event.ts",
15812
- "declarations": [
15813
- {
15814
- "kind": "function",
15815
- "name": "emit",
15816
- "parameters": [
15817
- {
15818
- "name": "name",
15819
- "type": {
15820
- "text": "string"
15821
- }
15822
- },
15823
- {
15824
- "name": "target",
15825
- "type": {
15826
- "text": "HTMLElement"
15827
- }
15828
- },
15829
- {
15830
- "name": "detail",
15831
- "default": "{}",
15832
- "type": {
15833
- "text": "object"
15834
- }
15835
- },
15836
- {
15837
- "name": "options",
15838
- "optional": true,
15839
- "type": {
15840
- "text": "CustomEventInit"
15841
- }
15842
- }
15843
- ],
15844
- "description": "Emits a custom event with web component friendly defaults.",
15845
- "return": {
15846
- "type": {
15847
- "text": "object"
15848
- }
15849
- }
15850
- }
15851
- ],
15852
- "exports": [
15853
- {
15854
- "kind": "js",
15855
- "name": "emit",
15856
- "declaration": {
15857
- "name": "emit",
15858
- "module": "src/utils/events/event.ts"
15859
- }
15860
- }
15861
- ]
15862
15862
  }
15863
15863
  ]
15864
15864
  }