scu-web-components 1.3.1 → 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 +51 -6
- 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/manifest.json +16 -16
- package/dist/docs/config.json +5 -5
- package/dist/scw-components.js +115 -94
- package/dist/scw-components.js.gz +0 -0
- package/dist/scw.js +298 -277
- 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/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 +5 -5
- package/dist/tokens/source/tokens.json.gz +0 -0
- package/dist-node/scw-components.js +203 -182
- package/dist-node/scw.js +192 -171
- package/package.json +1 -1
- package/scripts/publish/releaseNotes.mjs +5 -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",
|
|
@@ -29516,12 +29561,6 @@
|
|
|
29516
29561
|
}
|
|
29517
29562
|
]
|
|
29518
29563
|
},
|
|
29519
|
-
{
|
|
29520
|
-
"kind": "javascript-module",
|
|
29521
|
-
"path": "src/utils/themes/enums.ts",
|
|
29522
|
-
"declarations": [],
|
|
29523
|
-
"exports": []
|
|
29524
|
-
},
|
|
29525
29564
|
{
|
|
29526
29565
|
"kind": "javascript-module",
|
|
29527
29566
|
"path": "src/utils/testing/colorContrast.ts",
|
|
@@ -29755,6 +29794,12 @@
|
|
|
29755
29794
|
}
|
|
29756
29795
|
}
|
|
29757
29796
|
]
|
|
29797
|
+
},
|
|
29798
|
+
{
|
|
29799
|
+
"kind": "javascript-module",
|
|
29800
|
+
"path": "src/utils/themes/enums.ts",
|
|
29801
|
+
"declarations": [],
|
|
29802
|
+
"exports": []
|
|
29758
29803
|
}
|
|
29759
29804
|
]
|
|
29760
29805
|
}
|
|
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",
|
|
@@ -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",
|
|
@@ -125,6 +125,12 @@
|
|
|
125
125
|
"tagName": "scw-floating-button",
|
|
126
126
|
"category": "interactive"
|
|
127
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"name": "ScwForm",
|
|
130
|
+
"fileName": "ScwForm.json",
|
|
131
|
+
"tagName": "scw-form",
|
|
132
|
+
"category": "form"
|
|
133
|
+
},
|
|
128
134
|
{
|
|
129
135
|
"name": "ScwFormComponent",
|
|
130
136
|
"fileName": "ScwFormComponent.json",
|
|
@@ -132,10 +138,10 @@
|
|
|
132
138
|
"category": "base"
|
|
133
139
|
},
|
|
134
140
|
{
|
|
135
|
-
"name": "
|
|
136
|
-
"fileName": "
|
|
137
|
-
"tagName": "scw-
|
|
138
|
-
"category": "
|
|
141
|
+
"name": "ScwHorizontalNav",
|
|
142
|
+
"fileName": "ScwHorizontalNav.json",
|
|
143
|
+
"tagName": "scw-horizontal-nav",
|
|
144
|
+
"category": "interactive"
|
|
139
145
|
},
|
|
140
146
|
{
|
|
141
147
|
"name": "ScwHorizontalNavItem",
|
|
@@ -149,12 +155,6 @@
|
|
|
149
155
|
"tagName": "scw-horizontal-nav-panel",
|
|
150
156
|
"category": "interactive"
|
|
151
157
|
},
|
|
152
|
-
{
|
|
153
|
-
"name": "ScwHorizontalNav",
|
|
154
|
-
"fileName": "ScwHorizontalNav.json",
|
|
155
|
-
"tagName": "scw-horizontal-nav",
|
|
156
|
-
"category": "interactive"
|
|
157
|
-
},
|
|
158
158
|
{
|
|
159
159
|
"name": "ScwIconFeature",
|
|
160
160
|
"fileName": "ScwIconFeature.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",
|