scu-web-components 0.0.53 → 0.0.55

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.
Files changed (67) hide show
  1. package/dist/chunks/{chunk.TYN2P2KN.js → chunk.4O3MKSMB.js} +1 -1
  2. package/dist/chunks/chunk.4O3MKSMB.js.gz +0 -0
  3. package/dist/chunks/chunk.APDMSNWD.js +1 -0
  4. package/dist/chunks/chunk.APDMSNWD.js.gz +0 -0
  5. package/dist/chunks/chunk.FE6Q4XHS.js +1 -0
  6. package/dist/chunks/chunk.FE6Q4XHS.js.gz +0 -0
  7. package/dist/chunks/chunk.THHB3DFF.js +1 -0
  8. package/dist/chunks/chunk.THHB3DFF.js.gz +0 -0
  9. package/dist/chunks/{chunk.JXM2F5II.js → chunk.V6ASPMJX.js} +1 -1
  10. package/dist/chunks/chunk.V6ASPMJX.js.gz +0 -0
  11. package/dist/chunks/{chunk.FQQRBLN5.js → chunk.Z73LGC4J.js} +1 -1
  12. package/dist/chunks/chunk.Z73LGC4J.js.gz +0 -0
  13. package/dist/custom-elements.json +980 -980
  14. package/dist/custom-elements.json.gz +0 -0
  15. package/dist/docs/components/manifest.json +48 -48
  16. package/dist/docs/config.json +3 -3
  17. package/dist/scw-button/ScwButton.js +1 -1
  18. package/dist/scw-button/ScwButton.js.gz +0 -0
  19. package/dist/scw-button/scw-button.js +1 -1
  20. package/dist/scw-button/scw-button.js.gz +0 -0
  21. package/dist/scw-card/ScwCard.js +1 -1
  22. package/dist/scw-card/ScwCard.js.gz +0 -0
  23. package/dist/scw-card/scw-card.js +1 -1
  24. package/dist/scw-card/scw-card.js.gz +0 -0
  25. package/dist/scw-components.js +1 -1
  26. package/dist/scw-components.js.gz +0 -0
  27. package/dist/scw-form-component/scw-form-component.js +1 -1
  28. package/dist/scw-form-component/scw-form-component.js.gz +0 -0
  29. package/dist/scw-icon/ScwIcon.js +1 -1
  30. package/dist/scw-icon/ScwIcon.js.gz +0 -0
  31. package/dist/scw-icon/scw-icon.js +1 -1
  32. package/dist/scw-icon/scw-icon.js.gz +0 -0
  33. package/dist/scw-input/scw-input.js +1 -1
  34. package/dist/scw-input/scw-input.js.gz +0 -0
  35. package/dist/scw-select/scw-select.js +1 -1
  36. package/dist/scw-select/scw-select.js.gz +0 -0
  37. package/dist/scw-single-input/scw-single-input.js +1 -1
  38. package/dist/scw-single-input/scw-single-input.js.gz +0 -0
  39. package/dist/scw-textarea/scw-textarea.js +1 -1
  40. package/dist/scw-textarea/scw-textarea.js.gz +0 -0
  41. package/dist/scw.js +1 -1
  42. package/dist/scw.js.gz +0 -0
  43. package/dist/tokens/source/jsCss.js +1 -1
  44. package/dist/tokens/source/jsCss.js.gz +0 -0
  45. package/dist/tokens/source/jsCssGenerator.js +1 -1
  46. package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
  47. package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
  48. package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
  49. package/dist/utils/suffix.js +1 -1
  50. package/dist/utils/suffix.js.gz +0 -0
  51. package/dist-node/scw-components.js +1 -1
  52. package/dist-node/scw-icon/ScwIcon.js +1 -1
  53. package/dist-node/scw-icon/scw-icon.js +2 -2
  54. package/dist-node/scw.js +1 -1
  55. package/package.json +1 -1
  56. package/scripts/themes.mjs +6 -2
  57. package/dist/chunks/chunk.666BIQQM.js +0 -1
  58. package/dist/chunks/chunk.666BIQQM.js.gz +0 -0
  59. package/dist/chunks/chunk.ALT45ALV.js +0 -1
  60. package/dist/chunks/chunk.ALT45ALV.js.gz +0 -0
  61. package/dist/chunks/chunk.FQQRBLN5.js.gz +0 -0
  62. package/dist/chunks/chunk.JXM2F5II.js.gz +0 -0
  63. package/dist/chunks/chunk.TJYE5VHV.js +0 -1
  64. package/dist/chunks/chunk.TJYE5VHV.js.gz +0 -0
  65. package/dist/chunks/chunk.TYN2P2KN.js.gz +0 -0
  66. /package/dist/chunks/{chunk.PHOCAD7Y.js → chunk.V4LKG7M5.js} +0 -0
  67. /package/dist/chunks/{chunk.PHOCAD7Y.js.gz → chunk.V4LKG7M5.js.gz} +0 -0
@@ -4,22 +4,34 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "src/scw-alert/ScwAlert.ts",
7
+ "path": "src/scw-button/ScwButton.ts",
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
- "description": "ScwAlert a first LitElement web component",
12
- "name": "ScwAlert",
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
+ ],
13
25
  "members": [
14
26
  {
15
27
  "kind": "field",
16
- "name": "description",
28
+ "name": "submitType",
17
29
  "type": {
18
- "text": "string"
30
+ "text": "ScwFormComponentSubmitTypes"
19
31
  },
20
- "default": "''",
21
- "description": "Secondary message",
22
- "attribute": "description"
32
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
33
+ "attribute": "submit-type",
34
+ "reflects": true
23
35
  },
24
36
  {
25
37
  "kind": "field",
@@ -37,271 +49,249 @@
37
49
  },
38
50
  {
39
51
  "kind": "field",
40
- "name": "ariaLabel",
52
+ "name": "href",
41
53
  "type": {
42
- "text": "string"
54
+ "text": "string | undefined"
43
55
  },
44
- "default": "''",
45
- "description": "(ScwComponent) Main text within component",
46
- "attribute": "aria-label",
56
+ "description": "(ScwLinkBase)",
57
+ "attribute": "href",
47
58
  "reflects": true,
59
+ "default": "'javascript:'",
48
60
  "inheritedFrom": {
49
- "name": "ScwComponent",
50
- "module": "src/scw-component/ScwComponent.ts"
61
+ "name": "ScwLinkBase",
62
+ "module": "src/scw-link-base/ScwLinkBase.ts"
51
63
  }
52
64
  },
53
65
  {
54
66
  "kind": "field",
55
- "name": "ariaDisabled",
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",
78
+ "reflects": true,
79
+ "inheritedFrom": {
80
+ "name": "ScwLink",
81
+ "module": "src/scw-link/ScwLink.ts"
82
+ }
83
+ },
84
+ {
85
+ "kind": "field",
86
+ "name": "_icon",
56
87
  "type": {
57
- "text": "string"
88
+ "text": "string | undefined"
58
89
  },
59
- "default": "'false'",
60
- "description": "(ScwComponent) Disables the component however it disables",
61
- "attribute": "aria-disabled",
90
+ "privacy": "private",
62
91
  "inheritedFrom": {
63
- "name": "ScwComponent",
64
- "module": "src/scw-component/ScwComponent.ts"
92
+ "name": "ScwLink",
93
+ "module": "src/scw-link/ScwLink.ts"
65
94
  }
66
95
  },
67
96
  {
68
97
  "kind": "field",
69
- "name": "isLink",
98
+ "name": "iconSide",
70
99
  "type": {
71
- "text": "boolean"
100
+ "text": "string"
72
101
  },
73
- "default": "false",
74
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
75
- "attribute": "is-link",
102
+ "description": "(ScwLink) Determines which side the icon should show up on",
103
+ "attribute": "icon-side",
76
104
  "reflects": true,
77
105
  "inheritedFrom": {
78
- "name": "ScwComponent",
79
- "module": "src/scw-component/ScwComponent.ts"
106
+ "name": "ScwLink",
107
+ "module": "src/scw-link/ScwLink.ts"
80
108
  }
81
109
  },
82
110
  {
83
111
  "kind": "field",
84
- "name": "_lightDomMutationObserver",
112
+ "name": "design",
85
113
  "type": {
86
- "text": "LightDomMutationObserver | undefined"
114
+ "text": "string"
87
115
  },
88
- "description": "(ScwComponent) Light Dom Mutation Observer",
116
+ "description": "(ScwLink) The design style of the link.",
117
+ "attribute": "design",
118
+ "reflects": true,
89
119
  "inheritedFrom": {
90
- "name": "ScwComponent",
91
- "module": "src/scw-component/ScwComponent.ts"
120
+ "name": "ScwLink",
121
+ "module": "src/scw-link/ScwLink.ts"
92
122
  }
93
123
  },
94
124
  {
95
125
  "kind": "field",
96
- "name": "dynamic",
126
+ "name": "_svgInfo",
97
127
  "type": {
98
- "text": "boolean"
128
+ "text": "string"
99
129
  },
100
- "default": "false",
101
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
102
- "attribute": "dynamic",
130
+ "default": "''",
103
131
  "inheritedFrom": {
104
- "name": "ScwComponent",
105
- "module": "src/scw-component/ScwComponent.ts"
132
+ "name": "ScwLink",
133
+ "module": "src/scw-link/ScwLink.ts"
106
134
  }
107
135
  },
108
136
  {
109
137
  "kind": "method",
110
- "name": "domMutated",
111
- "description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
138
+ "name": "refreshIcon",
139
+ "description": "refreshIcon",
112
140
  "inheritedFrom": {
113
- "name": "ScwComponent",
114
- "module": "src/scw-component/ScwComponent.ts"
141
+ "name": "ScwLink",
142
+ "module": "src/scw-link/ScwLink.ts"
115
143
  }
116
144
  },
117
145
  {
118
146
  "kind": "method",
119
- "name": "warn",
120
- "parameters": [
121
- {
122
- "name": "message",
123
- "type": {
124
- "text": "string"
125
- },
126
- "description": "describing warning"
147
+ "name": "validDesigns",
148
+ "return": {
149
+ "type": {
150
+ "text": "object"
127
151
  }
128
- ],
129
- "description": "handles warnings...things wrong with formatting, ADA, etc...",
152
+ },
153
+ "description": "Way to extend valid design types...",
130
154
  "inheritedFrom": {
131
- "name": "ScwComponent",
132
- "module": "src/scw-component/ScwComponent.ts"
155
+ "name": "ScwLink",
156
+ "module": "src/scw-link/ScwLink.ts"
133
157
  }
134
158
  },
135
159
  {
136
160
  "kind": "method",
137
- "name": "clearWarnings",
138
- "description": "clearWarnings",
161
+ "name": "doShowIcon",
162
+ "return": {
163
+ "type": {
164
+ "text": "boolean"
165
+ }
166
+ },
167
+ "description": "Way to extend valid design icon types...",
139
168
  "inheritedFrom": {
140
- "name": "ScwComponent",
141
- "module": "src/scw-component/ScwComponent.ts"
169
+ "name": "ScwLink",
170
+ "module": "src/scw-link/ScwLink.ts"
142
171
  }
143
172
  },
144
173
  {
145
- "kind": "field",
146
- "name": "_lastWarning",
147
- "type": {
148
- "text": "string | undefined"
174
+ "kind": "method",
175
+ "name": "renderContent",
176
+ "return": {
177
+ "type": {
178
+ "text": "object"
179
+ }
149
180
  },
150
- "description": "retain the last warning sent...good for testing.",
181
+ "description": "renderContent",
151
182
  "inheritedFrom": {
152
- "name": "ScwComponent",
153
- "module": "src/scw-component/ScwComponent.ts"
183
+ "name": "ScwLink",
184
+ "module": "src/scw-link/ScwLink.ts"
154
185
  }
155
- }
156
- ],
157
- "attributes": [
158
- {
159
- "name": "description",
160
- "type": {
161
- "text": "string"
162
- },
163
- "default": "''",
164
- "description": "Secondary message",
165
- "fieldName": "description"
166
186
  },
167
187
  {
168
- "name": "aria-label",
169
- "type": {
170
- "text": "string"
188
+ "kind": "method",
189
+ "name": "findStyle",
190
+ "description": "find the style per design",
191
+ "return": {
192
+ "type": {
193
+ "text": "object"
194
+ }
171
195
  },
172
- "default": "''",
173
- "description": "(ScwComponent) Main text within component",
174
- "fieldName": "ariaLabel",
175
196
  "inheritedFrom": {
176
- "name": "ScwComponent",
177
- "module": "src/scw-component/ScwComponent.ts"
197
+ "name": "ScwLink",
198
+ "module": "src/scw-link/ScwLink.ts"
178
199
  }
179
200
  },
180
201
  {
181
- "name": "aria-disabled",
202
+ "kind": "field",
203
+ "name": "target",
182
204
  "type": {
183
- "text": "string"
205
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
184
206
  },
185
- "default": "'false'",
186
- "description": "(ScwComponent) Disables the component however it disables",
187
- "fieldName": "ariaDisabled",
207
+ "description": "(ScwLinkBase)",
208
+ "attribute": "target",
209
+ "reflects": true,
188
210
  "inheritedFrom": {
189
- "name": "ScwComponent",
190
- "module": "src/scw-component/ScwComponent.ts"
211
+ "name": "ScwLinkBase",
212
+ "module": "src/scw-link-base/ScwLinkBase.ts"
191
213
  }
192
214
  },
193
215
  {
194
- "name": "is-link",
216
+ "kind": "field",
217
+ "name": "linkAnchor",
195
218
  "type": {
196
- "text": "boolean"
219
+ "text": "HTMLAnchorElement | undefined"
197
220
  },
198
- "default": "false",
199
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
200
- "fieldName": "isLink",
201
221
  "inheritedFrom": {
202
- "name": "ScwComponent",
203
- "module": "src/scw-component/ScwComponent.ts"
222
+ "name": "ScwLinkBase",
223
+ "module": "src/scw-link-base/ScwLinkBase.ts"
204
224
  }
205
225
  },
206
226
  {
207
- "name": "dynamic",
208
- "type": {
209
- "text": "boolean"
210
- },
211
- "default": "false",
212
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
213
- "fieldName": "dynamic",
227
+ "kind": "method",
228
+ "name": "cancelEvent",
229
+ "parameters": [
230
+ {
231
+ "name": "evt",
232
+ "type": {
233
+ "text": "Event"
234
+ }
235
+ }
236
+ ],
237
+ "description": "cancel event",
214
238
  "inheritedFrom": {
215
- "name": "ScwComponent",
216
- "module": "src/scw-component/ScwComponent.ts"
239
+ "name": "ScwLinkBase",
240
+ "module": "src/scw-link-base/ScwLinkBase.ts"
217
241
  }
218
242
  },
219
243
  {
220
- "name": "element",
221
- "type": {
222
- "text": "string"
244
+ "kind": "method",
245
+ "name": "focus",
246
+ "return": {
247
+ "type": {
248
+ "text": "void"
249
+ }
223
250
  },
224
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
225
- "fieldName": "element",
251
+ "description": "focus",
226
252
  "inheritedFrom": {
227
- "name": "ScwComponent",
228
- "module": "src/scw-component/ScwComponent.ts"
253
+ "name": "ScwLinkBase",
254
+ "module": "src/scw-link-base/ScwLinkBase.ts"
229
255
  }
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 />\""
279
256
  },
280
257
  {
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": [
287
- {
288
- "kind": "field",
289
- "name": "submitType",
290
- "type": {
291
- "text": "ScwFormComponentSubmitTypes"
258
+ "kind": "method",
259
+ "name": "renderLink",
260
+ "return": {
261
+ "type": {
262
+ "text": "object"
263
+ }
292
264
  },
293
- "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
294
- "attribute": "submit-type",
295
- "reflects": true
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
+ }
296
285
  },
297
286
  {
298
287
  "kind": "field",
299
- "name": "element",
288
+ "name": "isLink",
300
289
  "type": {
301
- "text": "string"
290
+ "text": "boolean"
302
291
  },
303
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
304
- "attribute": "element",
292
+ "default": "true",
293
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
294
+ "attribute": "is-link",
305
295
  "reflects": true,
306
296
  "inheritedFrom": {
307
297
  "name": "ScwComponent",
@@ -310,249 +300,308 @@
310
300
  },
311
301
  {
312
302
  "kind": "field",
313
- "name": "href",
303
+ "name": "ariaLabel",
314
304
  "type": {
315
- "text": "string | undefined"
305
+ "text": "string"
316
306
  },
317
- "description": "(ScwLinkBase)",
318
- "attribute": "href",
307
+ "default": "''",
308
+ "description": "(ScwComponent) Main text within component",
309
+ "attribute": "aria-label",
319
310
  "reflects": true,
320
- "default": "'javascript:'",
321
311
  "inheritedFrom": {
322
- "name": "ScwLinkBase",
323
- "module": "src/scw-link-base/ScwLinkBase.ts"
312
+ "name": "ScwComponent",
313
+ "module": "src/scw-component/ScwComponent.ts"
324
314
  }
325
315
  },
326
316
  {
327
317
  "kind": "field",
328
- "name": "icon",
329
- "description": "icon getter",
330
- "parameters": [
331
- {
332
- "name": "icon",
333
- "type": {
334
- "text": "string | undefined"
335
- }
336
- }
337
- ],
338
- "attribute": "icon",
339
- "reflects": true,
318
+ "name": "ariaDisabled",
319
+ "type": {
320
+ "text": "string"
321
+ },
322
+ "default": "'false'",
323
+ "description": "(ScwComponent) Disables the component however it disables",
324
+ "attribute": "aria-disabled",
340
325
  "inheritedFrom": {
341
- "name": "ScwLink",
342
- "module": "src/scw-link/ScwLink.ts"
326
+ "name": "ScwComponent",
327
+ "module": "src/scw-component/ScwComponent.ts"
343
328
  }
344
329
  },
345
330
  {
346
331
  "kind": "field",
347
- "name": "_icon",
332
+ "name": "_lightDomMutationObserver",
348
333
  "type": {
349
- "text": "string | undefined"
334
+ "text": "LightDomMutationObserver | undefined"
350
335
  },
351
- "privacy": "private",
336
+ "description": "(ScwComponent) Light Dom Mutation Observer",
352
337
  "inheritedFrom": {
353
- "name": "ScwLink",
354
- "module": "src/scw-link/ScwLink.ts"
338
+ "name": "ScwComponent",
339
+ "module": "src/scw-component/ScwComponent.ts"
355
340
  }
356
341
  },
357
342
  {
358
343
  "kind": "field",
359
- "name": "iconSide",
344
+ "name": "dynamic",
360
345
  "type": {
361
- "text": "string"
346
+ "text": "boolean"
362
347
  },
363
- "description": "(ScwLink) Determines which side the icon should show up on",
364
- "attribute": "icon-side",
365
- "reflects": true,
348
+ "default": "false",
349
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
350
+ "attribute": "dynamic",
366
351
  "inheritedFrom": {
367
- "name": "ScwLink",
368
- "module": "src/scw-link/ScwLink.ts"
352
+ "name": "ScwComponent",
353
+ "module": "src/scw-component/ScwComponent.ts"
369
354
  }
370
355
  },
371
356
  {
372
- "kind": "field",
373
- "name": "design",
374
- "type": {
375
- "text": "string"
376
- },
377
- "description": "(ScwLink) The design style of the link.",
378
- "attribute": "design",
379
- "reflects": true,
357
+ "kind": "method",
358
+ "name": "domMutated",
359
+ "description": "parseLightDom is a hook for classes extending this one to add\nother parsers and validations",
380
360
  "inheritedFrom": {
381
- "name": "ScwLink",
382
- "module": "src/scw-link/ScwLink.ts"
361
+ "name": "ScwComponent",
362
+ "module": "src/scw-component/ScwComponent.ts"
383
363
  }
384
364
  },
385
365
  {
386
- "kind": "field",
387
- "name": "_svgInfo",
388
- "type": {
389
- "text": "string"
390
- },
391
- "default": "''",
366
+ "kind": "method",
367
+ "name": "warn",
368
+ "parameters": [
369
+ {
370
+ "name": "message",
371
+ "type": {
372
+ "text": "string"
373
+ },
374
+ "description": "describing warning"
375
+ }
376
+ ],
377
+ "description": "handles warnings...things wrong with formatting, ADA, etc...",
392
378
  "inheritedFrom": {
393
- "name": "ScwLink",
394
- "module": "src/scw-link/ScwLink.ts"
379
+ "name": "ScwComponent",
380
+ "module": "src/scw-component/ScwComponent.ts"
395
381
  }
396
382
  },
397
383
  {
398
384
  "kind": "method",
399
- "name": "refreshIcon",
400
- "description": "refreshIcon",
385
+ "name": "clearWarnings",
386
+ "description": "clearWarnings",
401
387
  "inheritedFrom": {
402
- "name": "ScwLink",
403
- "module": "src/scw-link/ScwLink.ts"
388
+ "name": "ScwComponent",
389
+ "module": "src/scw-component/ScwComponent.ts"
404
390
  }
405
391
  },
406
392
  {
407
- "kind": "method",
408
- "name": "validDesigns",
409
- "return": {
410
- "type": {
411
- "text": "object"
412
- }
393
+ "kind": "field",
394
+ "name": "_lastWarning",
395
+ "type": {
396
+ "text": "string | undefined"
413
397
  },
414
- "description": "Way to extend valid design types...",
398
+ "description": "retain the last warning sent...good for testing.",
415
399
  "inheritedFrom": {
416
- "name": "ScwLink",
417
- "module": "src/scw-link/ScwLink.ts"
400
+ "name": "ScwComponent",
401
+ "module": "src/scw-component/ScwComponent.ts"
418
402
  }
403
+ }
404
+ ],
405
+ "attributes": [
406
+ {
407
+ "name": "submit-type",
408
+ "type": {
409
+ "text": "ScwFormComponentSubmitTypes"
410
+ },
411
+ "description": "<ScwFormComponent> the usage in a form (& scw-form a query target)",
412
+ "fieldName": "submitType"
419
413
  },
420
414
  {
421
- "kind": "method",
422
- "name": "doShowIcon",
423
- "return": {
424
- "type": {
425
- "text": "boolean"
415
+ "name": "icon",
416
+ "description": "icon getter",
417
+ "parameters": [
418
+ {
419
+ "name": "icon",
420
+ "type": {
421
+ "text": "string | undefined"
422
+ }
426
423
  }
427
- },
428
- "description": "Way to extend valid design icon types...",
424
+ ],
425
+ "fieldName": "icon",
429
426
  "inheritedFrom": {
430
427
  "name": "ScwLink",
431
428
  "module": "src/scw-link/ScwLink.ts"
432
429
  }
433
430
  },
434
431
  {
435
- "kind": "method",
436
- "name": "renderContent",
437
- "return": {
438
- "type": {
439
- "text": "object"
440
- }
432
+ "name": "icon-side",
433
+ "type": {
434
+ "text": "string"
441
435
  },
442
- "description": "renderContent",
436
+ "description": "(ScwLink) Determines which side the icon should show up on",
437
+ "fieldName": "iconSide",
443
438
  "inheritedFrom": {
444
439
  "name": "ScwLink",
445
440
  "module": "src/scw-link/ScwLink.ts"
446
441
  }
447
442
  },
448
443
  {
449
- "kind": "method",
450
- "name": "findStyle",
451
- "description": "find the style per design",
452
- "return": {
453
- "type": {
454
- "text": "object"
455
- }
444
+ "name": "design",
445
+ "type": {
446
+ "text": "string"
456
447
  },
448
+ "description": "(ScwLink) The design style of the link.",
449
+ "fieldName": "design",
457
450
  "inheritedFrom": {
458
451
  "name": "ScwLink",
459
452
  "module": "src/scw-link/ScwLink.ts"
460
453
  }
461
454
  },
462
455
  {
463
- "kind": "field",
464
- "name": "target",
456
+ "name": "href",
465
457
  "type": {
466
- "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
458
+ "text": "string | undefined"
467
459
  },
468
460
  "description": "(ScwLinkBase)",
469
- "attribute": "target",
470
- "reflects": true,
461
+ "fieldName": "href",
471
462
  "inheritedFrom": {
472
463
  "name": "ScwLinkBase",
473
464
  "module": "src/scw-link-base/ScwLinkBase.ts"
474
465
  }
475
466
  },
476
467
  {
477
- "kind": "field",
478
- "name": "linkAnchor",
468
+ "name": "target",
479
469
  "type": {
480
- "text": "HTMLAnchorElement | undefined"
470
+ "text": "'_blank' | '_parent' | '_self' | '_top' | undefined"
481
471
  },
472
+ "description": "(ScwLinkBase)",
473
+ "fieldName": "target",
482
474
  "inheritedFrom": {
483
475
  "name": "ScwLinkBase",
484
476
  "module": "src/scw-link-base/ScwLinkBase.ts"
485
477
  }
486
478
  },
487
479
  {
488
- "kind": "method",
489
- "name": "cancelEvent",
490
- "parameters": [
491
- {
492
- "name": "evt",
493
- "type": {
494
- "text": "Event"
495
- }
496
- }
497
- ],
498
- "description": "cancel event",
480
+ "name": "aria-label",
481
+ "type": {
482
+ "text": "string"
483
+ },
484
+ "default": "''",
485
+ "description": "(ScwComponent) Main text within component",
486
+ "fieldName": "ariaLabel",
499
487
  "inheritedFrom": {
500
- "name": "ScwLinkBase",
501
- "module": "src/scw-link-base/ScwLinkBase.ts"
488
+ "name": "ScwComponent",
489
+ "module": "src/scw-component/ScwComponent.ts"
502
490
  }
503
491
  },
504
492
  {
505
- "kind": "method",
506
- "name": "focus",
507
- "return": {
508
- "type": {
509
- "text": "void"
510
- }
493
+ "name": "aria-disabled",
494
+ "type": {
495
+ "text": "string"
511
496
  },
512
- "description": "focus",
497
+ "default": "'false'",
498
+ "description": "(ScwComponent) Disables the component however it disables",
499
+ "fieldName": "ariaDisabled",
513
500
  "inheritedFrom": {
514
- "name": "ScwLinkBase",
515
- "module": "src/scw-link-base/ScwLinkBase.ts"
501
+ "name": "ScwComponent",
502
+ "module": "src/scw-component/ScwComponent.ts"
516
503
  }
517
504
  },
518
505
  {
519
- "kind": "method",
520
- "name": "renderLink",
521
- "return": {
522
- "type": {
523
- "text": "object"
524
- }
506
+ "name": "is-link",
507
+ "type": {
508
+ "text": "boolean"
525
509
  },
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",
510
+ "default": "false",
511
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
512
+ "fieldName": "isLink",
542
513
  "inheritedFrom": {
543
- "name": "ScwLinkBase",
544
- "module": "src/scw-link-base/ScwLinkBase.ts"
514
+ "name": "ScwComponent",
515
+ "module": "src/scw-component/ScwComponent.ts"
516
+ }
517
+ },
518
+ {
519
+ "name": "dynamic",
520
+ "type": {
521
+ "text": "boolean"
522
+ },
523
+ "default": "false",
524
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
525
+ "fieldName": "dynamic",
526
+ "inheritedFrom": {
527
+ "name": "ScwComponent",
528
+ "module": "src/scw-component/ScwComponent.ts"
545
529
  }
546
530
  },
531
+ {
532
+ "name": "element",
533
+ "type": {
534
+ "text": "string"
535
+ },
536
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
537
+ "fieldName": "element",
538
+ "inheritedFrom": {
539
+ "name": "ScwComponent",
540
+ "module": "src/scw-component/ScwComponent.ts"
541
+ }
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": [
587
+ {
588
+ "kind": "field",
589
+ "name": "description",
590
+ "type": {
591
+ "text": "string"
592
+ },
593
+ "default": "''",
594
+ "description": "Secondary message",
595
+ "attribute": "description"
596
+ },
547
597
  {
548
598
  "kind": "field",
549
- "name": "isLink",
599
+ "name": "element",
550
600
  "type": {
551
- "text": "boolean"
601
+ "text": "string"
552
602
  },
553
- "default": "true",
554
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
555
- "attribute": "is-link",
603
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
604
+ "attribute": "element",
556
605
  "reflects": true,
557
606
  "inheritedFrom": {
558
607
  "name": "ScwComponent",
@@ -588,6 +637,21 @@
588
637
  "module": "src/scw-component/ScwComponent.ts"
589
638
  }
590
639
  },
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
+ },
591
655
  {
592
656
  "kind": "field",
593
657
  "name": "_lightDomMutationObserver",
@@ -665,77 +729,13 @@
665
729
  ],
666
730
  "attributes": [
667
731
  {
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",
694
- "type": {
695
- "text": "string"
696
- },
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",
732
+ "name": "description",
706
733
  "type": {
707
734
  "text": "string"
708
735
  },
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
- }
736
+ "default": "''",
737
+ "description": "Secondary message",
738
+ "fieldName": "description"
739
739
  },
740
740
  {
741
741
  "name": "aria-label",
@@ -803,10 +803,10 @@
803
803
  }
804
804
  ],
805
805
  "superclass": {
806
- "name": "ScwLink",
807
- "module": "/src/scw-link/ScwLink"
806
+ "name": "ScwComponent",
807
+ "package": "scw-component/ScwComponent"
808
808
  },
809
- "tagName": "scw-button",
809
+ "tagName": "scw-alert",
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": "ScwButton",
819
- "module": "src/scw-button/ScwButton.ts"
818
+ "name": "ScwAlert",
819
+ "module": "src/scw-alert/ScwAlert.ts"
820
820
  }
821
821
  }
822
822
  ]
823
823
  },
824
824
  {
825
825
  "kind": "javascript-module",
826
- "path": "src/scw-button/scw-button.ts",
826
+ "path": "src/scw-alert/scw-alert.ts",
827
827
  "declarations": [],
828
828
  "exports": [
829
829
  {
830
830
  "kind": "custom-element-definition",
831
- "name": "scw-button",
831
+ "name": "scw-alert",
832
832
  "declaration": {
833
- "name": "ScwButton",
834
- "module": "/src/scw-button/ScwButton.js"
833
+ "name": "ScwAlert",
834
+ "module": "/src/scw-alert/ScwAlert.js"
835
835
  }
836
836
  }
837
837
  ]
@@ -2681,196 +2681,98 @@
2681
2681
  "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
2682
2682
  "fieldName": "dynamic",
2683
2683
  "inheritedFrom": {
2684
- "name": "ScwComponent",
2685
- "module": "src/scw-component/ScwComponent.ts"
2686
- }
2687
- },
2688
- {
2689
- "name": "element",
2690
- "type": {
2691
- "text": "string"
2692
- },
2693
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
2694
- "fieldName": "element",
2695
- "inheritedFrom": {
2696
- "name": "ScwComponent",
2697
- "module": "src/scw-component/ScwComponent.ts"
2698
- }
2699
- }
2700
- ]
2701
- }
2702
- ],
2703
- "exports": [
2704
- {
2705
- "kind": "js",
2706
- "name": "default",
2707
- "declaration": {
2708
- "name": "ScwFloatComponent",
2709
- "module": "src/scw-float-component/scw-float-component.ts"
2710
- }
2711
- }
2712
- ]
2713
- },
2714
- {
2715
- "kind": "javascript-module",
2716
- "path": "src/scw-form-component/scw-form-component.ts",
2717
- "declarations": [
2718
- {
2719
- "kind": "class",
2720
- "description": "ScwFormComponent",
2721
- "name": "ScwFormComponent",
2722
- "members": [
2723
- {
2724
- "kind": "field",
2725
- "name": "formType",
2726
- "type": {
2727
- "text": "ScwFormComponentTypes"
2728
- },
2729
- "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
2730
- "attribute": "form-type",
2731
- "reflects": true
2732
- },
2733
- {
2734
- "kind": "field",
2735
- "name": "name",
2736
- "type": {
2737
- "text": "string | undefined"
2738
- },
2739
- "description": "(ScwFormComponent) name to identify form element and attach data",
2740
- "attribute": "name"
2741
- },
2742
- {
2743
- "kind": "field",
2744
- "name": "value",
2745
- "type": {
2746
- "text": "string"
2747
- },
2748
- "default": "''",
2749
- "description": "(ScwFormComponent) name to identify form element and attach data",
2750
- "attribute": "value"
2751
- },
2752
- {
2753
- "kind": "field",
2754
- "name": "placeholder",
2755
- "type": {
2756
- "text": "string"
2757
- },
2758
- "default": "''",
2759
- "description": "(ScwFormComponent) text showing when there is no value",
2760
- "attribute": "placeholder"
2761
- },
2762
- {
2763
- "kind": "field",
2764
- "name": "selected",
2765
- "type": {
2766
- "text": "boolean"
2767
- },
2768
- "default": "false",
2769
- "description": "(ScwFormComponent) name to identify form element and attach data",
2770
- "attribute": "selected"
2771
- },
2772
- {
2773
- "kind": "field",
2774
- "name": "readOnly",
2775
- "type": {
2776
- "text": "boolean"
2777
- },
2778
- "default": "false",
2779
- "description": "(ScwFormComponent) read-only state management",
2780
- "attribute": "read-only"
2781
- },
2782
- {
2783
- "kind": "field",
2784
- "name": "required",
2785
- "type": {
2786
- "text": "boolean"
2787
- },
2788
- "default": "false",
2789
- "description": "(ScwFormComponent) required state management",
2790
- "attribute": "required"
2791
- },
2792
- {
2793
- "kind": "field",
2794
- "name": "requiredLabel",
2795
- "type": {
2796
- "text": "string"
2797
- },
2798
- "default": "' *'",
2799
- "description": "(ScwFormComponent) label indicator for required",
2800
- "attribute": "required-label"
2801
- },
2802
- {
2803
- "kind": "field",
2804
- "name": "requiredFeedback",
2805
- "type": {
2806
- "text": "string | undefined"
2807
- },
2808
- "description": "(ScwFormComponent) label indicator for required",
2809
- "attribute": "required-feedback"
2684
+ "name": "ScwComponent",
2685
+ "module": "src/scw-component/ScwComponent.ts"
2686
+ }
2810
2687
  },
2811
2688
  {
2812
- "kind": "field",
2813
- "name": "feedback",
2689
+ "name": "element",
2814
2690
  "type": {
2815
- "text": "string | undefined"
2691
+ "text": "string"
2816
2692
  },
2817
- "description": "the text to use for feedback"
2818
- },
2693
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
2694
+ "fieldName": "element",
2695
+ "inheritedFrom": {
2696
+ "name": "ScwComponent",
2697
+ "module": "src/scw-component/ScwComponent.ts"
2698
+ }
2699
+ }
2700
+ ]
2701
+ }
2702
+ ],
2703
+ "exports": [
2704
+ {
2705
+ "kind": "js",
2706
+ "name": "default",
2707
+ "declaration": {
2708
+ "name": "ScwFloatComponent",
2709
+ "module": "src/scw-float-component/scw-float-component.ts"
2710
+ }
2711
+ }
2712
+ ]
2713
+ },
2714
+ {
2715
+ "kind": "javascript-module",
2716
+ "path": "src/scw-form/scw-form.ts",
2717
+ "declarations": [
2718
+ {
2719
+ "kind": "class",
2720
+ "description": "ScwForm",
2721
+ "name": "ScwForm",
2722
+ "slots": [
2723
+ {
2724
+ "description": "The contents of the form",
2725
+ "name": "default",
2726
+ "default": "\"<scw-input...\""
2727
+ }
2728
+ ],
2729
+ "members": [
2819
2730
  {
2820
2731
  "kind": "field",
2821
- "name": "focused",
2732
+ "name": "action",
2822
2733
  "type": {
2823
- "text": "boolean"
2734
+ "text": "string | undefined"
2824
2735
  },
2825
- "default": "false",
2826
- "description": "determines whether the input is focused or not"
2736
+ "description": "(ScwForm) where to submit search, same as form",
2737
+ "attribute": "action"
2827
2738
  },
2828
2739
  {
2829
2740
  "kind": "field",
2830
- "name": "invalid",
2741
+ "name": "method",
2831
2742
  "type": {
2832
- "text": "boolean"
2743
+ "text": "FormMethods"
2833
2744
  },
2834
- "default": "false",
2835
- "description": "whether this form element is valid, passed validation"
2745
+ "description": "(ScwForm) how to submit search, same as form",
2746
+ "attribute": "method"
2836
2747
  },
2837
2748
  {
2838
2749
  "kind": "method",
2839
- "name": "decorateValues",
2750
+ "name": "findFormElements",
2840
2751
  "return": {
2841
2752
  "type": {
2842
- "text": "void"
2753
+ "text": "ScwFormComponent[]"
2843
2754
  }
2844
2755
  },
2756
+ "description": "find and return list of all form elements within this form"
2757
+ },
2758
+ {
2759
+ "kind": "method",
2760
+ "name": "processData",
2845
2761
  "parameters": [
2846
2762
  {
2847
- "name": "formData",
2763
+ "name": "formElementsArg",
2764
+ "optional": true,
2848
2765
  "type": {
2849
- "text": "Object"
2766
+ "text": "ScwFormComponent[]"
2850
2767
  }
2851
2768
  }
2852
2769
  ],
2853
- "description": "(ScwFormComponent) each form element to decorates the final data object"
2854
- },
2855
- {
2856
- "kind": "method",
2857
- "name": "findIfRequired",
2858
- "return": {
2859
- "type": {
2860
- "text": "boolean"
2861
- }
2862
- },
2863
- "description": "Check to see if form element is required w/o knowing if there is validation"
2864
- },
2865
- {
2866
- "kind": "method",
2867
- "name": "findValidationRules",
2770
+ "description": "process all the form elements' data",
2868
2771
  "return": {
2869
2772
  "type": {
2870
- "text": "ScwValidation | undefined"
2773
+ "text": "Object"
2871
2774
  }
2872
- },
2873
- "description": "Find validation child if there..."
2775
+ }
2874
2776
  },
2875
2777
  {
2876
2778
  "kind": "method",
@@ -2880,70 +2782,54 @@
2880
2782
  "text": "ValidationResult[]"
2881
2783
  }
2882
2784
  },
2883
- "description": "run the validation rules if there...",
2884
2785
  "parameters": [
2885
2786
  {
2886
- "name": "value",
2787
+ "name": "formElementsArg",
2788
+ "optional": true,
2887
2789
  "type": {
2888
- "text": "string"
2790
+ "text": "ScwFormComponent[]"
2889
2791
  }
2890
2792
  }
2891
- ]
2793
+ ],
2794
+ "description": "validate"
2892
2795
  },
2893
2796
  {
2894
2797
  "kind": "method",
2895
- "name": "createValidateRule",
2798
+ "name": "findInvalidElements",
2896
2799
  "return": {
2897
2800
  "type": {
2898
- "text": "ScwValidate"
2801
+ "text": "ValidationResult[]"
2899
2802
  }
2900
2803
  },
2901
- "description": "create a validation rule from scratch"
2902
- },
2903
- {
2904
- "kind": "method",
2905
- "name": "addValidationRule",
2906
2804
  "parameters": [
2907
2805
  {
2908
- "name": "rule",
2806
+ "name": "formElementsArg",
2807
+ "optional": true,
2909
2808
  "type": {
2910
- "text": "ScwValidate"
2809
+ "text": "ScwFormComponent[]"
2911
2810
  }
2912
2811
  }
2913
2812
  ],
2914
- "description": "add validation to to child validation (create if not there)"
2813
+ "description": "findInvalidElements"
2915
2814
  },
2916
2815
  {
2917
2816
  "kind": "method",
2918
- "name": "createAndAddValidationRule",
2919
- "parameters": [
2920
- {
2921
- "name": "type",
2922
- "type": {
2923
- "text": "ValidationTypes"
2924
- }
2925
- },
2926
- {
2927
- "name": "feedbackOverride",
2928
- "optional": true,
2929
- "type": {
2930
- "text": "string"
2931
- }
2932
- }
2933
- ],
2934
- "description": "create a validation of a certain type..."
2817
+ "name": "submit",
2818
+ "description": "submit form"
2935
2819
  },
2936
2820
  {
2937
- "kind": "method",
2938
- "name": "removeValidationRule",
2939
- "parameters": [
2940
- {
2941
- "name": "type",
2942
- "type": {
2943
- "text": "ValidationTypes"
2944
- }
2945
- }
2946
- ]
2821
+ "kind": "field",
2822
+ "name": "element",
2823
+ "type": {
2824
+ "text": "string"
2825
+ },
2826
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
2827
+ "attribute": "element",
2828
+ "reflects": true,
2829
+ "inheritedFrom": {
2830
+ "name": "ScwComponent",
2831
+ "module": "src/scw-component/ScwComponent.ts"
2832
+ }
2947
2833
  },
2948
2834
  {
2949
2835
  "kind": "field",
@@ -3024,20 +2910,6 @@
3024
2910
  "module": "src/scw-component/ScwComponent.ts"
3025
2911
  }
3026
2912
  },
3027
- {
3028
- "kind": "field",
3029
- "name": "element",
3030
- "type": {
3031
- "text": "string"
3032
- },
3033
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3034
- "attribute": "element",
3035
- "reflects": true,
3036
- "inheritedFrom": {
3037
- "name": "ScwComponent",
3038
- "module": "src/scw-component/ScwComponent.ts"
3039
- }
3040
- },
3041
2913
  {
3042
2914
  "kind": "method",
3043
2915
  "name": "warn",
@@ -3057,232 +2929,361 @@
3057
2929
  }
3058
2930
  },
3059
2931
  {
3060
- "kind": "method",
3061
- "name": "clearWarnings",
3062
- "description": "clearWarnings",
2932
+ "kind": "method",
2933
+ "name": "clearWarnings",
2934
+ "description": "clearWarnings",
2935
+ "inheritedFrom": {
2936
+ "name": "ScwComponent",
2937
+ "module": "src/scw-component/ScwComponent.ts"
2938
+ }
2939
+ },
2940
+ {
2941
+ "kind": "field",
2942
+ "name": "_lastWarning",
2943
+ "type": {
2944
+ "text": "string | undefined"
2945
+ },
2946
+ "description": "retain the last warning sent...good for testing.",
2947
+ "inheritedFrom": {
2948
+ "name": "ScwComponent",
2949
+ "module": "src/scw-component/ScwComponent.ts"
2950
+ }
2951
+ }
2952
+ ],
2953
+ "attributes": [
2954
+ {
2955
+ "name": "action",
2956
+ "type": {
2957
+ "text": "string | undefined"
2958
+ },
2959
+ "description": "(ScwForm) where to submit search, same as form",
2960
+ "fieldName": "action"
2961
+ },
2962
+ {
2963
+ "name": "method",
2964
+ "type": {
2965
+ "text": "FormMethods"
2966
+ },
2967
+ "description": "(ScwForm) how to submit search, same as form",
2968
+ "fieldName": "method"
2969
+ },
2970
+ {
2971
+ "name": "aria-label",
2972
+ "type": {
2973
+ "text": "string"
2974
+ },
2975
+ "default": "''",
2976
+ "description": "(ScwComponent) Main text within component",
2977
+ "fieldName": "ariaLabel",
2978
+ "inheritedFrom": {
2979
+ "name": "ScwComponent",
2980
+ "module": "src/scw-component/ScwComponent.ts"
2981
+ }
2982
+ },
2983
+ {
2984
+ "name": "aria-disabled",
2985
+ "type": {
2986
+ "text": "string"
2987
+ },
2988
+ "default": "'false'",
2989
+ "description": "(ScwComponent) Disables the component however it disables",
2990
+ "fieldName": "ariaDisabled",
2991
+ "inheritedFrom": {
2992
+ "name": "ScwComponent",
2993
+ "module": "src/scw-component/ScwComponent.ts"
2994
+ }
2995
+ },
2996
+ {
2997
+ "name": "is-link",
2998
+ "type": {
2999
+ "text": "boolean"
3000
+ },
3001
+ "default": "false",
3002
+ "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
3003
+ "fieldName": "isLink",
3004
+ "inheritedFrom": {
3005
+ "name": "ScwComponent",
3006
+ "module": "src/scw-component/ScwComponent.ts"
3007
+ }
3008
+ },
3009
+ {
3010
+ "name": "dynamic",
3011
+ "type": {
3012
+ "text": "boolean"
3013
+ },
3014
+ "default": "false",
3015
+ "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
3016
+ "fieldName": "dynamic",
3063
3017
  "inheritedFrom": {
3064
3018
  "name": "ScwComponent",
3065
3019
  "module": "src/scw-component/ScwComponent.ts"
3066
3020
  }
3067
3021
  },
3068
3022
  {
3069
- "kind": "field",
3070
- "name": "_lastWarning",
3023
+ "name": "element",
3071
3024
  "type": {
3072
- "text": "string | undefined"
3025
+ "text": "string"
3073
3026
  },
3074
- "description": "retain the last warning sent...good for testing.",
3027
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3028
+ "fieldName": "element",
3075
3029
  "inheritedFrom": {
3076
3030
  "name": "ScwComponent",
3077
3031
  "module": "src/scw-component/ScwComponent.ts"
3078
3032
  }
3079
3033
  }
3080
3034
  ],
3081
- "attributes": [
3035
+ "superclass": {
3036
+ "name": "ScwComponent",
3037
+ "module": "/src/scw-component/ScwComponent"
3038
+ },
3039
+ "tagName": "scw-form",
3040
+ "customElement": true
3041
+ }
3042
+ ],
3043
+ "exports": [
3044
+ {
3045
+ "kind": "js",
3046
+ "name": "default",
3047
+ "declaration": {
3048
+ "name": "ScwForm",
3049
+ "module": "src/scw-form/scw-form.ts"
3050
+ }
3051
+ }
3052
+ ]
3053
+ },
3054
+ {
3055
+ "kind": "javascript-module",
3056
+ "path": "src/scw-form-component/scw-form-component.ts",
3057
+ "declarations": [
3058
+ {
3059
+ "kind": "class",
3060
+ "description": "ScwFormComponent",
3061
+ "name": "ScwFormComponent",
3062
+ "members": [
3082
3063
  {
3083
- "name": "form-type",
3064
+ "kind": "field",
3065
+ "name": "formType",
3084
3066
  "type": {
3085
3067
  "text": "ScwFormComponentTypes"
3086
3068
  },
3087
3069
  "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
3088
- "fieldName": "formType"
3070
+ "attribute": "form-type",
3071
+ "reflects": true
3089
3072
  },
3090
3073
  {
3074
+ "kind": "field",
3091
3075
  "name": "name",
3092
3076
  "type": {
3093
3077
  "text": "string | undefined"
3094
3078
  },
3095
3079
  "description": "(ScwFormComponent) name to identify form element and attach data",
3096
- "fieldName": "name"
3080
+ "attribute": "name"
3097
3081
  },
3098
3082
  {
3083
+ "kind": "field",
3099
3084
  "name": "value",
3100
3085
  "type": {
3101
3086
  "text": "string"
3102
3087
  },
3103
3088
  "default": "''",
3104
3089
  "description": "(ScwFormComponent) name to identify form element and attach data",
3105
- "fieldName": "value"
3090
+ "attribute": "value"
3106
3091
  },
3107
3092
  {
3093
+ "kind": "field",
3108
3094
  "name": "placeholder",
3109
3095
  "type": {
3110
3096
  "text": "string"
3111
3097
  },
3112
3098
  "default": "''",
3113
3099
  "description": "(ScwFormComponent) text showing when there is no value",
3114
- "fieldName": "placeholder"
3100
+ "attribute": "placeholder"
3115
3101
  },
3116
3102
  {
3103
+ "kind": "field",
3117
3104
  "name": "selected",
3118
3105
  "type": {
3119
3106
  "text": "boolean"
3120
3107
  },
3121
3108
  "default": "false",
3122
3109
  "description": "(ScwFormComponent) name to identify form element and attach data",
3123
- "fieldName": "selected"
3110
+ "attribute": "selected"
3124
3111
  },
3125
3112
  {
3126
- "name": "read-only",
3113
+ "kind": "field",
3114
+ "name": "readOnly",
3127
3115
  "type": {
3128
3116
  "text": "boolean"
3129
3117
  },
3130
3118
  "default": "false",
3131
3119
  "description": "(ScwFormComponent) read-only state management",
3132
- "fieldName": "readOnly"
3120
+ "attribute": "read-only"
3133
3121
  },
3134
3122
  {
3123
+ "kind": "field",
3135
3124
  "name": "required",
3136
3125
  "type": {
3137
3126
  "text": "boolean"
3138
3127
  },
3139
3128
  "default": "false",
3140
3129
  "description": "(ScwFormComponent) required state management",
3141
- "fieldName": "required"
3130
+ "attribute": "required"
3142
3131
  },
3143
3132
  {
3144
- "name": "required-label",
3133
+ "kind": "field",
3134
+ "name": "requiredLabel",
3145
3135
  "type": {
3146
3136
  "text": "string"
3147
3137
  },
3148
3138
  "default": "' *'",
3149
3139
  "description": "(ScwFormComponent) label indicator for required",
3150
- "fieldName": "requiredLabel"
3140
+ "attribute": "required-label"
3151
3141
  },
3152
3142
  {
3153
- "name": "required-feedback",
3143
+ "kind": "field",
3144
+ "name": "requiredFeedback",
3154
3145
  "type": {
3155
3146
  "text": "string | undefined"
3156
3147
  },
3157
3148
  "description": "(ScwFormComponent) label indicator for required",
3158
- "fieldName": "requiredFeedback"
3149
+ "attribute": "required-feedback"
3159
3150
  },
3160
3151
  {
3161
- "name": "aria-label",
3152
+ "kind": "field",
3153
+ "name": "feedback",
3162
3154
  "type": {
3163
- "text": "string"
3155
+ "text": "string | undefined"
3164
3156
  },
3165
- "default": "''",
3166
- "description": "(ScwComponent) Main text within component",
3167
- "fieldName": "ariaLabel",
3168
- "inheritedFrom": {
3169
- "name": "ScwComponent",
3170
- "module": "src/scw-component/ScwComponent.ts"
3171
- }
3157
+ "description": "the text to use for feedback"
3172
3158
  },
3173
3159
  {
3174
- "name": "aria-disabled",
3160
+ "kind": "field",
3161
+ "name": "focused",
3175
3162
  "type": {
3176
- "text": "string"
3163
+ "text": "boolean"
3177
3164
  },
3178
- "default": "'false'",
3179
- "description": "(ScwComponent) Disables the component however it disables",
3180
- "fieldName": "ariaDisabled",
3181
- "inheritedFrom": {
3182
- "name": "ScwComponent",
3183
- "module": "src/scw-component/ScwComponent.ts"
3184
- }
3165
+ "default": "false",
3166
+ "description": "determines whether the input is focused or not"
3185
3167
  },
3186
3168
  {
3187
- "name": "is-link",
3169
+ "kind": "field",
3170
+ "name": "invalid",
3188
3171
  "type": {
3189
3172
  "text": "boolean"
3190
3173
  },
3191
3174
  "default": "false",
3192
- "description": "(ScwLinkBase)\nSome lookups need to know if something is a link or not...",
3193
- "fieldName": "isLink",
3194
- "inheritedFrom": {
3195
- "name": "ScwComponent",
3196
- "module": "src/scw-component/ScwComponent.ts"
3197
- }
3175
+ "description": "whether this form element is valid, passed validation"
3198
3176
  },
3199
3177
  {
3200
- "name": "dynamic",
3201
- "type": {
3202
- "text": "boolean"
3178
+ "kind": "method",
3179
+ "name": "decorateValues",
3180
+ "return": {
3181
+ "type": {
3182
+ "text": "void"
3183
+ }
3203
3184
  },
3204
- "default": "false",
3205
- "description": "(ScwComponent) Determines whether to watch for changes\nin children. (not all components use light DOM)",
3206
- "fieldName": "dynamic",
3207
- "inheritedFrom": {
3208
- "name": "ScwComponent",
3209
- "module": "src/scw-component/ScwComponent.ts"
3210
- }
3185
+ "parameters": [
3186
+ {
3187
+ "name": "formData",
3188
+ "type": {
3189
+ "text": "Object"
3190
+ }
3191
+ }
3192
+ ],
3193
+ "description": "(ScwFormComponent) each form element to decorates the final data object"
3211
3194
  },
3212
3195
  {
3213
- "name": "element",
3214
- "type": {
3215
- "text": "string"
3196
+ "kind": "method",
3197
+ "name": "findIfRequired",
3198
+ "return": {
3199
+ "type": {
3200
+ "text": "boolean"
3201
+ }
3216
3202
  },
3217
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3218
- "fieldName": "element",
3219
- "inheritedFrom": {
3220
- "name": "ScwComponent",
3221
- "module": "src/scw-component/ScwComponent.ts"
3222
- }
3223
- }
3224
- ],
3225
- "superclass": {
3226
- "name": "ScwComponent",
3227
- "module": "/src/scw-component/ScwComponent"
3228
- },
3229
- "tagName": "scw-form-component",
3230
- "customElement": true
3231
- }
3232
- ],
3233
- "exports": [
3234
- {
3235
- "kind": "js",
3236
- "name": "default",
3237
- "declaration": {
3238
- "name": "ScwFormComponent",
3239
- "module": "src/scw-form-component/scw-form-component.ts"
3240
- }
3241
- }
3242
- ]
3243
- },
3244
- {
3245
- "kind": "javascript-module",
3246
- "path": "src/scw-heading/ScwHeading.ts",
3247
- "declarations": [
3248
- {
3249
- "kind": "class",
3250
- "description": "ScwHeading",
3251
- "name": "ScwHeading",
3252
- "members": [
3203
+ "description": "Check to see if form element is required w/o knowing if there is validation"
3204
+ },
3253
3205
  {
3254
- "kind": "field",
3255
- "name": "size",
3256
- "type": {
3257
- "text": "string"
3206
+ "kind": "method",
3207
+ "name": "findValidationRules",
3208
+ "return": {
3209
+ "type": {
3210
+ "text": "ScwValidation | undefined"
3211
+ }
3258
3212
  },
3259
- "description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
3260
- "attribute": "size",
3261
- "reflects": true
3213
+ "description": "Find validation child if there..."
3214
+ },
3215
+ {
3216
+ "kind": "method",
3217
+ "name": "validate",
3218
+ "return": {
3219
+ "type": {
3220
+ "text": "ValidationResult[]"
3221
+ }
3222
+ },
3223
+ "description": "run the validation rules if there...",
3224
+ "parameters": [
3225
+ {
3226
+ "name": "value",
3227
+ "type": {
3228
+ "text": "string"
3229
+ }
3230
+ }
3231
+ ]
3232
+ },
3233
+ {
3234
+ "kind": "method",
3235
+ "name": "createValidateRule",
3236
+ "return": {
3237
+ "type": {
3238
+ "text": "ScwValidate"
3239
+ }
3240
+ },
3241
+ "description": "create a validation rule from scratch"
3242
+ },
3243
+ {
3244
+ "kind": "method",
3245
+ "name": "addValidationRule",
3246
+ "parameters": [
3247
+ {
3248
+ "name": "rule",
3249
+ "type": {
3250
+ "text": "ScwValidate"
3251
+ }
3252
+ }
3253
+ ],
3254
+ "description": "add validation to to child validation (create if not there)"
3255
+ },
3256
+ {
3257
+ "kind": "method",
3258
+ "name": "createAndAddValidationRule",
3259
+ "parameters": [
3260
+ {
3261
+ "name": "type",
3262
+ "type": {
3263
+ "text": "ValidationTypes"
3264
+ }
3265
+ },
3266
+ {
3267
+ "name": "feedbackOverride",
3268
+ "optional": true,
3269
+ "type": {
3270
+ "text": "string"
3271
+ }
3272
+ }
3273
+ ],
3274
+ "description": "create a validation of a certain type..."
3262
3275
  },
3263
3276
  {
3264
3277
  "kind": "method",
3265
- "name": "renderHeading",
3266
- "return": {
3267
- "type": {
3268
- "text": "object"
3278
+ "name": "removeValidationRule",
3279
+ "parameters": [
3280
+ {
3281
+ "name": "type",
3282
+ "type": {
3283
+ "text": "ValidationTypes"
3284
+ }
3269
3285
  }
3270
- },
3271
- "description": "renderHeading"
3272
- },
3273
- {
3274
- "kind": "field",
3275
- "name": "element",
3276
- "type": {
3277
- "text": "string"
3278
- },
3279
- "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3280
- "attribute": "element",
3281
- "reflects": true,
3282
- "inheritedFrom": {
3283
- "name": "ScwComponent",
3284
- "module": "src/scw-component/ScwComponent.ts"
3285
- }
3286
+ ]
3286
3287
  },
3287
3288
  {
3288
3289
  "kind": "field",
@@ -3363,6 +3364,20 @@
3363
3364
  "module": "src/scw-component/ScwComponent.ts"
3364
3365
  }
3365
3366
  },
3367
+ {
3368
+ "kind": "field",
3369
+ "name": "element",
3370
+ "type": {
3371
+ "text": "string"
3372
+ },
3373
+ "description": "(ScwComponent) contains the root element name for each component\n(enum Components)",
3374
+ "attribute": "element",
3375
+ "reflects": true,
3376
+ "inheritedFrom": {
3377
+ "name": "ScwComponent",
3378
+ "module": "src/scw-component/ScwComponent.ts"
3379
+ }
3380
+ },
3366
3381
  {
3367
3382
  "kind": "method",
3368
3383
  "name": "warn",
@@ -3405,12 +3420,82 @@
3405
3420
  ],
3406
3421
  "attributes": [
3407
3422
  {
3408
- "name": "size",
3423
+ "name": "form-type",
3424
+ "type": {
3425
+ "text": "ScwFormComponentTypes"
3426
+ },
3427
+ "description": "(ScwFormComponent) the usage in a form (& scw-form a query target)",
3428
+ "fieldName": "formType"
3429
+ },
3430
+ {
3431
+ "name": "name",
3432
+ "type": {
3433
+ "text": "string | undefined"
3434
+ },
3435
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3436
+ "fieldName": "name"
3437
+ },
3438
+ {
3439
+ "name": "value",
3409
3440
  "type": {
3410
3441
  "text": "string"
3411
3442
  },
3412
- "description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
3413
- "fieldName": "size"
3443
+ "default": "''",
3444
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3445
+ "fieldName": "value"
3446
+ },
3447
+ {
3448
+ "name": "placeholder",
3449
+ "type": {
3450
+ "text": "string"
3451
+ },
3452
+ "default": "''",
3453
+ "description": "(ScwFormComponent) text showing when there is no value",
3454
+ "fieldName": "placeholder"
3455
+ },
3456
+ {
3457
+ "name": "selected",
3458
+ "type": {
3459
+ "text": "boolean"
3460
+ },
3461
+ "default": "false",
3462
+ "description": "(ScwFormComponent) name to identify form element and attach data",
3463
+ "fieldName": "selected"
3464
+ },
3465
+ {
3466
+ "name": "read-only",
3467
+ "type": {
3468
+ "text": "boolean"
3469
+ },
3470
+ "default": "false",
3471
+ "description": "(ScwFormComponent) read-only state management",
3472
+ "fieldName": "readOnly"
3473
+ },
3474
+ {
3475
+ "name": "required",
3476
+ "type": {
3477
+ "text": "boolean"
3478
+ },
3479
+ "default": "false",
3480
+ "description": "(ScwFormComponent) required state management",
3481
+ "fieldName": "required"
3482
+ },
3483
+ {
3484
+ "name": "required-label",
3485
+ "type": {
3486
+ "text": "string"
3487
+ },
3488
+ "default": "' *'",
3489
+ "description": "(ScwFormComponent) label indicator for required",
3490
+ "fieldName": "requiredLabel"
3491
+ },
3492
+ {
3493
+ "name": "required-feedback",
3494
+ "type": {
3495
+ "text": "string | undefined"
3496
+ },
3497
+ "description": "(ScwFormComponent) label indicator for required",
3498
+ "fieldName": "requiredFeedback"
3414
3499
  },
3415
3500
  {
3416
3501
  "name": "aria-label",
@@ -3479,178 +3564,51 @@
3479
3564
  ],
3480
3565
  "superclass": {
3481
3566
  "name": "ScwComponent",
3482
- "package": "scw-component/ScwComponent"
3567
+ "module": "/src/scw-component/ScwComponent"
3483
3568
  },
3484
- "tagName": "scw-heading",
3569
+ "tagName": "scw-form-component",
3485
3570
  "customElement": true
3486
3571
  }
3487
3572
  ],
3488
3573
  "exports": [
3489
- {
3490
- "kind": "js",
3491
- "name": "default",
3492
- "declaration": {
3493
- "name": "ScwHeading",
3494
- "module": "src/scw-heading/ScwHeading.ts"
3495
- }
3496
- }
3497
- ]
3498
- },
3499
- {
3500
- "kind": "javascript-module",
3501
- "path": "src/scw-heading/parseLightDomHeading.ts",
3502
- "declarations": [
3503
- {
3504
- "kind": "function",
3505
- "name": "parseLightDomHeading",
3506
- "parameters": [
3507
- {
3508
- "name": "scwHeading",
3509
- "type": {
3510
- "text": "ScwHeading"
3511
- }
3512
- }
3513
- ],
3514
- "description": "Parses light dom into variables to be used for rendering"
3515
- }
3516
- ],
3517
- "exports": [
3518
- {
3519
- "kind": "js",
3520
- "name": "default",
3521
- "declaration": {
3522
- "name": "parseLightDomHeading",
3523
- "module": "src/scw-heading/parseLightDomHeading.ts"
3524
- }
3525
- }
3526
- ]
3527
- },
3528
- {
3529
- "kind": "javascript-module",
3530
- "path": "src/scw-heading/scw-heading-enums.ts",
3531
- "declarations": [],
3532
- "exports": []
3533
- },
3534
- {
3535
- "kind": "javascript-module",
3536
- "path": "src/scw-heading/scw-heading.ts",
3537
- "declarations": [],
3538
- "exports": [
3539
- {
3540
- "kind": "custom-element-definition",
3541
- "name": "scw-heading",
3542
- "declaration": {
3543
- "name": "ScwHeading",
3544
- "module": "/src/scw-heading/ScwHeading"
3545
- }
3546
- }
3547
- ]
3548
- },
3549
- {
3550
- "kind": "javascript-module",
3551
- "path": "src/scw-form/scw-form.ts",
3552
- "declarations": [
3553
- {
3554
- "kind": "class",
3555
- "description": "ScwForm",
3556
- "name": "ScwForm",
3557
- "slots": [
3558
- {
3559
- "description": "The contents of the form",
3560
- "name": "default",
3561
- "default": "\"<scw-input...\""
3562
- }
3563
- ],
3564
- "members": [
3565
- {
3566
- "kind": "field",
3567
- "name": "action",
3568
- "type": {
3569
- "text": "string | undefined"
3570
- },
3571
- "description": "(ScwForm) where to submit search, same as form",
3572
- "attribute": "action"
3573
- },
3574
- {
3575
- "kind": "field",
3576
- "name": "method",
3577
- "type": {
3578
- "text": "FormMethods"
3579
- },
3580
- "description": "(ScwForm) how to submit search, same as form",
3581
- "attribute": "method"
3582
- },
3583
- {
3584
- "kind": "method",
3585
- "name": "findFormElements",
3586
- "return": {
3587
- "type": {
3588
- "text": "ScwFormComponent[]"
3589
- }
3590
- },
3591
- "description": "find and return list of all form elements within this form"
3592
- },
3593
- {
3594
- "kind": "method",
3595
- "name": "processData",
3596
- "parameters": [
3597
- {
3598
- "name": "formElementsArg",
3599
- "optional": true,
3600
- "type": {
3601
- "text": "ScwFormComponent[]"
3602
- }
3603
- }
3604
- ],
3605
- "description": "process all the form elements' data",
3606
- "return": {
3607
- "type": {
3608
- "text": "Object"
3609
- }
3610
- }
3611
- },
3574
+ {
3575
+ "kind": "js",
3576
+ "name": "default",
3577
+ "declaration": {
3578
+ "name": "ScwFormComponent",
3579
+ "module": "src/scw-form-component/scw-form-component.ts"
3580
+ }
3581
+ }
3582
+ ]
3583
+ },
3584
+ {
3585
+ "kind": "javascript-module",
3586
+ "path": "src/scw-heading/ScwHeading.ts",
3587
+ "declarations": [
3588
+ {
3589
+ "kind": "class",
3590
+ "description": "ScwHeading",
3591
+ "name": "ScwHeading",
3592
+ "members": [
3612
3593
  {
3613
- "kind": "method",
3614
- "name": "validate",
3615
- "return": {
3616
- "type": {
3617
- "text": "ValidationResult[]"
3618
- }
3594
+ "kind": "field",
3595
+ "name": "size",
3596
+ "type": {
3597
+ "text": "string"
3619
3598
  },
3620
- "parameters": [
3621
- {
3622
- "name": "formElementsArg",
3623
- "optional": true,
3624
- "type": {
3625
- "text": "ScwFormComponent[]"
3626
- }
3627
- }
3628
- ],
3629
- "description": "validate"
3599
+ "description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
3600
+ "attribute": "size",
3601
+ "reflects": true
3630
3602
  },
3631
3603
  {
3632
3604
  "kind": "method",
3633
- "name": "findInvalidElements",
3605
+ "name": "renderHeading",
3634
3606
  "return": {
3635
3607
  "type": {
3636
- "text": "ValidationResult[]"
3608
+ "text": "object"
3637
3609
  }
3638
3610
  },
3639
- "parameters": [
3640
- {
3641
- "name": "formElementsArg",
3642
- "optional": true,
3643
- "type": {
3644
- "text": "ScwFormComponent[]"
3645
- }
3646
- }
3647
- ],
3648
- "description": "findInvalidElements"
3649
- },
3650
- {
3651
- "kind": "method",
3652
- "name": "submit",
3653
- "description": "submit form"
3611
+ "description": "renderHeading"
3654
3612
  },
3655
3613
  {
3656
3614
  "kind": "field",
@@ -3787,20 +3745,12 @@
3787
3745
  ],
3788
3746
  "attributes": [
3789
3747
  {
3790
- "name": "action",
3791
- "type": {
3792
- "text": "string | undefined"
3793
- },
3794
- "description": "(ScwForm) where to submit search, same as form",
3795
- "fieldName": "action"
3796
- },
3797
- {
3798
- "name": "method",
3748
+ "name": "size",
3799
3749
  "type": {
3800
- "text": "FormMethods"
3750
+ "text": "string"
3801
3751
  },
3802
- "description": "(ScwForm) how to submit search, same as form",
3803
- "fieldName": "method"
3752
+ "description": "(ScwHeader) Size of heading (h1, h2, h3, h4, h5)",
3753
+ "fieldName": "size"
3804
3754
  },
3805
3755
  {
3806
3756
  "name": "aria-label",
@@ -3869,9 +3819,9 @@
3869
3819
  ],
3870
3820
  "superclass": {
3871
3821
  "name": "ScwComponent",
3872
- "module": "/src/scw-component/ScwComponent"
3822
+ "package": "scw-component/ScwComponent"
3873
3823
  },
3874
- "tagName": "scw-form",
3824
+ "tagName": "scw-heading",
3875
3825
  "customElement": true
3876
3826
  }
3877
3827
  ],
@@ -3880,8 +3830,58 @@
3880
3830
  "kind": "js",
3881
3831
  "name": "default",
3882
3832
  "declaration": {
3883
- "name": "ScwForm",
3884
- "module": "src/scw-form/scw-form.ts"
3833
+ "name": "ScwHeading",
3834
+ "module": "src/scw-heading/ScwHeading.ts"
3835
+ }
3836
+ }
3837
+ ]
3838
+ },
3839
+ {
3840
+ "kind": "javascript-module",
3841
+ "path": "src/scw-heading/parseLightDomHeading.ts",
3842
+ "declarations": [
3843
+ {
3844
+ "kind": "function",
3845
+ "name": "parseLightDomHeading",
3846
+ "parameters": [
3847
+ {
3848
+ "name": "scwHeading",
3849
+ "type": {
3850
+ "text": "ScwHeading"
3851
+ }
3852
+ }
3853
+ ],
3854
+ "description": "Parses light dom into variables to be used for rendering"
3855
+ }
3856
+ ],
3857
+ "exports": [
3858
+ {
3859
+ "kind": "js",
3860
+ "name": "default",
3861
+ "declaration": {
3862
+ "name": "parseLightDomHeading",
3863
+ "module": "src/scw-heading/parseLightDomHeading.ts"
3864
+ }
3865
+ }
3866
+ ]
3867
+ },
3868
+ {
3869
+ "kind": "javascript-module",
3870
+ "path": "src/scw-heading/scw-heading-enums.ts",
3871
+ "declarations": [],
3872
+ "exports": []
3873
+ },
3874
+ {
3875
+ "kind": "javascript-module",
3876
+ "path": "src/scw-heading/scw-heading.ts",
3877
+ "declarations": [],
3878
+ "exports": [
3879
+ {
3880
+ "kind": "custom-element-definition",
3881
+ "name": "scw-heading",
3882
+ "declaration": {
3883
+ "name": "ScwHeading",
3884
+ "module": "/src/scw-heading/ScwHeading"
3885
3885
  }
3886
3886
  }
3887
3887
  ]
@@ -15493,60 +15493,6 @@
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
- },
15550
15496
  {
15551
15497
  "kind": "javascript-module",
15552
15498
  "path": "src/utils/observers/intersectionObserverSingleton.ts",
@@ -15620,12 +15566,6 @@
15620
15566
  }
15621
15567
  ]
15622
15568
  },
15623
- {
15624
- "kind": "javascript-module",
15625
- "path": "src/utils/themes/enums.ts",
15626
- "declarations": [],
15627
- "exports": []
15628
- },
15629
15569
  {
15630
15570
  "kind": "javascript-module",
15631
15571
  "path": "src/utils/testing/colorContrast.ts",
@@ -15859,6 +15799,66 @@
15859
15799
  }
15860
15800
  }
15861
15801
  ]
15802
+ },
15803
+ {
15804
+ "kind": "javascript-module",
15805
+ "path": "src/utils/themes/enums.ts",
15806
+ "declarations": [],
15807
+ "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
  }