scu-web-components 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +63 -0
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/ScwCheckbox.json +34 -4
- package/dist/docs/components/ScwHorizontalNav.json +20 -0
- package/dist/docs/components/ScwSlider.json +18 -0
- package/dist/docs/components/manifest.json +18 -18
- package/dist/docs/config.json +5 -5
- package/dist/scw-components.js +137 -119
- package/dist/scw-components.js.gz +0 -0
- package/dist/scw.js +302 -284
- package/dist/scw.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-apple-app-store.js +1 -1
- package/dist/tokens/source/assets/graphic-apple-app-store.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-apple-app-store.svg +1 -1
- package/dist/tokens/source/assets/graphic-apple-app-store.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-ehl.js +1 -1
- package/dist/tokens/source/assets/graphic-ehl.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-ehl.svg +1 -1
- package/dist/tokens/source/assets/graphic-ehl.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-google-play-store.js +1 -1
- package/dist/tokens/source/assets/graphic-google-play-store.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-google-play-store.svg +1 -1
- package/dist/tokens/source/assets/graphic-google-play-store.svg.gz +0 -0
- package/dist/tokens/source/assets/graphic-logo.js +1 -1
- package/dist/tokens/source/assets/graphic-logo.js.gz +0 -0
- package/dist/tokens/source/assets/graphic-logo.svg +1 -1
- package/dist/tokens/source/assets/graphic-logo.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-clipboard-calculator.js +1 -1
- package/dist/tokens/source/assets/icon-clipboard-calculator.js.gz +0 -0
- package/dist/tokens/source/assets/icon-clipboard-calculator.svg +1 -1
- package/dist/tokens/source/assets/icon-clipboard-calculator.svg.gz +0 -0
- package/dist/tokens/source/assets/icon-graduation-money.js +1 -1
- package/dist/tokens/source/assets/icon-graduation-money.js.gz +0 -0
- package/dist/tokens/source/assets/icon-graduation-money.svg +1 -1
- package/dist/tokens/source/assets/icon-graduation-money.svg.gz +0 -0
- package/dist/tokens/source/jsCss.js +1 -1
- package/dist/tokens/source/jsCss.js.gz +0 -0
- package/dist/tokens/source/jsCssGenerator.js +1 -1
- package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
- package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
- package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
- package/dist/tokens/source/tokens.json +6 -6
- package/dist/tokens/source/tokens.json.gz +0 -0
- package/dist-node/scw-components.js +222 -204
- package/dist-node/scw.js +211 -193
- package/package.json +1 -1
- package/scripts/publish/releaseNotes.mjs +10 -0
|
@@ -2650,6 +2650,17 @@
|
|
|
2650
2650
|
"description": "ScwCheckbox",
|
|
2651
2651
|
"name": "ScwCheckbox",
|
|
2652
2652
|
"members": [
|
|
2653
|
+
{
|
|
2654
|
+
"kind": "field",
|
|
2655
|
+
"name": "disabled",
|
|
2656
|
+
"type": {
|
|
2657
|
+
"text": "boolean"
|
|
2658
|
+
},
|
|
2659
|
+
"default": "false",
|
|
2660
|
+
"description": "if the checkbox is disabled",
|
|
2661
|
+
"attribute": "disabled",
|
|
2662
|
+
"reflects": true
|
|
2663
|
+
},
|
|
2653
2664
|
{
|
|
2654
2665
|
"kind": "field",
|
|
2655
2666
|
"name": "selected",
|
|
@@ -2713,6 +2724,11 @@
|
|
|
2713
2724
|
"name": "handleSelectedChange",
|
|
2714
2725
|
"description": "handleSelectedChange"
|
|
2715
2726
|
},
|
|
2727
|
+
{
|
|
2728
|
+
"kind": "method",
|
|
2729
|
+
"name": "handleDisabledChange",
|
|
2730
|
+
"description": "handleDisabledChange"
|
|
2731
|
+
},
|
|
2716
2732
|
{
|
|
2717
2733
|
"kind": "method",
|
|
2718
2734
|
"name": "valueChangeHandler",
|
|
@@ -3193,6 +3209,15 @@
|
|
|
3193
3209
|
}
|
|
3194
3210
|
],
|
|
3195
3211
|
"attributes": [
|
|
3212
|
+
{
|
|
3213
|
+
"name": "disabled",
|
|
3214
|
+
"type": {
|
|
3215
|
+
"text": "boolean"
|
|
3216
|
+
},
|
|
3217
|
+
"default": "false",
|
|
3218
|
+
"description": "if the checkbox is disabled",
|
|
3219
|
+
"fieldName": "disabled"
|
|
3220
|
+
},
|
|
3196
3221
|
{
|
|
3197
3222
|
"name": "selected",
|
|
3198
3223
|
"type": {
|
|
@@ -8806,6 +8831,26 @@
|
|
|
8806
8831
|
],
|
|
8807
8832
|
"description": "handleClick"
|
|
8808
8833
|
},
|
|
8834
|
+
{
|
|
8835
|
+
"kind": "method",
|
|
8836
|
+
"name": "handleFocus",
|
|
8837
|
+
"privacy": "private",
|
|
8838
|
+
"description": "handleFocus"
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"kind": "method",
|
|
8842
|
+
"name": "handleFocusOut",
|
|
8843
|
+
"privacy": "private",
|
|
8844
|
+
"parameters": [
|
|
8845
|
+
{
|
|
8846
|
+
"name": "event",
|
|
8847
|
+
"type": {
|
|
8848
|
+
"text": "FocusEvent"
|
|
8849
|
+
}
|
|
8850
|
+
}
|
|
8851
|
+
],
|
|
8852
|
+
"description": "handleFocusOut"
|
|
8853
|
+
},
|
|
8809
8854
|
{
|
|
8810
8855
|
"kind": "field",
|
|
8811
8856
|
"name": "element",
|
|
@@ -22166,6 +22211,24 @@
|
|
|
22166
22211
|
"privacy": "private",
|
|
22167
22212
|
"description": "initializeSlides\n\nsets up everything for the slider to work"
|
|
22168
22213
|
},
|
|
22214
|
+
{
|
|
22215
|
+
"kind": "method",
|
|
22216
|
+
"name": "renderIcon",
|
|
22217
|
+
"parameters": [
|
|
22218
|
+
{
|
|
22219
|
+
"name": "direction",
|
|
22220
|
+
"type": {
|
|
22221
|
+
"text": "string"
|
|
22222
|
+
}
|
|
22223
|
+
}
|
|
22224
|
+
],
|
|
22225
|
+
"description": "renderIcon",
|
|
22226
|
+
"return": {
|
|
22227
|
+
"type": {
|
|
22228
|
+
"text": "string"
|
|
22229
|
+
}
|
|
22230
|
+
}
|
|
22231
|
+
},
|
|
22169
22232
|
{
|
|
22170
22233
|
"kind": "field",
|
|
22171
22234
|
"name": "element",
|
|
Binary file
|
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
"description": "",
|
|
5
5
|
"name": "ScwCheckbox",
|
|
6
6
|
"members": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "field",
|
|
9
|
+
"name": "disabled",
|
|
10
|
+
"type": {
|
|
11
|
+
"text": "boolean"
|
|
12
|
+
},
|
|
13
|
+
"default": "false",
|
|
14
|
+
"description": "if the checkbox is disabled",
|
|
15
|
+
"attribute": "disabled",
|
|
16
|
+
"reflects": true
|
|
17
|
+
},
|
|
7
18
|
{
|
|
8
19
|
"kind": "field",
|
|
9
20
|
"name": "selected",
|
|
@@ -67,6 +78,11 @@
|
|
|
67
78
|
"name": "handleSelectedChange",
|
|
68
79
|
"description": "handleSelectedChange"
|
|
69
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"kind": "method",
|
|
83
|
+
"name": "handleDisabledChange",
|
|
84
|
+
"description": "handleDisabledChange"
|
|
85
|
+
},
|
|
70
86
|
{
|
|
71
87
|
"kind": "method",
|
|
72
88
|
"name": "valueChangeHandler",
|
|
@@ -547,6 +563,15 @@
|
|
|
547
563
|
}
|
|
548
564
|
],
|
|
549
565
|
"attributes": [
|
|
566
|
+
{
|
|
567
|
+
"name": "disabled",
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "boolean"
|
|
570
|
+
},
|
|
571
|
+
"default": "false",
|
|
572
|
+
"description": "if the checkbox is disabled",
|
|
573
|
+
"fieldName": "disabled"
|
|
574
|
+
},
|
|
550
575
|
{
|
|
551
576
|
"name": "selected",
|
|
552
577
|
"type": {
|
|
@@ -780,7 +805,7 @@
|
|
|
780
805
|
{
|
|
781
806
|
"title": "Simple",
|
|
782
807
|
"description": "A basic checkbox with a label",
|
|
783
|
-
"code": "\n <scw-checkbox aria-label=\"checkbox\"></scw-checkbox>\n <scw-checkbox
|
|
808
|
+
"code": "\n <scw-checkbox aria-label=\"checkbox\"></scw-checkbox>\n <scw-checkbox disabled aria-label=\"disabled\"></scw-checkbox>\n <scw-checkbox selected aria-label=\"checked\"></scw-checkbox>"
|
|
784
809
|
},
|
|
785
810
|
{
|
|
786
811
|
"title": "Feedback",
|
|
@@ -789,13 +814,18 @@
|
|
|
789
814
|
},
|
|
790
815
|
{
|
|
791
816
|
"title": "Validation",
|
|
792
|
-
"description": "scw-validation can be used to set validation rules with
|
|
793
|
-
"code": "<scw-checkbox required
|
|
817
|
+
"description": "scw-validation can be used to set validation rules with\n feedback. You can also set required, required-feedback, and\n required-label on fields that are required.",
|
|
818
|
+
"code": "<scw-checkbox required\n aria-label=\"checkbox\">\n </scw-checkbox>"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"title": "Disabled",
|
|
822
|
+
"description": "The \"aria-disabled\" and \"disabled\" attributes\n have the same effect, but using \"aria-disabled\" will cause\n accessiblity issues. The \"disabled\" attribute should be\n should be used instead.",
|
|
823
|
+
"code": "\n <scw-checkbox\n disabled\n aria-label=\"disabled with Boolean attribute (preferred)\">\n </scw-checkbox>\n <scw-checkbox\n aria-disabled=\"true\"\n aria-label=\"disabled with ARIA attribute\"></scw-checkbox>\n "
|
|
794
824
|
},
|
|
795
825
|
{
|
|
796
826
|
"title": "Alignment",
|
|
797
827
|
"description": "By default text is aligned to the center of the checkbox.\n Text can also be set to align to the top by setting alignment = top.",
|
|
798
|
-
"code": "<scw-checkbox
|
|
828
|
+
"code": "<scw-checkbox\n aria-label=\"Aliquam blandit, odio id tincidunt faucibus, nisi massa\n pretium orci, vel commodo lacus elit non est. Proin condimentum iaculis\n sodales. In convallis augue eros, et semper justo consequat tempus.\n Fusce blandit ultrices diam, non porta risus elementum ut. Curabitur est\n nisi, vulputate eu convallis non, dapibus non lacus.\">\n </scw-checkbox>\n <scw-checkbox\n alignment=\"top\"\n aria-label=\"Aliquam blandit, odio id tincidunt faucibus, nisi massa\n pretium orci, vel commodo lacus elit non est. Proin condimentum iaculis\n sodales. In convallis augue eros, et semper justo consequat tempus.\n Fusce blandit ultrices diam, non porta risus elementum ut. Curabitur est\n nisi, vulputate eu convallis non, dapibus non lacus.\">\n </scw-checkbox>"
|
|
799
829
|
}
|
|
800
830
|
]
|
|
801
831
|
}
|
|
@@ -361,6 +361,26 @@
|
|
|
361
361
|
],
|
|
362
362
|
"description": "handleClick"
|
|
363
363
|
},
|
|
364
|
+
{
|
|
365
|
+
"kind": "method",
|
|
366
|
+
"name": "handleFocus",
|
|
367
|
+
"privacy": "private",
|
|
368
|
+
"description": "handleFocus"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"kind": "method",
|
|
372
|
+
"name": "handleFocusOut",
|
|
373
|
+
"privacy": "private",
|
|
374
|
+
"parameters": [
|
|
375
|
+
{
|
|
376
|
+
"name": "event",
|
|
377
|
+
"type": {
|
|
378
|
+
"text": "FocusEvent"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"description": "handleFocusOut"
|
|
383
|
+
},
|
|
364
384
|
{
|
|
365
385
|
"kind": "field",
|
|
366
386
|
"name": "element",
|
|
@@ -541,6 +541,24 @@
|
|
|
541
541
|
"privacy": "private",
|
|
542
542
|
"description": "initializeSlides\n\nsets up everything for the slider to work"
|
|
543
543
|
},
|
|
544
|
+
{
|
|
545
|
+
"kind": "method",
|
|
546
|
+
"name": "renderIcon",
|
|
547
|
+
"parameters": [
|
|
548
|
+
{
|
|
549
|
+
"name": "direction",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "string"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"description": "renderIcon",
|
|
556
|
+
"return": {
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "string"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
},
|
|
544
562
|
{
|
|
545
563
|
"kind": "field",
|
|
546
564
|
"name": "element",
|
|
@@ -17,18 +17,18 @@
|
|
|
17
17
|
"tagName": "scw-block",
|
|
18
18
|
"category": "interactive"
|
|
19
19
|
},
|
|
20
|
-
{
|
|
21
|
-
"name": "ScwCallout",
|
|
22
|
-
"fileName": "ScwCallout.json",
|
|
23
|
-
"tagName": "scw-callout",
|
|
24
|
-
"category": "interactive"
|
|
25
|
-
},
|
|
26
20
|
{
|
|
27
21
|
"name": "ScwButton",
|
|
28
22
|
"fileName": "ScwButton.json",
|
|
29
23
|
"tagName": "scw-button",
|
|
30
24
|
"category": "interactive"
|
|
31
25
|
},
|
|
26
|
+
{
|
|
27
|
+
"name": "ScwCallout",
|
|
28
|
+
"fileName": "ScwCallout.json",
|
|
29
|
+
"tagName": "scw-callout",
|
|
30
|
+
"category": "interactive"
|
|
31
|
+
},
|
|
32
32
|
{
|
|
33
33
|
"name": "ScwCard",
|
|
34
34
|
"fileName": "ScwCard.json",
|
|
@@ -95,18 +95,18 @@
|
|
|
95
95
|
"tagName": "scw-element-component",
|
|
96
96
|
"category": "layouts"
|
|
97
97
|
},
|
|
98
|
-
{
|
|
99
|
-
"name": "ScwEmployeeCard",
|
|
100
|
-
"fileName": "ScwEmployeeCard.json",
|
|
101
|
-
"tagName": "scw-employee-card",
|
|
102
|
-
"category": "interactive"
|
|
103
|
-
},
|
|
104
98
|
{
|
|
105
99
|
"name": "ScwFlexHComponent",
|
|
106
100
|
"fileName": "ScwFlexHComponent.json",
|
|
107
101
|
"tagName": "scw-flex-h-component",
|
|
108
102
|
"category": "layouts"
|
|
109
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"name": "ScwEmployeeCard",
|
|
106
|
+
"fileName": "ScwEmployeeCard.json",
|
|
107
|
+
"tagName": "scw-employee-card",
|
|
108
|
+
"category": "interactive"
|
|
109
|
+
},
|
|
110
110
|
{
|
|
111
111
|
"name": "ScwFlexVComponent",
|
|
112
112
|
"fileName": "ScwFlexVComponent.json",
|
|
@@ -275,18 +275,18 @@
|
|
|
275
275
|
"tagName": "scw-rate-table-group",
|
|
276
276
|
"category": "interactive"
|
|
277
277
|
},
|
|
278
|
-
{
|
|
279
|
-
"name": "ScwSelect",
|
|
280
|
-
"fileName": "ScwSelect.json",
|
|
281
|
-
"tagName": "scw-select",
|
|
282
|
-
"category": "form"
|
|
283
|
-
},
|
|
284
278
|
{
|
|
285
279
|
"name": "ScwRichText",
|
|
286
280
|
"fileName": "ScwRichText.json",
|
|
287
281
|
"tagName": "scw-rich-text",
|
|
288
282
|
"category": "content"
|
|
289
283
|
},
|
|
284
|
+
{
|
|
285
|
+
"name": "ScwSelect",
|
|
286
|
+
"fileName": "ScwSelect.json",
|
|
287
|
+
"tagName": "scw-select",
|
|
288
|
+
"category": "form"
|
|
289
|
+
},
|
|
290
290
|
{
|
|
291
291
|
"name": "ScwSlider",
|
|
292
292
|
"fileName": "ScwSlider.json",
|
package/dist/docs/config.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Summit Credit Union Web Design System (SCW)",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"navigation": [
|
|
5
5
|
{
|
|
6
6
|
"id": "tokens",
|
|
7
7
|
"title": "Component SASS",
|
|
8
|
-
"url": "../tokens/tokens.html?1.3.
|
|
8
|
+
"url": "../tokens/tokens.html?1.3.2"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"id": "css",
|
|
12
12
|
"title": "CSS",
|
|
13
|
-
"url": "../tokens/css.html?clipboardType=classes&1.3.
|
|
13
|
+
"url": "../tokens/css.html?clipboardType=classes&1.3.2"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"moduleEmbed": "const scw = await import('../scw.js?
|
|
17
|
-
"cssLink": "../scw.css?
|
|
16
|
+
"moduleEmbed": "const scw = await import('../scw.js?1750089729796'); scw.defineComponents();",
|
|
17
|
+
"cssLink": "../scw.css?1750089729796",
|
|
18
18
|
"documents": [
|
|
19
19
|
{
|
|
20
20
|
"title": "Install",
|