@warp-ds/elements 2.4.0-next.4 → 2.4.0-next.5

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 (36) hide show
  1. package/dist/custom-elements.json +3121 -0
  2. package/dist/index.d.ts +728 -0
  3. package/dist/packages/checkbox/checkbox-group.js +3 -11
  4. package/dist/packages/checkbox/checkbox-group.js.map +7 -0
  5. package/dist/packages/checkbox/checkbox.js +2572 -201
  6. package/dist/packages/checkbox/checkbox.js.map +7 -0
  7. package/dist/packages/deadtoggle/index.js +2547 -51
  8. package/dist/packages/deadtoggle/index.js.map +7 -0
  9. package/dist/packages/pageindicator/index.js +28 -44
  10. package/dist/packages/pageindicator/index.js.map +7 -0
  11. package/dist/packages/pagination/index.js +2484 -183
  12. package/dist/packages/pagination/index.js.map +7 -0
  13. package/dist/packages/radio/radio-group-styles.js +3 -3
  14. package/dist/packages/radio/radio-group-styles.js.map +7 -0
  15. package/dist/packages/radio/radio-group.js +2618 -312
  16. package/dist/packages/radio/radio-group.js.map +7 -0
  17. package/dist/packages/radio/radio-styles.js +1 -0
  18. package/dist/packages/radio/radio-styles.js.map +7 -0
  19. package/dist/packages/radio/radio.js +2556 -109
  20. package/dist/packages/radio/radio.js.map +7 -0
  21. package/dist/packages/radio/radio.stories.js +3688 -47
  22. package/dist/packages/radio/radio.stories.js.map +7 -0
  23. package/dist/packages/slider/slider-thumb.js +2646 -399
  24. package/dist/packages/slider/slider-thumb.js.map +7 -0
  25. package/dist/packages/slider/slider.js +2603 -272
  26. package/dist/packages/slider/slider.js.map +7 -0
  27. package/dist/packages/stepindicator/index.js +2459 -189
  28. package/dist/packages/stepindicator/index.js.map +7 -0
  29. package/dist/packages/tabs/tab.js +2451 -78
  30. package/dist/packages/tabs/tab.js.map +7 -0
  31. package/dist/packages/tabs/tabs.js +2443 -260
  32. package/dist/packages/tabs/tabs.js.map +7 -0
  33. package/dist/packages/textarea/textarea.js +2465 -210
  34. package/dist/packages/textarea/textarea.js.map +7 -0
  35. package/dist/web-types.json +784 -1
  36. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@warp-ds/elements",
4
- "version": "2.4.0",
4
+ "version": "2.4.0-next.4",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -997,6 +997,789 @@
997
997
  ],
998
998
  "events": []
999
999
  }
1000
+ },
1001
+ {
1002
+ "name": "w-dead-toggle",
1003
+ "description": "Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)\n---\n",
1004
+ "doc-url": "",
1005
+ "attributes": [
1006
+ {
1007
+ "name": "type",
1008
+ "value": { "type": "'radio' | 'checkbox'", "default": "'radio'" }
1009
+ },
1010
+ {
1011
+ "name": "checked",
1012
+ "value": { "type": "boolean", "default": "false" }
1013
+ },
1014
+ {
1015
+ "name": "indeterminate",
1016
+ "value": { "type": "boolean", "default": "false" }
1017
+ },
1018
+ {
1019
+ "name": "invalid",
1020
+ "value": { "type": "boolean", "default": "false" }
1021
+ },
1022
+ {
1023
+ "name": "disabled",
1024
+ "value": { "type": "boolean", "default": "false" }
1025
+ }
1026
+ ],
1027
+ "events": [],
1028
+ "js": {
1029
+ "properties": [
1030
+ { "name": "type", "type": "'radio' | 'checkbox'" },
1031
+ { "name": "checked", "type": "boolean" },
1032
+ { "name": "indeterminate", "type": "boolean" },
1033
+ { "name": "invalid", "type": "boolean" },
1034
+ { "name": "disabled", "type": "boolean" }
1035
+ ],
1036
+ "events": []
1037
+ }
1038
+ },
1039
+ {
1040
+ "name": "w-pageindicator",
1041
+ "description": "\n---\n",
1042
+ "doc-url": "",
1043
+ "attributes": [
1044
+ {
1045
+ "name": "selected-page",
1046
+ "description": "Currently selected page (1-based index)",
1047
+ "value": { "type": "number", "default": "1" }
1048
+ },
1049
+ {
1050
+ "name": "page-count",
1051
+ "description": "Total number of pages",
1052
+ "value": { "type": "number", "default": "1" }
1053
+ }
1054
+ ],
1055
+ "events": [],
1056
+ "js": {
1057
+ "properties": [
1058
+ {
1059
+ "name": "selectedPage",
1060
+ "description": "Currently selected page (1-based index)",
1061
+ "type": "number"
1062
+ },
1063
+ {
1064
+ "name": "pageCount",
1065
+ "description": "Total number of pages",
1066
+ "type": "number"
1067
+ }
1068
+ ],
1069
+ "events": []
1070
+ }
1071
+ },
1072
+ {
1073
+ "name": "w-pagination",
1074
+ "description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)\n---\n\n\n### **Events:**\n - **page-click** - Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.",
1075
+ "doc-url": "",
1076
+ "attributes": [
1077
+ { "name": "base-url", "value": { "type": "string" } },
1078
+ { "name": "pages", "value": { "type": "number" } },
1079
+ {
1080
+ "name": "current-page",
1081
+ "value": { "type": "number", "default": "1" }
1082
+ },
1083
+ {
1084
+ "name": "visible-pages",
1085
+ "value": { "type": "number", "default": "7" }
1086
+ }
1087
+ ],
1088
+ "events": [
1089
+ {
1090
+ "name": "page-click",
1091
+ "type": "CustomEvent",
1092
+ "description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
1093
+ }
1094
+ ],
1095
+ "js": {
1096
+ "properties": [
1097
+ { "name": "baseUrl", "type": "string" },
1098
+ { "name": "pages", "type": "number" },
1099
+ { "name": "currentPageNumber", "type": "number" },
1100
+ { "name": "visiblePages", "type": "number" }
1101
+ ],
1102
+ "events": [
1103
+ {
1104
+ "name": "page-click",
1105
+ "type": "CustomEvent",
1106
+ "description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
1107
+ }
1108
+ ]
1109
+ }
1110
+ },
1111
+ {
1112
+ "name": "w-radio",
1113
+ "description": "\n---\n",
1114
+ "doc-url": "",
1115
+ "attributes": [
1116
+ {
1117
+ "name": "form",
1118
+ "description": "The string pointing to a form's id.",
1119
+ "value": { "type": "string | null", "default": "null" }
1120
+ },
1121
+ {
1122
+ "name": "value",
1123
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1124
+ "value": { "type": "string" }
1125
+ },
1126
+ {
1127
+ "name": "appearance",
1128
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1129
+ "value": {
1130
+ "type": "'default' | 'button' | 'clickable'",
1131
+ "default": "'default'"
1132
+ }
1133
+ },
1134
+ {
1135
+ "name": "size",
1136
+ "description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
1137
+ "value": {
1138
+ "type": "'small' | 'medium' | 'large'",
1139
+ "default": "'medium'"
1140
+ }
1141
+ },
1142
+ {
1143
+ "name": "disabled",
1144
+ "description": "Disables the radio.",
1145
+ "value": { "type": "boolean", "default": "false" }
1146
+ }
1147
+ ],
1148
+ "events": [],
1149
+ "js": {
1150
+ "properties": [
1151
+ { "name": "checked", "type": "boolean" },
1152
+ {
1153
+ "name": "form",
1154
+ "description": "The string pointing to a form's id.",
1155
+ "type": "string | null"
1156
+ },
1157
+ {
1158
+ "name": "value",
1159
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1160
+ "type": "string"
1161
+ },
1162
+ {
1163
+ "name": "appearance",
1164
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1165
+ "type": "'default' | 'button' | 'clickable'"
1166
+ },
1167
+ {
1168
+ "name": "size",
1169
+ "description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
1170
+ "type": "'small' | 'medium' | 'large'"
1171
+ },
1172
+ {
1173
+ "name": "disabled",
1174
+ "description": "Disables the radio.",
1175
+ "type": "boolean"
1176
+ }
1177
+ ],
1178
+ "events": []
1179
+ }
1180
+ },
1181
+ {
1182
+ "name": "w-radio-group",
1183
+ "description": "\n---\n\n\n### **Events:**\n - **input**\n- **change**\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio group.\n\n### **Slots:**\n - **label** - Alternative to the `label` attribute should you need custom HTML.",
1184
+ "doc-url": "",
1185
+ "attributes": [
1186
+ {
1187
+ "name": "label",
1188
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
1189
+ "value": { "type": "string", "default": "''" }
1190
+ },
1191
+ {
1192
+ "name": "hint",
1193
+ "description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
1194
+ "value": { "type": "string", "default": "''" }
1195
+ },
1196
+ {
1197
+ "name": "name",
1198
+ "description": "The name of the radio group, submitted as a name/value pair with form data.",
1199
+ "value": { "type": "string | null", "default": "null" }
1200
+ },
1201
+ {
1202
+ "name": "disabled",
1203
+ "description": "Disables the radio group and all child radios.",
1204
+ "value": { "type": "boolean", "default": "false" }
1205
+ },
1206
+ {
1207
+ "name": "orientation",
1208
+ "description": "The orientation in which to show radio items.",
1209
+ "value": {
1210
+ "type": "'horizontal' | 'vertical'",
1211
+ "default": "'vertical'"
1212
+ }
1213
+ },
1214
+ {
1215
+ "name": "value",
1216
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1217
+ "value": { "type": "string | null" }
1218
+ },
1219
+ {
1220
+ "name": "size",
1221
+ "description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
1222
+ "value": {
1223
+ "type": "'small' | 'medium' | 'large'",
1224
+ "default": "'medium'"
1225
+ }
1226
+ },
1227
+ {
1228
+ "name": "required",
1229
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
1230
+ "value": { "type": "boolean", "default": "false" }
1231
+ },
1232
+ {
1233
+ "name": "with-label",
1234
+ "description": "Used for SSR. if true, will show slotted label on initial render.",
1235
+ "value": { "type": "boolean", "default": "false" }
1236
+ },
1237
+ {
1238
+ "name": "with-hint",
1239
+ "description": "Used for SSR. if true, will show slotted hint on initial render.",
1240
+ "value": { "type": "boolean", "default": "false" }
1241
+ }
1242
+ ],
1243
+ "slots": [
1244
+ {
1245
+ "name": "label",
1246
+ "description": "Alternative to the `label` attribute should you need custom HTML."
1247
+ }
1248
+ ],
1249
+ "events": [
1250
+ { "name": "input", "type": "InputEvent" },
1251
+ { "name": "change", "type": "Event" }
1252
+ ],
1253
+ "js": {
1254
+ "properties": [
1255
+ { "name": "hasRadioButtons", "type": "boolean" },
1256
+ { "name": "defaultSlot", "type": "HTMLSlotElement" },
1257
+ {
1258
+ "name": "label",
1259
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
1260
+ "type": "string"
1261
+ },
1262
+ {
1263
+ "name": "hint",
1264
+ "description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
1265
+ "type": "string"
1266
+ },
1267
+ {
1268
+ "name": "name",
1269
+ "description": "The name of the radio group, submitted as a name/value pair with form data.",
1270
+ "type": "string | null"
1271
+ },
1272
+ {
1273
+ "name": "disabled",
1274
+ "description": "Disables the radio group and all child radios.",
1275
+ "type": "boolean"
1276
+ },
1277
+ {
1278
+ "name": "orientation",
1279
+ "description": "The orientation in which to show radio items.",
1280
+ "type": "'horizontal' | 'vertical'"
1281
+ },
1282
+ {
1283
+ "name": "value",
1284
+ "description": "The current value of the radio group, submitted as a name/value pair with form data."
1285
+ },
1286
+ {
1287
+ "name": "defaultValue",
1288
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1289
+ "type": "string | null"
1290
+ },
1291
+ {
1292
+ "name": "size",
1293
+ "description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
1294
+ "type": "'small' | 'medium' | 'large'"
1295
+ },
1296
+ {
1297
+ "name": "required",
1298
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
1299
+ "type": "boolean"
1300
+ },
1301
+ {
1302
+ "name": "withLabel",
1303
+ "description": "Used for SSR. if true, will show slotted label on initial render.",
1304
+ "type": "boolean"
1305
+ },
1306
+ {
1307
+ "name": "withHint",
1308
+ "description": "Used for SSR. if true, will show slotted hint on initial render.",
1309
+ "type": "boolean"
1310
+ },
1311
+ {
1312
+ "name": "validationTarget",
1313
+ "description": "We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on\nthe first radio element."
1314
+ }
1315
+ ],
1316
+ "events": [
1317
+ { "name": "input", "type": "InputEvent" },
1318
+ { "name": "change", "type": "Event" }
1319
+ ]
1320
+ }
1321
+ },
1322
+ {
1323
+ "name": "w-checkbox",
1324
+ "description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.",
1325
+ "doc-url": "",
1326
+ "attributes": [
1327
+ { "name": "title", "value": { "type": "string", "default": "''" } },
1328
+ {
1329
+ "name": "name",
1330
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1331
+ "value": { "type": "string", "default": "''" }
1332
+ },
1333
+ {
1334
+ "name": "value",
1335
+ "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1336
+ "value": { "type": "string | null" }
1337
+ },
1338
+ {
1339
+ "name": "size",
1340
+ "description": "The checkbox's size.",
1341
+ "value": {
1342
+ "type": "'small' | 'medium' | 'large'",
1343
+ "default": "'medium'"
1344
+ }
1345
+ },
1346
+ {
1347
+ "name": "disabled",
1348
+ "description": "Disables the checkbox.",
1349
+ "value": { "type": "boolean", "default": "false" }
1350
+ },
1351
+ {
1352
+ "name": "indeterminate",
1353
+ "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1354
+ "value": { "type": "boolean", "default": "false" }
1355
+ },
1356
+ {
1357
+ "name": "checked",
1358
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1359
+ "value": { "type": "boolean" }
1360
+ },
1361
+ {
1362
+ "name": "form",
1363
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1364
+ "value": { "type": "null", "default": "null" }
1365
+ },
1366
+ {
1367
+ "name": "required",
1368
+ "description": "Makes the checkbox a required field.",
1369
+ "value": { "type": "boolean", "default": "false" }
1370
+ },
1371
+ {
1372
+ "name": "hint",
1373
+ "description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
1374
+ "value": { "type": "string", "default": "''" }
1375
+ }
1376
+ ],
1377
+ "events": [{ "name": "change", "type": "Event" }],
1378
+ "js": {
1379
+ "properties": [
1380
+ { "name": "input", "type": "HTMLInputElement" },
1381
+ { "name": "title", "type": "string" },
1382
+ {
1383
+ "name": "name",
1384
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1385
+ "type": "string"
1386
+ },
1387
+ {
1388
+ "name": "value",
1389
+ "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1390
+ "type": "string | null"
1391
+ },
1392
+ {
1393
+ "name": "size",
1394
+ "description": "The checkbox's size.",
1395
+ "type": "'small' | 'medium' | 'large'"
1396
+ },
1397
+ {
1398
+ "name": "disabled",
1399
+ "description": "Disables the checkbox.",
1400
+ "type": "boolean"
1401
+ },
1402
+ {
1403
+ "name": "indeterminate",
1404
+ "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1405
+ "type": "boolean"
1406
+ },
1407
+ {
1408
+ "name": "checked",
1409
+ "description": "Draws the checkbox in a checked state.",
1410
+ "type": "boolean"
1411
+ },
1412
+ {
1413
+ "name": "defaultChecked",
1414
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1415
+ "type": "boolean"
1416
+ },
1417
+ {
1418
+ "name": "form",
1419
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
1420
+ "type": "null"
1421
+ },
1422
+ {
1423
+ "name": "required",
1424
+ "description": "Makes the checkbox a required field.",
1425
+ "type": "boolean"
1426
+ },
1427
+ {
1428
+ "name": "hint",
1429
+ "description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
1430
+ "type": "string"
1431
+ }
1432
+ ],
1433
+ "events": [{ "name": "change", "type": "Event" }]
1434
+ }
1435
+ },
1436
+ {
1437
+ "name": "w-checkbox-group",
1438
+ "description": "\n---\n",
1439
+ "doc-url": "",
1440
+ "attributes": [],
1441
+ "events": [],
1442
+ "js": { "properties": [], "events": [] }
1443
+ },
1444
+ {
1445
+ "name": "w-slider-thumb",
1446
+ "description": "Component to place inside a `<w-slider>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)\n---\n\n\n### **Events:**\n - **slidervalidity**",
1447
+ "doc-url": "",
1448
+ "attributes": [
1449
+ { "name": "aria-label", "value": { "type": "string" } },
1450
+ { "name": "aria-description", "value": { "type": "string" } },
1451
+ { "name": "label", "value": { "type": "string" } },
1452
+ { "name": "name", "value": { "type": "string" } },
1453
+ { "name": "value", "value": { "type": "string" } },
1454
+ { "name": "disabled", "value": { "type": "boolean" } },
1455
+ {
1456
+ "name": "invalid",
1457
+ "value": { "type": "boolean", "default": "false" }
1458
+ }
1459
+ ],
1460
+ "events": [{ "name": "slidervalidity", "type": "CustomEvent" }],
1461
+ "js": {
1462
+ "properties": [
1463
+ { "name": "ariaLabel", "type": "string" },
1464
+ { "name": "ariaDescription", "type": "string" },
1465
+ { "name": "label", "type": "string" },
1466
+ { "name": "name", "type": "string" },
1467
+ { "name": "value", "type": "string" },
1468
+ { "name": "disabled", "type": "boolean" },
1469
+ { "name": "invalid", "type": "boolean" },
1470
+ {
1471
+ "name": "allowValuesOutsideRange",
1472
+ "description": "Set by `<w-slider>`",
1473
+ "type": "boolean"
1474
+ },
1475
+ {
1476
+ "name": "markers",
1477
+ "description": "Set by `<w-slider>`",
1478
+ "type": "string"
1479
+ },
1480
+ {
1481
+ "name": "required",
1482
+ "description": "Set by `<w-slider>`",
1483
+ "type": "boolean"
1484
+ },
1485
+ {
1486
+ "name": "step",
1487
+ "description": "Set by `<w-slider>`",
1488
+ "type": "number"
1489
+ },
1490
+ {
1491
+ "name": "min",
1492
+ "description": "Set by `<w-slider>`",
1493
+ "type": "string"
1494
+ },
1495
+ {
1496
+ "name": "max",
1497
+ "description": "Set by `<w-slider>`",
1498
+ "type": "string"
1499
+ },
1500
+ {
1501
+ "name": "suffix",
1502
+ "description": "Set by `<w-slider>`",
1503
+ "type": "string"
1504
+ },
1505
+ {
1506
+ "name": "formatter",
1507
+ "description": "JS hook to help you format the numeric value how you want.",
1508
+ "type": "(value: string, type: 'from' | 'to') => string"
1509
+ },
1510
+ { "name": "range", "type": "HTMLInputElement" },
1511
+ { "name": "textfield", "type": "WarpTextField" },
1512
+ { "name": "boundaryValue", "type": "string" },
1513
+ {
1514
+ "name": "textFieldDisplayValue",
1515
+ "description": "Value to display in the textfield (shows boundary when focused on empty value)"
1516
+ },
1517
+ {
1518
+ "name": "tooltipDisplayValue",
1519
+ "description": "Value to display in the tooltip",
1520
+ "type": "string | number"
1521
+ }
1522
+ ],
1523
+ "events": [{ "name": "slidervalidity", "type": "CustomEvent" }]
1524
+ }
1525
+ },
1526
+ {
1527
+ "name": "w-slider",
1528
+ "description": "Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)\n---\n\n\n### **Slots:**\n - _default_ - For single sliders place a `<w-slider-thumb>` in the default slot.\n- **label** - Label for the slider or range slider as a whole.\n- **description** - Optional description between the label and slider.\n- **from** - Range sliders need to place a `<w-slider-thumb>` in the from and to slots.\n- **to** - Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
1529
+ "doc-url": "",
1530
+ "attributes": [
1531
+ {
1532
+ "name": "label",
1533
+ "description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
1534
+ "value": { "type": "string" }
1535
+ },
1536
+ {
1537
+ "name": "disabled",
1538
+ "value": { "type": "boolean", "default": "false" }
1539
+ },
1540
+ {
1541
+ "name": "allow-values-outside-range",
1542
+ "value": { "type": "boolean", "default": "false" }
1543
+ },
1544
+ { "name": "error", "value": { "type": "string", "default": "''" } },
1545
+ {
1546
+ "name": "help-text",
1547
+ "value": { "type": "string", "default": "''" }
1548
+ },
1549
+ {
1550
+ "name": "invalid",
1551
+ "value": { "type": "boolean", "default": "false" }
1552
+ },
1553
+ {
1554
+ "name": "required",
1555
+ "description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
1556
+ "value": { "type": "boolean", "default": "false" }
1557
+ },
1558
+ { "name": "min", "value": { "type": "string" } },
1559
+ { "name": "max", "value": { "type": "string" } },
1560
+ {
1561
+ "name": "markers",
1562
+ "description": "Pass a value similar to step to create visual markers at that interval",
1563
+ "value": { "type": "number" }
1564
+ },
1565
+ { "name": "step", "value": { "type": "number" } },
1566
+ {
1567
+ "name": "suffix",
1568
+ "description": "Suffix used in text input fields and for the min and max values of the slider.",
1569
+ "value": { "type": "string", "default": "''" }
1570
+ }
1571
+ ],
1572
+ "slots": [
1573
+ {
1574
+ "name": "",
1575
+ "description": "For single sliders place a `<w-slider-thumb>` in the default slot."
1576
+ },
1577
+ {
1578
+ "name": "label",
1579
+ "description": "Label for the slider or range slider as a whole."
1580
+ },
1581
+ {
1582
+ "name": "description",
1583
+ "description": "Optional description between the label and slider."
1584
+ },
1585
+ {
1586
+ "name": "from",
1587
+ "description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots."
1588
+ },
1589
+ {
1590
+ "name": "to",
1591
+ "description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots."
1592
+ }
1593
+ ],
1594
+ "events": [],
1595
+ "js": {
1596
+ "properties": [
1597
+ {
1598
+ "name": "label",
1599
+ "description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
1600
+ "type": "string"
1601
+ },
1602
+ { "name": "disabled", "type": "boolean" },
1603
+ { "name": "allowValuesOutsideRange", "type": "boolean" },
1604
+ { "name": "error", "type": "string" },
1605
+ { "name": "helpText", "type": "string" },
1606
+ { "name": "invalid", "type": "boolean" },
1607
+ {
1608
+ "name": "required",
1609
+ "description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
1610
+ "type": "boolean"
1611
+ },
1612
+ { "name": "min", "type": "string" },
1613
+ { "name": "max", "type": "string" },
1614
+ {
1615
+ "name": "markers",
1616
+ "description": "Pass a value similar to step to create visual markers at that interval",
1617
+ "type": "number"
1618
+ },
1619
+ { "name": "step", "type": "number" },
1620
+ {
1621
+ "name": "suffix",
1622
+ "description": "Suffix used in text input fields and for the min and max values of the slider.",
1623
+ "type": "string"
1624
+ },
1625
+ {
1626
+ "name": "formatter",
1627
+ "description": "Function to format the to- and from labels and value in the slider thumb tooltip.",
1628
+ "type": "(value: string, type: 'to' | 'from') => string"
1629
+ },
1630
+ { "name": "_invalidMessage", "type": "string" },
1631
+ { "name": "_hasInternalError", "type": "boolean" },
1632
+ { "name": "edgeMin" },
1633
+ { "name": "edgeMax" },
1634
+ { "name": "componentHasError", "type": "boolean" },
1635
+ { "name": "errorText", "type": "string" }
1636
+ ],
1637
+ "events": []
1638
+ }
1639
+ },
1640
+ {
1641
+ "name": "w-step-indicator",
1642
+ "description": "Steps are used to show progress through a process or to guide users through a multi-step task.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)\n---\n",
1643
+ "doc-url": "",
1644
+ "attributes": [
1645
+ {
1646
+ "name": "horizontal",
1647
+ "value": { "type": "boolean", "default": "false" }
1648
+ },
1649
+ {
1650
+ "name": "right",
1651
+ "value": { "type": "boolean", "default": "false" }
1652
+ }
1653
+ ],
1654
+ "events": [],
1655
+ "js": {
1656
+ "properties": [
1657
+ { "name": "horizontal", "type": "boolean" },
1658
+ { "name": "right", "type": "boolean" }
1659
+ ],
1660
+ "events": []
1661
+ }
1662
+ },
1663
+ {
1664
+ "name": "w-step",
1665
+ "description": "Individual step component that shows a single step in a process\n---\n",
1666
+ "doc-url": "",
1667
+ "attributes": [
1668
+ {
1669
+ "name": "active",
1670
+ "value": { "type": "boolean", "default": "false" }
1671
+ },
1672
+ {
1673
+ "name": "completed",
1674
+ "value": { "type": "boolean", "default": "false" }
1675
+ }
1676
+ ],
1677
+ "events": [],
1678
+ "js": {
1679
+ "properties": [
1680
+ { "name": "active", "type": "boolean" },
1681
+ { "name": "completed", "type": "boolean" }
1682
+ ],
1683
+ "events": []
1684
+ }
1685
+ },
1686
+ {
1687
+ "name": "w-tab",
1688
+ "description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n",
1689
+ "doc-url": "",
1690
+ "attributes": [
1691
+ { "name": "for", "value": { "type": "string", "default": "''" } },
1692
+ { "name": "label", "value": { "type": "string", "default": "''" } },
1693
+ {
1694
+ "name": "active",
1695
+ "value": { "type": "boolean", "default": "false" }
1696
+ },
1697
+ {
1698
+ "name": "over",
1699
+ "value": { "type": "boolean", "default": "false" }
1700
+ },
1701
+ {
1702
+ "name": "tab-class",
1703
+ "value": { "type": "string", "default": "''" }
1704
+ }
1705
+ ],
1706
+ "events": [],
1707
+ "js": {
1708
+ "properties": [
1709
+ { "name": "for", "type": "string" },
1710
+ { "name": "label", "type": "string" },
1711
+ { "name": "active", "type": "boolean" },
1712
+ { "name": "over", "type": "boolean" },
1713
+ { "name": "tabClass", "type": "string" }
1714
+ ],
1715
+ "events": []
1716
+ }
1717
+ },
1718
+ {
1719
+ "name": "w-tabs",
1720
+ "description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n\n\n### **Events:**\n - **change**",
1721
+ "doc-url": "",
1722
+ "attributes": [
1723
+ {
1724
+ "name": "active",
1725
+ "value": { "type": "string", "default": "''" }
1726
+ },
1727
+ {
1728
+ "name": "tab-class",
1729
+ "value": { "type": "string", "default": "''" }
1730
+ }
1731
+ ],
1732
+ "events": [{ "name": "change", "type": "CustomEvent" }],
1733
+ "js": {
1734
+ "properties": [
1735
+ { "name": "active", "type": "string" },
1736
+ { "name": "tabClass", "type": "string" },
1737
+ { "name": "tabs" },
1738
+ { "name": "activeTab" }
1739
+ ],
1740
+ "events": [{ "name": "change", "type": "CustomEvent" }]
1741
+ }
1742
+ },
1743
+ {
1744
+ "name": "w-textarea",
1745
+ "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)\n---\n",
1746
+ "doc-url": "",
1747
+ "attributes": [
1748
+ { "name": "disabled", "value": { "type": "boolean" } },
1749
+ { "name": "invalid", "value": { "type": "boolean" } },
1750
+ { "name": "label", "value": { "type": "string" } },
1751
+ { "name": "help-text", "value": { "type": "string" } },
1752
+ { "name": "maximum-rows", "value": { "type": "number" } },
1753
+ { "name": "minimum-rows", "value": { "type": "number" } },
1754
+ { "name": "name", "value": { "type": "string" } },
1755
+ { "name": "placeholder", "value": { "type": "string" } },
1756
+ { "name": "read-only", "value": { "type": "boolean" } },
1757
+ { "name": "readonly", "value": { "type": "boolean" } },
1758
+ { "name": "required", "value": { "type": "boolean" } },
1759
+ { "name": "value", "value": { "type": "string" } },
1760
+ { "name": "optional", "value": { "type": "boolean" } }
1761
+ ],
1762
+ "events": [],
1763
+ "js": {
1764
+ "properties": [
1765
+ { "name": "disabled", "type": "boolean" },
1766
+ { "name": "invalid", "type": "boolean" },
1767
+ { "name": "label", "type": "string" },
1768
+ { "name": "helpText", "type": "string" },
1769
+ { "name": "maxRows", "type": "number" },
1770
+ { "name": "minRows", "type": "number" },
1771
+ { "name": "name", "type": "string" },
1772
+ { "name": "placeholder", "type": "string" },
1773
+ { "name": "readOnly", "type": "boolean" },
1774
+ { "name": "readonly", "type": "boolean" },
1775
+ { "name": "required", "type": "boolean" },
1776
+ { "name": "value", "type": "string" },
1777
+ { "name": "optional", "type": "boolean" },
1778
+ { "name": "minHeight" },
1779
+ { "name": "maxHeight" }
1780
+ ],
1781
+ "events": []
1782
+ }
1000
1783
  }
1001
1784
  ]
1002
1785
  },