scu-web-components 1.3.2 → 1.3.4
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 +39 -2
- package/dist/custom-elements.json.gz +0 -0
- package/dist/docs/components/ScwButton.json +1 -0
- package/dist/docs/components/ScwInput.json +33 -10
- package/dist/docs/components/ScwLink.json +1 -0
- package/dist/docs/components/ScwSelect.json +23 -1
- package/dist/docs/components/manifest.json +30 -30
- package/dist/docs/config.json +5 -5
- package/dist/scw-components.js +149 -130
- package/dist/scw-components.js.gz +0 -0
- package/dist/scw.js +93 -74
- package/dist/scw.js.gz +0 -0
- package/dist/tokens/segments/comp-scw-select/_default-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_default-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_size-small-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_size-small-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-disabled-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-disabled-size-small-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-disabled-size-small-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-disabled-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-error-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-error-size-small-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-error-size-small-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-error-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-focus-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-focus-size-small-mixins.scss +2 -2
- package/dist/tokens/segments/comp-scw-select/_state-focus-size-small-vars.scss +1 -2
- package/dist/tokens/segments/comp-scw-select/_state-focus-vars.scss +1 -2
- 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/componentScssMixins/components-scw-select-default-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-default-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-size-small-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-size-small-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-disabled-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-disabled-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-disabled-size-small-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-disabled-size-small-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-error-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-error-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-error-size-small-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-error-size-small-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-focus-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-focus-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-focus-size-small-.json +2 -2
- package/dist/tokens/source/componentScssMixins/components-scw-select-state-focus-size-small-.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins.json +16 -16
- package/dist/tokens/source/componentScssMixins.json.gz +0 -0
- package/dist/tokens/source/componentScssMixins.scss +16 -16
- 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/scssVariables/components-scw-select-default-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-default-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-size-small-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-size-small-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-disabled-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-disabled-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-disabled-size-small-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-disabled-size-small-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-error-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-error-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-error-size-small-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-error-size-small-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-focus-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-focus-.json.gz +0 -0
- package/dist/tokens/source/scssVariables/components-scw-select-state-focus-size-small-.json +2 -7
- package/dist/tokens/source/scssVariables/components-scw-select-state-focus-size-small-.json.gz +0 -0
- package/dist/tokens/source/scssVariables.json +16 -56
- package/dist/tokens/source/scssVariables.json.gz +0 -0
- package/dist/tokens/source/scssVariables.scss +8 -16
- package/dist/tokens/source/tokens.json +13 -45
- package/dist/tokens/source/tokens.json.gz +0 -0
- package/dist-node/scw-components.js +131 -112
- package/dist-node/scw.js +137 -118
- package/package.json +1 -1
- package/scripts/publish/releaseNotes.mjs +10 -0
|
@@ -1222,6 +1222,7 @@
|
|
|
1222
1222
|
"default": "'false'",
|
|
1223
1223
|
"description": "(ScwLink) If the link is disabled",
|
|
1224
1224
|
"attribute": "aria-disabled",
|
|
1225
|
+
"reflects": true,
|
|
1225
1226
|
"inheritedFrom": {
|
|
1226
1227
|
"name": "ScwComponent",
|
|
1227
1228
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -11315,7 +11316,8 @@
|
|
|
11315
11316
|
"text": "InputTypes"
|
|
11316
11317
|
},
|
|
11317
11318
|
"description": "(ScwInput) type of input field",
|
|
11318
|
-
"attribute": "type"
|
|
11319
|
+
"attribute": "type",
|
|
11320
|
+
"reflects": true
|
|
11319
11321
|
},
|
|
11320
11322
|
{
|
|
11321
11323
|
"kind": "field",
|
|
@@ -11462,6 +11464,15 @@
|
|
|
11462
11464
|
"description": "(ScwInput) Input accept property",
|
|
11463
11465
|
"attribute": "accept"
|
|
11464
11466
|
},
|
|
11467
|
+
{
|
|
11468
|
+
"kind": "field",
|
|
11469
|
+
"name": "toolTip",
|
|
11470
|
+
"type": {
|
|
11471
|
+
"text": "string | undefined"
|
|
11472
|
+
},
|
|
11473
|
+
"description": "(ScwInput) Tooltip text",
|
|
11474
|
+
"attribute": "tooltip"
|
|
11475
|
+
},
|
|
11465
11476
|
{
|
|
11466
11477
|
"kind": "field",
|
|
11467
11478
|
"name": "input",
|
|
@@ -11541,7 +11552,7 @@
|
|
|
11541
11552
|
"kind": "field",
|
|
11542
11553
|
"name": "boundOutsideClickHandler",
|
|
11543
11554
|
"type": {
|
|
11544
|
-
"text": "(e:Event) => void"
|
|
11555
|
+
"text": "(e: Event) => void"
|
|
11545
11556
|
},
|
|
11546
11557
|
"privacy": "private"
|
|
11547
11558
|
},
|
|
@@ -12260,6 +12271,14 @@
|
|
|
12260
12271
|
"description": "(ScwInput) Input accept property",
|
|
12261
12272
|
"fieldName": "accept"
|
|
12262
12273
|
},
|
|
12274
|
+
{
|
|
12275
|
+
"name": "tooltip",
|
|
12276
|
+
"type": {
|
|
12277
|
+
"text": "string | undefined"
|
|
12278
|
+
},
|
|
12279
|
+
"description": "(ScwInput) Tooltip text",
|
|
12280
|
+
"fieldName": "toolTip"
|
|
12281
|
+
},
|
|
12263
12282
|
{
|
|
12264
12283
|
"name": "form-type",
|
|
12265
12284
|
"type": {
|
|
@@ -12811,6 +12830,7 @@
|
|
|
12811
12830
|
"default": "'false'",
|
|
12812
12831
|
"description": "(ScwLink) If the link is disabled",
|
|
12813
12832
|
"attribute": "aria-disabled",
|
|
12833
|
+
"reflects": true,
|
|
12814
12834
|
"inheritedFrom": {
|
|
12815
12835
|
"name": "ScwComponent",
|
|
12816
12836
|
"module": "src/scw-component/ScwComponent.ts"
|
|
@@ -20767,6 +20787,15 @@
|
|
|
20767
20787
|
"attribute": "open",
|
|
20768
20788
|
"reflects": true
|
|
20769
20789
|
},
|
|
20790
|
+
{
|
|
20791
|
+
"kind": "field",
|
|
20792
|
+
"name": "toolTip",
|
|
20793
|
+
"type": {
|
|
20794
|
+
"text": "string | undefined"
|
|
20795
|
+
},
|
|
20796
|
+
"description": "(ScwInput) Tooltip text",
|
|
20797
|
+
"attribute": "tooltip"
|
|
20798
|
+
},
|
|
20770
20799
|
{
|
|
20771
20800
|
"kind": "field",
|
|
20772
20801
|
"name": "input",
|
|
@@ -21440,6 +21469,14 @@
|
|
|
21440
21469
|
"description": "(ScwInput) If select is open",
|
|
21441
21470
|
"fieldName": "open"
|
|
21442
21471
|
},
|
|
21472
|
+
{
|
|
21473
|
+
"name": "tooltip",
|
|
21474
|
+
"type": {
|
|
21475
|
+
"text": "string | undefined"
|
|
21476
|
+
},
|
|
21477
|
+
"description": "(ScwInput) Tooltip text",
|
|
21478
|
+
"fieldName": "toolTip"
|
|
21479
|
+
},
|
|
21443
21480
|
{
|
|
21444
21481
|
"name": "form-type",
|
|
21445
21482
|
"type": {
|
|
Binary file
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"text": "InputTypes"
|
|
22
22
|
},
|
|
23
23
|
"description": "(ScwInput) type of input field",
|
|
24
|
-
"attribute": "type"
|
|
24
|
+
"attribute": "type",
|
|
25
|
+
"reflects": true
|
|
25
26
|
},
|
|
26
27
|
{
|
|
27
28
|
"kind": "field",
|
|
@@ -168,6 +169,15 @@
|
|
|
168
169
|
"description": "(ScwInput) Input accept property",
|
|
169
170
|
"attribute": "accept"
|
|
170
171
|
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "field",
|
|
174
|
+
"name": "toolTip",
|
|
175
|
+
"type": {
|
|
176
|
+
"text": "string | undefined"
|
|
177
|
+
},
|
|
178
|
+
"description": "(ScwInput) Tooltip text",
|
|
179
|
+
"attribute": "tooltip"
|
|
180
|
+
},
|
|
171
181
|
{
|
|
172
182
|
"kind": "field",
|
|
173
183
|
"name": "input",
|
|
@@ -247,7 +257,7 @@
|
|
|
247
257
|
"kind": "field",
|
|
248
258
|
"name": "boundOutsideClickHandler",
|
|
249
259
|
"type": {
|
|
250
|
-
"text": "(e:Event) => void"
|
|
260
|
+
"text": "(e: Event) => void"
|
|
251
261
|
},
|
|
252
262
|
"privacy": "private"
|
|
253
263
|
},
|
|
@@ -966,6 +976,14 @@
|
|
|
966
976
|
"description": "(ScwInput) Input accept property",
|
|
967
977
|
"fieldName": "accept"
|
|
968
978
|
},
|
|
979
|
+
{
|
|
980
|
+
"name": "tooltip",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "string | undefined"
|
|
983
|
+
},
|
|
984
|
+
"description": "(ScwInput) Tooltip text",
|
|
985
|
+
"fieldName": "toolTip"
|
|
986
|
+
},
|
|
969
987
|
{
|
|
970
988
|
"name": "form-type",
|
|
971
989
|
"type": {
|
|
@@ -1171,8 +1189,8 @@
|
|
|
1171
1189
|
"examples": [
|
|
1172
1190
|
{
|
|
1173
1191
|
"title": "Simple",
|
|
1174
|
-
"description": "A basic input with a label, placeholder, and default
|
|
1175
|
-
"code": "\n <scw-input
|
|
1192
|
+
"description": "A basic input with a label, placeholder, and default\n feedback set. Can also be different sizes such as small.",
|
|
1193
|
+
"code": "\n <scw-input\n scw-padding-bottom-2s\n default-feedback=\"Feedback\"\n placeholder=\"Placeholder\"\n label=\"Label\">\n </scw-input>\n <scw-input\n default-feedback=\"Feedback\"\n placeholder=\"Placeholder\"\n label=\"Label\"\n size=\"small\" >\n </scw-input>"
|
|
1176
1194
|
},
|
|
1177
1195
|
{
|
|
1178
1196
|
"title": "Value",
|
|
@@ -1181,33 +1199,38 @@
|
|
|
1181
1199
|
},
|
|
1182
1200
|
{
|
|
1183
1201
|
"title": "Disabled",
|
|
1184
|
-
"description": "The input can be disabled using ari-disabled
|
|
1202
|
+
"description": "The input can be disabled using ari-disabled\n preventing it from being interacted with. The input can also\n be set to read-only also preventing it from being interacted with.",
|
|
1185
1203
|
"code": "\n <scw-input\n label=\"Label\"\n value=\"Disabled\"\n aria-disabled=\"true\">\n </scw-input>\n <scw-input\n read-only\n label=\"Label\"\n value=\"Read Only\">\n </scw-input>"
|
|
1186
1204
|
},
|
|
1187
1205
|
{
|
|
1188
1206
|
"title": "Validation",
|
|
1189
|
-
"description": "scw-validation can be used to set validation rules with
|
|
1207
|
+
"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. The default\n required-label is \"*\"",
|
|
1190
1208
|
"code": "\n <scw-input\n label=\"Required Email\"\n placeholder=\"Placeholder\"\n required\n required-feedback=\"this is so required\">\n <scw-validation>\n <scw-validate\n type=\"email\"\n feedback=\"Email, email, email...\">\n </scw-validate>\n </scw-validation>\n </scw-input>"
|
|
1191
1209
|
},
|
|
1192
1210
|
{
|
|
1193
1211
|
"title": "Types",
|
|
1194
|
-
"description": "You can set the input to auto format by\n changing the type. The current auto formats are telephone
|
|
1212
|
+
"description": "You can set the input to auto format by\n changing the type. The current auto formats are telephone,\n number, date, SSN, and currency. You can also use the password\n type to hide the input and the file type for selecting files.",
|
|
1195
1213
|
"code": "\n <scw-input\n scw-padding-bottom-2s\n label=\"Date\"\n placeholder=\"Date\"\n default-feedback=\"mm/dd/yyyy\"\n type=\"date\">\n </scw-input>\n <scw-input\n label=\"Currency\"\n placeholder=\"Currency\"\n type=\"currency\">\n </scw-input>\n <scw-input\n label=\"Number\"\n placeholder=\"Number\"\n type=\"number\">\n </scw-input>\n <scw-input\n label=\"Password\"\n placeholder=\"Password\"\n type=\"password\">\n </scw-input>\n <scw-input\n label=\"SSN/ITIN\"\n placeholder=\"SSN/ITIN\"\n type=\"ssn\">\n </scw-input>\n <scw-input\n type=\"file\"\n required\n label=\"File\">\n </scw-input>\n "
|
|
1196
1214
|
},
|
|
1197
1215
|
{
|
|
1198
1216
|
"title": "Clear",
|
|
1199
|
-
"description": "The clearable attribute makes a icon appear to
|
|
1217
|
+
"description": "The clearable attribute makes a icon appear to\n clear the input. The icon will be hidden when there is no value.",
|
|
1200
1218
|
"code": "\n <scw-input\n value=\"clearable\"\n clearable>\n </scw-input>"
|
|
1201
1219
|
},
|
|
1220
|
+
{
|
|
1221
|
+
"title": "Tooltip",
|
|
1222
|
+
"description": "The tooltip text.",
|
|
1223
|
+
"code": "\n <scw-input\n label=\"tooltip\"\n tooltip=\"Tooltip Text\"\n >\n </scw-input>"
|
|
1224
|
+
},
|
|
1202
1225
|
{
|
|
1203
1226
|
"title": "Icons",
|
|
1204
|
-
"description": "Icons can be added to the left and right of the
|
|
1227
|
+
"description": "Icons can be added to the left and right of the\n input field",
|
|
1205
1228
|
"code": "\n <scw-input\n right-icon=\"icon-envelope\"\n left-icon=\"icon-search\"\n placeholder=\"icon\">\n </scw-input>"
|
|
1206
1229
|
},
|
|
1207
1230
|
{
|
|
1208
1231
|
"title": "Dropdown",
|
|
1209
1232
|
"description": "A dropdown that appears when the input is selected. Fires\n scu-dropdown when clicked",
|
|
1210
|
-
"code": "\n <scw-input
|
|
1233
|
+
"code": "\n <scw-input\n dropdown-text=\"Dropdown Text\"\n dropdown-icon=\"icon-location-dot\"\n left-icon=\"icon-search\"\n\n\n scw-padding-bottom-2s\n default-feedback=\"Feedback\"\n placeholder=\"Placeholder\"\n label=\"Label\">\n </scw-input>\n <scw-input\n size=\"small\"\n dropdown-text=\"Dropdown Text\"\n dropdown-icon=\"icon-location-dot\"\n left-icon=\"icon-search\"\n scw-padding-bottom-2s\n default-feedback=\"Feedback\"\n placeholder=\"Placeholder\"\n label=\"Label\">\n </scw-input>"
|
|
1211
1234
|
},
|
|
1212
1235
|
{
|
|
1213
1236
|
"title": "Events",
|
|
@@ -45,6 +45,15 @@
|
|
|
45
45
|
"attribute": "open",
|
|
46
46
|
"reflects": true
|
|
47
47
|
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "field",
|
|
50
|
+
"name": "toolTip",
|
|
51
|
+
"type": {
|
|
52
|
+
"text": "string | undefined"
|
|
53
|
+
},
|
|
54
|
+
"description": "(ScwInput) Tooltip text",
|
|
55
|
+
"attribute": "tooltip"
|
|
56
|
+
},
|
|
48
57
|
{
|
|
49
58
|
"kind": "field",
|
|
50
59
|
"name": "input",
|
|
@@ -718,6 +727,14 @@
|
|
|
718
727
|
"description": "(ScwInput) If select is open",
|
|
719
728
|
"fieldName": "open"
|
|
720
729
|
},
|
|
730
|
+
{
|
|
731
|
+
"name": "tooltip",
|
|
732
|
+
"type": {
|
|
733
|
+
"text": "string | undefined"
|
|
734
|
+
},
|
|
735
|
+
"description": "(ScwInput) Tooltip text",
|
|
736
|
+
"fieldName": "toolTip"
|
|
737
|
+
},
|
|
721
738
|
{
|
|
722
739
|
"name": "form-type",
|
|
723
740
|
"type": {
|
|
@@ -935,11 +952,16 @@
|
|
|
935
952
|
},
|
|
936
953
|
{
|
|
937
954
|
"title": "Dynamic",
|
|
938
|
-
"code": "\n <scw-stack>\n <scw-select\n label=\"Label\"\n value=\"saab\"\n dynamic>\n <scw-option aria-label=\"Volvo\" value=\"volvo\"></scw-option>\n <scw-option aria-label=\"Saab\" value=\"saab\"></scw-option>\n <scw-option aria-label=\"Mercedes\" value=\"mercedes\"></scw-option>\n <scw-option aria-label=\"Audi\" value=\"audi\"></scw-option>\n </scw-select>\n <scw-link\n aria-label=\"Change\"\n onclick=\"\n const ran = Math.random()
|
|
955
|
+
"code": "\n <scw-stack>\n <scw-select\n label=\"Label\"\n value=\"saab\"\n dynamic>\n <scw-option aria-label=\"Volvo\" value=\"volvo\"></scw-option>\n <scw-option aria-label=\"Saab\" value=\"saab\"></scw-option>\n <scw-option aria-label=\"Mercedes\" value=\"mercedes\"></scw-option>\n <scw-option aria-label=\"Audi\" value=\"audi\"></scw-option>\n </scw-select>\n <scw-link\n aria-label=\"Change\"\n onclick=\"\n const ran = Math.random();\n this.previousElementSibling.innerHTML = `\n <scw-option aria-label='Volvo ${ran}' value='volvo'></scw-option>\n <scw-option aria-label='Saab ${ran}' value='saab'></scw-option>\n <scw-option aria-label='Mercedes ${ran}' value='mercedes'></scw-option>\n <scw-option aria-label='Audi ${ran}' value='audi'></scw-option>\n `;\">\n </scw-link>\n </scw-stack>"
|
|
939
956
|
},
|
|
940
957
|
{
|
|
941
958
|
"title": "Placeholder",
|
|
942
959
|
"code": "\n <scw-select\n label=\"Label\"\n placeholder=\"Placeholder\"\n required>\n <scw-option aria-label=\"Volvo\" value=\"default\"></scw-option>\n <scw-option aria-label=\"Saab\" value=\"saab\"></scw-option>\n <scw-option aria-label=\"Mercedes\" value=\"anemail@email.com\"></scw-option>\n <scw-option aria-label=\"Audi\" value=\"audi\">Audi</scw-option>\n <scw-validation>\n <scw-validate\n type=\"email\"\n feedback=\"Email, email, email...\">\n </scw-validate>\n </scw-validation>\n </scw-select>"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"title": "Tooltip",
|
|
963
|
+
"description": "A tooltip can be added to the select element",
|
|
964
|
+
"code": "\n <scw-select\n label=\"Label\"\n tooltip=\"This is a tooltip\"\n placeholder=\"Placeholder\"\n required>\n <scw-option aria-label=\"Volvo\" value=\"default\"></scw-option>\n <scw-option aria-label=\"Saab\" value=\"saab\"></scw-option>\n <scw-option aria-label=\"Mercedes\" value=\"anemail@email.com\"></scw-option>\n <scw-option aria-label=\"Audi\" value=\"audi\">Audi</scw-option>\n </scw-select>"
|
|
943
965
|
}
|
|
944
966
|
]
|
|
945
967
|
}
|
|
@@ -41,12 +41,6 @@
|
|
|
41
41
|
"tagName": "scw-center-component",
|
|
42
42
|
"category": "layouts"
|
|
43
43
|
},
|
|
44
|
-
{
|
|
45
|
-
"name": "ScwCheckbox",
|
|
46
|
-
"fileName": "ScwCheckbox.json",
|
|
47
|
-
"tagName": "scw-checkbox",
|
|
48
|
-
"category": "form"
|
|
49
|
-
},
|
|
50
44
|
{
|
|
51
45
|
"name": "ScwComparisonCell",
|
|
52
46
|
"fileName": "ScwComparisonCell.json",
|
|
@@ -59,24 +53,30 @@
|
|
|
59
53
|
"tagName": "scw-comparison-row",
|
|
60
54
|
"category": "interactive"
|
|
61
55
|
},
|
|
56
|
+
{
|
|
57
|
+
"name": "ScwCheckbox",
|
|
58
|
+
"fileName": "ScwCheckbox.json",
|
|
59
|
+
"tagName": "scw-checkbox",
|
|
60
|
+
"category": "form"
|
|
61
|
+
},
|
|
62
62
|
{
|
|
63
63
|
"name": "ScwComparisonTable",
|
|
64
64
|
"fileName": "ScwComparisonTable.json",
|
|
65
65
|
"tagName": "scw-comparison-table",
|
|
66
66
|
"category": "interactive"
|
|
67
67
|
},
|
|
68
|
-
{
|
|
69
|
-
"name": "ScwComponent",
|
|
70
|
-
"fileName": "ScwComponent.json",
|
|
71
|
-
"tagName": "scw-component",
|
|
72
|
-
"category": "base"
|
|
73
|
-
},
|
|
74
68
|
{
|
|
75
69
|
"name": "ScwDisclosure",
|
|
76
70
|
"fileName": "ScwDisclosure.json",
|
|
77
71
|
"tagName": "scw-disclosure",
|
|
78
72
|
"category": "content"
|
|
79
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"name": "ScwComponent",
|
|
76
|
+
"fileName": "ScwComponent.json",
|
|
77
|
+
"tagName": "scw-component",
|
|
78
|
+
"category": "base"
|
|
79
|
+
},
|
|
80
80
|
{
|
|
81
81
|
"name": "ScwDisclosureItem",
|
|
82
82
|
"fileName": "ScwDisclosureItem.json",
|
|
@@ -95,18 +95,18 @@
|
|
|
95
95
|
"tagName": "scw-element-component",
|
|
96
96
|
"category": "layouts"
|
|
97
97
|
},
|
|
98
|
-
{
|
|
99
|
-
"name": "ScwFlexHComponent",
|
|
100
|
-
"fileName": "ScwFlexHComponent.json",
|
|
101
|
-
"tagName": "scw-flex-h-component",
|
|
102
|
-
"category": "layouts"
|
|
103
|
-
},
|
|
104
98
|
{
|
|
105
99
|
"name": "ScwEmployeeCard",
|
|
106
100
|
"fileName": "ScwEmployeeCard.json",
|
|
107
101
|
"tagName": "scw-employee-card",
|
|
108
102
|
"category": "interactive"
|
|
109
103
|
},
|
|
104
|
+
{
|
|
105
|
+
"name": "ScwFlexHComponent",
|
|
106
|
+
"fileName": "ScwFlexHComponent.json",
|
|
107
|
+
"tagName": "scw-flex-h-component",
|
|
108
|
+
"category": "layouts"
|
|
109
|
+
},
|
|
110
110
|
{
|
|
111
111
|
"name": "ScwFlexVComponent",
|
|
112
112
|
"fileName": "ScwFlexVComponent.json",
|
|
@@ -227,18 +227,18 @@
|
|
|
227
227
|
"tagName": "scw-option",
|
|
228
228
|
"category": "form"
|
|
229
229
|
},
|
|
230
|
-
{
|
|
231
|
-
"name": "ScwPageAlert",
|
|
232
|
-
"fileName": "ScwPageAlert.json",
|
|
233
|
-
"tagName": "scw-page-alert",
|
|
234
|
-
"category": "interactive"
|
|
235
|
-
},
|
|
236
230
|
{
|
|
237
231
|
"name": "ScwPaneComponent",
|
|
238
232
|
"fileName": "ScwPaneComponent.json",
|
|
239
233
|
"tagName": "scw-pane-component",
|
|
240
234
|
"category": "layouts"
|
|
241
235
|
},
|
|
236
|
+
{
|
|
237
|
+
"name": "ScwPageAlert",
|
|
238
|
+
"fileName": "ScwPageAlert.json",
|
|
239
|
+
"tagName": "scw-page-alert",
|
|
240
|
+
"category": "interactive"
|
|
241
|
+
},
|
|
242
242
|
{
|
|
243
243
|
"name": "ScwProductCard",
|
|
244
244
|
"fileName": "ScwProductCard.json",
|
|
@@ -287,18 +287,18 @@
|
|
|
287
287
|
"tagName": "scw-select",
|
|
288
288
|
"category": "form"
|
|
289
289
|
},
|
|
290
|
-
{
|
|
291
|
-
"name": "ScwSlider",
|
|
292
|
-
"fileName": "ScwSlider.json",
|
|
293
|
-
"tagName": "scw-slider",
|
|
294
|
-
"category": "interactive"
|
|
295
|
-
},
|
|
296
290
|
{
|
|
297
291
|
"name": "ScwStackComponent",
|
|
298
292
|
"fileName": "ScwStackComponent.json",
|
|
299
293
|
"tagName": "scw-stack-component",
|
|
300
294
|
"category": "layouts"
|
|
301
295
|
},
|
|
296
|
+
{
|
|
297
|
+
"name": "ScwSlider",
|
|
298
|
+
"fileName": "ScwSlider.json",
|
|
299
|
+
"tagName": "scw-slider",
|
|
300
|
+
"category": "interactive"
|
|
301
|
+
},
|
|
302
302
|
{
|
|
303
303
|
"name": "ScwStepper",
|
|
304
304
|
"fileName": "ScwStepper.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.4",
|
|
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.4"
|
|
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.4"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"moduleEmbed": "const scw = await import('../scw.js?
|
|
17
|
-
"cssLink": "../scw.css?
|
|
16
|
+
"moduleEmbed": "const scw = await import('../scw.js?1750699653814'); scw.defineComponents();",
|
|
17
|
+
"cssLink": "../scw.css?1750699653814",
|
|
18
18
|
"documents": [
|
|
19
19
|
{
|
|
20
20
|
"title": "Install",
|