@warp-ds/elements 2.8.0-next.2 → 2.8.0-next.3

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 (60) hide show
  1. package/dist/custom-elements.json +4097 -3178
  2. package/dist/index.d.ts +1053 -832
  3. package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
  4. package/dist/packages/radio/base-element.d.ts +46 -0
  5. package/dist/packages/radio/base-element.js +100 -0
  6. package/dist/packages/radio/custom-error-validator.d.ts +6 -0
  7. package/dist/packages/radio/custom-error-validator.js +22 -0
  8. package/dist/packages/radio/form-associated-element.d.ts +103 -0
  9. package/dist/packages/radio/form-associated-element.js +282 -0
  10. package/dist/packages/radio/host-styles.d.ts +1 -0
  11. package/dist/packages/radio/host-styles.js +12 -0
  12. package/dist/packages/radio/invalid.d.ts +8 -0
  13. package/dist/packages/radio/invalid.js +5 -0
  14. package/dist/packages/radio/radio-styles.d.ts +1 -0
  15. package/dist/packages/radio/radio-styles.js +148 -0
  16. package/dist/packages/radio/radio.a11y.test.d.ts +2 -0
  17. package/dist/packages/radio/radio.a11y.test.js +81 -0
  18. package/dist/packages/radio/radio.d.ts +53 -0
  19. package/dist/packages/radio/radio.js +2602 -0
  20. package/dist/packages/radio/radio.js.map +7 -0
  21. package/dist/packages/radio/radio.react.stories.d.ts +9 -0
  22. package/dist/packages/radio/radio.react.stories.js +10 -0
  23. package/dist/packages/radio/radio.stories.d.ts +32 -0
  24. package/dist/packages/radio/radio.stories.js +275 -0
  25. package/dist/packages/radio/radio.test.d.ts +1 -0
  26. package/dist/packages/radio/radio.test.js +185 -0
  27. package/dist/packages/radio/react.d.ts +2 -0
  28. package/dist/packages/radio/react.js +11 -0
  29. package/dist/packages/radio/required-validator.d.ts +11 -0
  30. package/dist/packages/radio/required-validator.js +34 -0
  31. package/dist/packages/radio/slot.d.ts +20 -0
  32. package/dist/packages/radio/slot.js +71 -0
  33. package/dist/packages/radio/watch.d.ts +26 -0
  34. package/dist/packages/radio/watch.js +39 -0
  35. package/dist/packages/radio-group/locales/da/messages.d.mts +1 -0
  36. package/dist/packages/radio-group/locales/da/messages.mjs +1 -0
  37. package/dist/packages/radio-group/locales/en/messages.d.mts +1 -0
  38. package/dist/packages/radio-group/locales/en/messages.mjs +1 -0
  39. package/dist/packages/radio-group/locales/fi/messages.d.mts +1 -0
  40. package/dist/packages/radio-group/locales/fi/messages.mjs +1 -0
  41. package/dist/packages/radio-group/locales/nb/messages.d.mts +1 -0
  42. package/dist/packages/radio-group/locales/nb/messages.mjs +1 -0
  43. package/dist/packages/radio-group/locales/sv/messages.d.mts +1 -0
  44. package/dist/packages/radio-group/locales/sv/messages.mjs +1 -0
  45. package/dist/packages/radio-group/radio-group-styles.d.ts +1 -0
  46. package/dist/packages/radio-group/radio-group-styles.js +61 -0
  47. package/dist/packages/radio-group/radio-group.a11y.test.d.ts +2 -0
  48. package/dist/packages/radio-group/radio-group.a11y.test.js +118 -0
  49. package/dist/packages/radio-group/radio-group.d.ts +88 -0
  50. package/dist/packages/radio-group/radio-group.js +2704 -0
  51. package/dist/packages/radio-group/radio-group.js.map +7 -0
  52. package/dist/packages/radio-group/radio-group.test.d.ts +2 -0
  53. package/dist/packages/radio-group/radio-group.test.js +392 -0
  54. package/dist/packages/radio-group/react.d.ts +7 -0
  55. package/dist/packages/radio-group/react.js +17 -0
  56. package/dist/packages/select/select.react.stories.d.ts +1 -1
  57. package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
  58. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  59. package/dist/web-types.json +579 -398
  60. 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.8.0-next.1",
4
+ "version": "2.8.0-next.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -395,6 +395,165 @@
395
395
  "events": []
396
396
  }
397
397
  },
398
+ {
399
+ "name": "w-checkbox",
400
+ "description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the checkbox passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid",
401
+ "doc-url": "",
402
+ "attributes": [
403
+ {
404
+ "name": "name",
405
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
406
+ "value": { "type": "string", "default": "''" }
407
+ },
408
+ {
409
+ "name": "value",
410
+ "description": "The value of the checkbox, submitted as a name/value pair with form data.",
411
+ "value": { "type": "string | null", "default": "null" }
412
+ },
413
+ {
414
+ "name": "indeterminate",
415
+ "description": "Draws the checkbox in an indeterminate state.",
416
+ "value": { "type": "boolean", "default": "false" }
417
+ },
418
+ {
419
+ "name": "checked",
420
+ "description": "Draws the checkbox in a checked state (reflected to attribute).",
421
+ "value": { "type": "boolean", "default": "false" }
422
+ },
423
+ {
424
+ "name": "disabled",
425
+ "description": "Disables the checkbox.",
426
+ "value": { "type": "boolean", "default": "false" }
427
+ },
428
+ {
429
+ "name": "required",
430
+ "description": "Makes the checkbox a required field.",
431
+ "value": { "type": "boolean", "default": "false" }
432
+ },
433
+ {
434
+ "name": "invalid",
435
+ "description": "Draws the checkbox in an invalid state.",
436
+ "value": { "type": "boolean", "default": "false" }
437
+ }
438
+ ],
439
+ "events": [{ "name": "change", "type": "Event" }],
440
+ "js": {
441
+ "properties": [
442
+ { "name": "input", "type": "HTMLInputElement | null" },
443
+ {
444
+ "name": "name",
445
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
446
+ "type": "string"
447
+ },
448
+ {
449
+ "name": "value",
450
+ "description": "The value of the checkbox, submitted as a name/value pair with form data.",
451
+ "type": "string | null"
452
+ },
453
+ {
454
+ "name": "indeterminate",
455
+ "description": "Draws the checkbox in an indeterminate state.",
456
+ "type": "boolean"
457
+ },
458
+ {
459
+ "name": "checked",
460
+ "description": "Draws the checkbox in a checked state (reflected to attribute).",
461
+ "type": "boolean"
462
+ },
463
+ {
464
+ "name": "disabled",
465
+ "description": "Disables the checkbox.",
466
+ "type": "boolean"
467
+ },
468
+ {
469
+ "name": "required",
470
+ "description": "Makes the checkbox a required field.",
471
+ "type": "boolean"
472
+ },
473
+ {
474
+ "name": "invalid",
475
+ "description": "Draws the checkbox in an invalid state.",
476
+ "type": "boolean"
477
+ },
478
+ {
479
+ "name": "validationMessage",
480
+ "description": "Returns the validation message if the checkbox is invalid, otherwise an empty string",
481
+ "type": "string"
482
+ },
483
+ {
484
+ "name": "validity",
485
+ "description": "Returns the validity state of the checkbox",
486
+ "type": "ValidityState"
487
+ }
488
+ ],
489
+ "events": [{ "name": "change", "type": "Event" }]
490
+ }
491
+ },
492
+ {
493
+ "name": "w-checkbox-group",
494
+ "description": "\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the group passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the validation message if invalid\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox group.",
495
+ "doc-url": "",
496
+ "attributes": [
497
+ {
498
+ "name": "label",
499
+ "description": "The group label displayed above the checkboxes.",
500
+ "value": { "type": "string" }
501
+ },
502
+ {
503
+ "name": "name",
504
+ "description": "The name applied to child checkboxes when they do not provide one.",
505
+ "value": { "type": "string" }
506
+ },
507
+ {
508
+ "name": "optional",
509
+ "description": "Whether to show optional text next to the label.",
510
+ "value": { "type": "boolean" }
511
+ },
512
+ { "name": "help-text", "value": { "type": "string" } },
513
+ {
514
+ "name": "required",
515
+ "description": "Makes the checkbox group required.",
516
+ "value": { "type": "boolean" }
517
+ },
518
+ {
519
+ "name": "invalid",
520
+ "description": "Marks the checkbox group as invalid.",
521
+ "value": { "type": "boolean" }
522
+ }
523
+ ],
524
+ "events": [],
525
+ "js": {
526
+ "properties": [
527
+ {
528
+ "name": "label",
529
+ "description": "The group label displayed above the checkboxes.",
530
+ "type": "string"
531
+ },
532
+ {
533
+ "name": "name",
534
+ "description": "The name applied to child checkboxes when they do not provide one.",
535
+ "type": "string"
536
+ },
537
+ {
538
+ "name": "optional",
539
+ "description": "Whether to show optional text next to the label.",
540
+ "type": "boolean"
541
+ },
542
+ { "name": "helpText", "type": "string" },
543
+ {
544
+ "name": "required",
545
+ "description": "Makes the checkbox group required.",
546
+ "type": "boolean"
547
+ },
548
+ {
549
+ "name": "invalid",
550
+ "description": "Marks the checkbox group as invalid.",
551
+ "type": "boolean"
552
+ }
553
+ ],
554
+ "events": []
555
+ }
556
+ },
398
557
  {
399
558
  "name": "w-combobox",
400
559
  "description": "A combobox element for text input with selectable options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)\n---\n",
@@ -891,540 +1050,372 @@
891
1050
  }
892
1051
  },
893
1052
  {
894
- "name": "w-select",
895
- "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)\n---\n",
1053
+ "name": "w-radio",
1054
+ "description": "\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the radio passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid",
896
1055
  "doc-url": "",
897
1056
  "attributes": [
898
1057
  {
899
- "name": "auto-focus",
900
- "description": "Whether the element should receive focus on render.",
901
- "value": { "type": "boolean" }
902
- },
903
- {
904
- "name": "autofocus",
905
- "description": "Whether the element should receive focus on render",
906
- "value": { "type": "boolean" }
907
- },
908
- {
909
- "name": "help-text",
910
- "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
911
- "value": { "type": "string" }
912
- },
913
- {
914
- "name": "invalid",
915
- "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
916
- "value": { "type": "boolean" }
917
- },
918
- {
919
- "name": "always",
920
- "description": "Whether to always show a hint.",
921
- "value": { "type": "boolean" }
922
- },
923
- {
924
- "name": "hint",
925
- "description": "The content displayed as the help text.",
926
- "value": { "type": "string" }
1058
+ "name": "name",
1059
+ "description": "The name of the radio, submitted as a name/value pair with form data.",
1060
+ "value": { "type": "string", "default": "''" }
927
1061
  },
928
1062
  {
929
- "name": "label",
930
- "description": "The content to disply as the label",
931
- "value": { "type": "string" }
1063
+ "name": "value",
1064
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1065
+ "value": { "type": "string | null", "default": "null" }
932
1066
  },
933
1067
  {
934
- "name": "optional",
935
- "description": "Whether to show optional text",
936
- "value": { "type": "boolean" }
1068
+ "name": "checked",
1069
+ "description": "Draws the radio in a checked state (reflected to attribute).",
1070
+ "value": { "type": "boolean", "default": "false" }
937
1071
  },
938
1072
  {
939
1073
  "name": "disabled",
940
- "description": "Renders the field in a disabled state.",
941
- "value": { "type": "boolean" }
1074
+ "description": "Disables the radio.",
1075
+ "value": { "type": "boolean", "default": "false" }
942
1076
  },
943
1077
  {
944
- "name": "read-only",
945
- "description": "Renders the field in a readonly state.",
946
- "value": { "type": "boolean" }
1078
+ "name": "required",
1079
+ "description": "Makes the radio a required field.",
1080
+ "value": { "type": "boolean", "default": "false" }
947
1081
  },
948
1082
  {
949
- "name": "readonly",
950
- "description": "Renders the field in a readonly state.",
951
- "value": { "type": "boolean" }
952
- },
953
- { "name": "name", "value": { "type": "string" } },
954
- { "name": "value", "value": { "type": "string" } }
1083
+ "name": "invalid",
1084
+ "description": "Draws the radio in an invalid state.",
1085
+ "value": { "type": "boolean", "default": "false" }
1086
+ }
955
1087
  ],
956
1088
  "events": [],
957
1089
  "js": {
958
1090
  "properties": [
959
1091
  {
960
- "name": "autoFocus",
961
- "description": "Whether the element should receive focus on render.",
962
- "type": "boolean"
1092
+ "name": "name",
1093
+ "description": "The name of the radio, submitted as a name/value pair with form data.",
1094
+ "type": "string"
963
1095
  },
964
1096
  {
965
- "name": "autofocus",
966
- "description": "Whether the element should receive focus on render",
967
- "type": "boolean"
1097
+ "name": "value",
1098
+ "description": "The radio's value. When selected, the radio group will receive this value.",
1099
+ "type": "string | null"
968
1100
  },
969
1101
  {
970
- "name": "helpText",
971
- "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
972
- "type": "string"
1102
+ "name": "checked",
1103
+ "description": "Draws the radio in a checked state (reflected to attribute).",
1104
+ "type": "boolean"
973
1105
  },
974
1106
  {
975
- "name": "invalid",
976
- "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
1107
+ "name": "disabled",
1108
+ "description": "Disables the radio.",
977
1109
  "type": "boolean"
978
1110
  },
979
1111
  {
980
- "name": "always",
981
- "description": "Whether to always show a hint.",
1112
+ "name": "required",
1113
+ "description": "Makes the radio a required field.",
982
1114
  "type": "boolean"
983
1115
  },
984
1116
  {
985
- "name": "hint",
986
- "description": "The content displayed as the help text.",
987
- "type": "string"
1117
+ "name": "invalid",
1118
+ "description": "Draws the radio in an invalid state.",
1119
+ "type": "boolean"
988
1120
  },
989
1121
  {
990
- "name": "label",
991
- "description": "The content to disply as the label",
1122
+ "name": "validationMessage",
1123
+ "description": "Returns the validation message if the radio is invalid, otherwise an empty string",
992
1124
  "type": "string"
993
1125
  },
994
1126
  {
995
- "name": "optional",
996
- "description": "Whether to show optional text",
997
- "type": "boolean"
998
- },
999
- {
1000
- "name": "disabled",
1001
- "description": "Renders the field in a disabled state.",
1002
- "type": "boolean"
1003
- },
1004
- {
1005
- "name": "readOnly",
1006
- "description": "Renders the field in a readonly state.",
1007
- "type": "boolean"
1008
- },
1009
- {
1010
- "name": "readonly",
1011
- "description": "Renders the field in a readonly state.",
1012
- "type": "boolean"
1013
- },
1014
- { "name": "name", "type": "string" },
1015
- { "name": "value", "type": "string" }
1127
+ "name": "validity",
1128
+ "description": "Returns the validity state of the radio",
1129
+ "type": "ValidityState"
1130
+ }
1016
1131
  ],
1017
1132
  "events": []
1018
1133
  }
1019
1134
  },
1020
1135
  {
1021
- "name": "w-step",
1022
- "description": "Individual step component that shows a single step in a process\n---\n",
1136
+ "name": "w-radio-group",
1137
+ "description": "\n---\n\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.\n- **help-text** - Alternative to the `help-text` attribute should you need custom HTML.",
1023
1138
  "doc-url": "",
1024
1139
  "attributes": [
1025
1140
  {
1026
- "name": "active",
1027
- "value": { "type": "boolean", "default": "false" }
1141
+ "name": "label",
1142
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
1143
+ "value": { "type": "string", "default": "''" }
1028
1144
  },
1029
1145
  {
1030
- "name": "completed",
1031
- "value": { "type": "boolean", "default": "false" }
1032
- }
1033
- ],
1034
- "events": [],
1035
- "js": {
1036
- "properties": [
1037
- { "name": "active", "type": "boolean" },
1038
- { "name": "completed", "type": "boolean" }
1039
- ],
1040
- "events": []
1041
- }
1042
- },
1043
- {
1044
- "name": "w-step-indicator",
1045
- "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",
1046
- "doc-url": "",
1047
- "attributes": [
1146
+ "name": "help-text",
1147
+ "description": "The radio group's help text. If you need to display HTML, use the `help-text` slot instead.",
1148
+ "value": { "type": "string", "default": "''" }
1149
+ },
1048
1150
  {
1049
- "name": "horizontal",
1151
+ "name": "optional",
1152
+ "description": "Optional indicator for the label.",
1050
1153
  "value": { "type": "boolean", "default": "false" }
1051
1154
  },
1052
1155
  {
1053
- "name": "right",
1156
+ "name": "invalid",
1157
+ "description": "Marks the radio group as invalid.",
1054
1158
  "value": { "type": "boolean", "default": "false" }
1055
- }
1056
- ],
1057
- "events": [],
1058
- "js": {
1059
- "properties": [
1060
- { "name": "horizontal", "type": "boolean" },
1061
- { "name": "right", "type": "boolean" }
1062
- ],
1063
- "events": []
1064
- }
1065
- },
1066
- {
1067
- "name": "w-switch",
1068
- "description": "\n---\n\n\n### **Events:**\n - **change**",
1069
- "doc-url": "",
1070
- "attributes": [
1071
- { "name": "name", "value": { "type": "string", "default": "''" } },
1072
- { "name": "value", "value": { "type": "string", "default": "''" } },
1159
+ },
1073
1160
  {
1074
- "name": "checked",
1075
- "value": { "type": "boolean", "default": "false" }
1161
+ "name": "name",
1162
+ "description": "The name of the radio group",
1163
+ "value": { "type": "string | null", "default": "null" }
1076
1164
  },
1077
1165
  {
1078
1166
  "name": "disabled",
1079
- "value": { "type": "boolean", "default": "false" }
1080
- }
1081
- ],
1082
- "events": [{ "name": "change", "type": "CustomEvent" }],
1083
- "js": {
1084
- "properties": [
1085
- { "name": "name", "type": "string" },
1086
- { "name": "value", "type": "string" },
1087
- { "name": "checked", "type": "boolean" },
1088
- { "name": "disabled", "type": "boolean" }
1089
- ],
1090
- "events": [{ "name": "change", "type": "CustomEvent" }]
1091
- }
1092
- },
1093
- {
1094
- "name": "w-tab",
1095
- "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",
1096
- "doc-url": "",
1097
- "attributes": [
1098
- { "name": "for", "value": { "type": "string", "default": "''" } },
1099
- {
1100
- "name": "active",
1167
+ "description": "Disables the radio group and all child radios.",
1101
1168
  "value": { "type": "boolean", "default": "false" }
1102
1169
  },
1103
1170
  {
1104
- "name": "over",
1171
+ "name": "required",
1172
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
1105
1173
  "value": { "type": "boolean", "default": "false" }
1106
1174
  }
1107
1175
  ],
1108
- "events": [],
1109
- "js": {
1110
- "properties": [
1111
- { "name": "for", "type": "string" },
1112
- { "name": "active", "type": "boolean" },
1113
- { "name": "over", "type": "boolean" }
1114
- ],
1115
- "events": []
1116
- }
1117
- },
1118
- {
1119
- "name": "w-tab-panel",
1120
- "description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n",
1121
- "doc-url": "",
1122
- "attributes": [
1176
+ "slots": [
1123
1177
  {
1124
- "name": "hidden",
1125
- "value": { "type": "boolean", "default": "true" }
1178
+ "name": "label",
1179
+ "description": "Alternative to the `label` attribute should you need custom HTML."
1180
+ },
1181
+ {
1182
+ "name": "help-text",
1183
+ "description": "Alternative to the `help-text` attribute should you need custom HTML."
1126
1184
  }
1127
1185
  ],
1128
1186
  "events": [],
1129
- "js": {
1130
- "properties": [{ "name": "hidden", "type": "boolean" }],
1131
- "events": []
1132
- }
1133
- },
1134
- {
1135
- "name": "w-tabs",
1136
- "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**",
1137
- "doc-url": "",
1138
- "attributes": [
1139
- { "name": "active", "value": { "type": "string", "default": "''" } }
1140
- ],
1141
- "events": [{ "name": "change", "type": "CustomEvent" }],
1142
1187
  "js": {
1143
1188
  "properties": [
1144
- { "name": "active", "type": "string" },
1145
- { "name": "tabs" },
1146
- { "name": "activeTab" }
1147
- ],
1148
- "events": [{ "name": "change", "type": "CustomEvent" }]
1149
- }
1150
- },
1151
- {
1152
- "name": "w-textarea",
1153
- "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\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the textarea passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid\n- **setCustomValidity(message: _string_): _void_** - Sets a custom validation message. Pass an empty string to clear.",
1154
- "doc-url": "",
1155
- "attributes": [
1156
- { "name": "disabled", "value": { "type": "boolean" } },
1157
- { "name": "invalid", "value": { "type": "boolean" } },
1158
- { "name": "label", "value": { "type": "string" } },
1159
- { "name": "help-text", "value": { "type": "string" } },
1160
- { "name": "maximum-rows", "value": { "type": "number" } },
1161
- { "name": "minimum-rows", "value": { "type": "number" } },
1162
- { "name": "name", "value": { "type": "string" } },
1163
- { "name": "placeholder", "value": { "type": "string" } },
1164
- { "name": "read-only", "value": { "type": "boolean" } },
1165
- { "name": "readonly", "value": { "type": "boolean" } },
1166
- { "name": "required", "value": { "type": "boolean" } },
1167
- { "name": "value", "value": { "type": "string" } },
1168
- { "name": "optional", "value": { "type": "boolean" } }
1169
- ],
1170
- "events": [],
1171
- "js": {
1172
- "properties": [
1173
- { "name": "disabled", "type": "boolean" },
1174
- { "name": "invalid", "type": "boolean" },
1175
- { "name": "label", "type": "string" },
1176
- { "name": "helpText", "type": "string" },
1177
- { "name": "maxRows", "type": "number" },
1178
- { "name": "minRows", "type": "number" },
1179
- { "name": "name", "type": "string" },
1180
- { "name": "placeholder", "type": "string" },
1181
- { "name": "readOnly", "type": "boolean" },
1182
- { "name": "readonly", "type": "boolean" },
1183
- { "name": "required", "type": "boolean" },
1184
- { "name": "value", "type": "string" },
1185
- { "name": "optional", "type": "boolean" },
1186
- { "name": "minHeight" },
1187
- { "name": "maxHeight" },
1189
+ { "name": "hasInteracted", "type": "boolean" },
1188
1190
  {
1189
- "name": "validationMessage",
1190
- "description": "Returns the validation message if the textarea is invalid, otherwise an empty string",
1191
+ "name": "label",
1192
+ "description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
1191
1193
  "type": "string"
1192
1194
  },
1193
1195
  {
1194
- "name": "validity",
1195
- "description": "Returns the validity state of the textarea",
1196
- "type": "ValidityState"
1196
+ "name": "helpText",
1197
+ "description": "The radio group's help text. If you need to display HTML, use the `help-text` slot instead.",
1198
+ "type": "string"
1199
+ },
1200
+ {
1201
+ "name": "optional",
1202
+ "description": "Optional indicator for the label.",
1203
+ "type": "boolean"
1204
+ },
1205
+ {
1206
+ "name": "invalid",
1207
+ "description": "Marks the radio group as invalid.",
1208
+ "type": "boolean"
1209
+ },
1210
+ {
1211
+ "name": "name",
1212
+ "description": "The name of the radio group",
1213
+ "type": "string | null"
1214
+ },
1215
+ {
1216
+ "name": "disabled",
1217
+ "description": "Disables the radio group and all child radios.",
1218
+ "type": "boolean"
1219
+ },
1220
+ {
1221
+ "name": "required",
1222
+ "description": "Ensures a child radio is checked before allowing the containing form to submit.",
1223
+ "type": "boolean"
1224
+ },
1225
+ {
1226
+ "name": "validationTarget",
1227
+ "description": "We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on\nthe first radio element."
1197
1228
  }
1198
1229
  ],
1199
1230
  "events": []
1200
1231
  }
1201
1232
  },
1202
1233
  {
1203
- "name": "w-textfield",
1204
- "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",
1234
+ "name": "w-select",
1235
+ "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)\n---\n",
1205
1236
  "doc-url": "",
1206
1237
  "attributes": [
1207
- { "name": "disabled", "value": { "type": "boolean" } },
1208
- { "name": "invalid", "value": { "type": "boolean" } },
1209
- { "name": "id", "value": { "type": "string" } },
1210
- { "name": "label", "value": { "type": "string" } },
1211
- { "name": "help-text", "value": { "type": "string" } },
1212
- { "name": "size", "value": { "type": "string" } },
1213
- { "name": "max", "value": { "type": "number" } },
1214
- { "name": "min", "value": { "type": "number" } },
1215
- { "name": "min-length", "value": { "type": "number" } },
1216
- { "name": "max-length", "value": { "type": "number" } },
1217
- { "name": "pattern", "value": { "type": "string" } },
1218
- { "name": "placeholder", "value": { "type": "string" } },
1219
- { "name": "read-only", "value": { "type": "boolean" } },
1220
- { "name": "readonly", "value": { "type": "boolean" } },
1221
- { "name": "required", "value": { "type": "boolean" } },
1222
1238
  {
1223
- "name": "type",
1224
- "value": { "type": "string", "default": "'text'" }
1239
+ "name": "auto-focus",
1240
+ "description": "Whether the element should receive focus on render.",
1241
+ "value": { "type": "boolean" }
1225
1242
  },
1226
- { "name": "value", "value": { "type": "string" } },
1227
- { "name": "name", "value": { "type": "string" } },
1228
- { "name": "step", "value": { "type": "number" } },
1229
1243
  {
1230
- "name": "autocomplete",
1231
- "value": { "type": "string | undefined" }
1232
- }
1233
- ],
1234
- "events": [],
1235
- "js": {
1236
- "properties": [
1237
- { "name": "disabled", "type": "boolean" },
1238
- { "name": "invalid", "type": "boolean" },
1239
- { "name": "id", "type": "string" },
1240
- { "name": "label", "type": "string" },
1241
- { "name": "helpText", "type": "string" },
1242
- { "name": "size", "type": "string" },
1243
- { "name": "max", "type": "number" },
1244
- { "name": "min", "type": "number" },
1245
- { "name": "minLength", "type": "number" },
1246
- { "name": "maxLength", "type": "number" },
1247
- { "name": "pattern", "type": "string" },
1248
- { "name": "placeholder", "type": "string" },
1249
- { "name": "readOnly", "type": "boolean" },
1250
- { "name": "readonly", "type": "boolean" },
1251
- { "name": "required", "type": "boolean" },
1252
- { "name": "type", "type": "string" },
1253
- { "name": "value", "type": "string" },
1254
- { "name": "name", "type": "string" },
1255
- { "name": "step", "type": "number" },
1256
- { "name": "autocomplete", "type": "string | undefined" },
1257
- {
1258
- "name": "formatter",
1259
- "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html",
1260
- "type": "(value: string) => string"
1261
- }
1262
- ],
1263
- "events": []
1264
- }
1265
- },
1266
- {
1267
- "name": "w-toast-container",
1268
- "description": "\n---\n",
1269
- "doc-url": "",
1270
- "attributes": [],
1271
- "events": [],
1272
- "js": { "properties": [], "events": [] }
1273
- },
1274
- {
1275
- "name": "w-checkbox",
1276
- "description": "\n---\n\n\n### **Events:**\n - **change**\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the checkbox passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid",
1277
- "doc-url": "",
1278
- "attributes": [
1244
+ "name": "autofocus",
1245
+ "description": "Whether the element should receive focus on render",
1246
+ "value": { "type": "boolean" }
1247
+ },
1279
1248
  {
1280
- "name": "name",
1281
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1282
- "value": { "type": "string", "default": "''" }
1249
+ "name": "help-text",
1250
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
1251
+ "value": { "type": "string" }
1283
1252
  },
1284
1253
  {
1285
- "name": "value",
1286
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1287
- "value": { "type": "string | null", "default": "null" }
1254
+ "name": "invalid",
1255
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
1256
+ "value": { "type": "boolean" }
1288
1257
  },
1289
1258
  {
1290
- "name": "indeterminate",
1291
- "description": "Draws the checkbox in an indeterminate state.",
1292
- "value": { "type": "boolean", "default": "false" }
1259
+ "name": "always",
1260
+ "description": "Whether to always show a hint.",
1261
+ "value": { "type": "boolean" }
1293
1262
  },
1294
1263
  {
1295
- "name": "checked",
1296
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
1297
- "value": { "type": "boolean", "default": "false" }
1264
+ "name": "hint",
1265
+ "description": "The content displayed as the help text.",
1266
+ "value": { "type": "string" }
1267
+ },
1268
+ {
1269
+ "name": "label",
1270
+ "description": "The content to disply as the label",
1271
+ "value": { "type": "string" }
1272
+ },
1273
+ {
1274
+ "name": "optional",
1275
+ "description": "Whether to show optional text",
1276
+ "value": { "type": "boolean" }
1298
1277
  },
1299
1278
  {
1300
1279
  "name": "disabled",
1301
- "description": "Disables the checkbox.",
1302
- "value": { "type": "boolean", "default": "false" }
1280
+ "description": "Renders the field in a disabled state.",
1281
+ "value": { "type": "boolean" }
1303
1282
  },
1304
1283
  {
1305
- "name": "required",
1306
- "description": "Makes the checkbox a required field.",
1307
- "value": { "type": "boolean", "default": "false" }
1284
+ "name": "read-only",
1285
+ "description": "Renders the field in a readonly state.",
1286
+ "value": { "type": "boolean" }
1308
1287
  },
1309
1288
  {
1310
- "name": "invalid",
1311
- "description": "Draws the checkbox in an invalid state.",
1312
- "value": { "type": "boolean", "default": "false" }
1313
- }
1289
+ "name": "readonly",
1290
+ "description": "Renders the field in a readonly state.",
1291
+ "value": { "type": "boolean" }
1292
+ },
1293
+ { "name": "name", "value": { "type": "string" } },
1294
+ { "name": "value", "value": { "type": "string" } }
1314
1295
  ],
1315
- "events": [{ "name": "change", "type": "Event" }],
1296
+ "events": [],
1316
1297
  "js": {
1317
1298
  "properties": [
1318
- { "name": "input", "type": "HTMLInputElement | null" },
1319
1299
  {
1320
- "name": "name",
1321
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1322
- "type": "string"
1300
+ "name": "autoFocus",
1301
+ "description": "Whether the element should receive focus on render.",
1302
+ "type": "boolean"
1323
1303
  },
1324
1304
  {
1325
- "name": "value",
1326
- "description": "The value of the checkbox, submitted as a name/value pair with form data.",
1327
- "type": "string | null"
1305
+ "name": "autofocus",
1306
+ "description": "Whether the element should receive focus on render",
1307
+ "type": "boolean"
1328
1308
  },
1329
1309
  {
1330
- "name": "indeterminate",
1331
- "description": "Draws the checkbox in an indeterminate state.",
1332
- "type": "boolean"
1310
+ "name": "helpText",
1311
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
1312
+ "type": "string"
1333
1313
  },
1334
1314
  {
1335
- "name": "checked",
1336
- "description": "Draws the checkbox in a checked state (reflected to attribute).",
1315
+ "name": "invalid",
1316
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
1337
1317
  "type": "boolean"
1338
1318
  },
1339
1319
  {
1340
- "name": "disabled",
1341
- "description": "Disables the checkbox.",
1320
+ "name": "always",
1321
+ "description": "Whether to always show a hint.",
1342
1322
  "type": "boolean"
1343
1323
  },
1344
1324
  {
1345
- "name": "required",
1346
- "description": "Makes the checkbox a required field.",
1325
+ "name": "hint",
1326
+ "description": "The content displayed as the help text.",
1327
+ "type": "string"
1328
+ },
1329
+ {
1330
+ "name": "label",
1331
+ "description": "The content to disply as the label",
1332
+ "type": "string"
1333
+ },
1334
+ {
1335
+ "name": "optional",
1336
+ "description": "Whether to show optional text",
1347
1337
  "type": "boolean"
1348
1338
  },
1349
1339
  {
1350
- "name": "invalid",
1351
- "description": "Draws the checkbox in an invalid state.",
1340
+ "name": "disabled",
1341
+ "description": "Renders the field in a disabled state.",
1352
1342
  "type": "boolean"
1353
1343
  },
1354
1344
  {
1355
- "name": "validationMessage",
1356
- "description": "Returns the validation message if the checkbox is invalid, otherwise an empty string",
1357
- "type": "string"
1345
+ "name": "readOnly",
1346
+ "description": "Renders the field in a readonly state.",
1347
+ "type": "boolean"
1358
1348
  },
1359
1349
  {
1360
- "name": "validity",
1361
- "description": "Returns the validity state of the checkbox",
1362
- "type": "ValidityState"
1363
- }
1350
+ "name": "readonly",
1351
+ "description": "Renders the field in a readonly state.",
1352
+ "type": "boolean"
1353
+ },
1354
+ { "name": "name", "type": "string" },
1355
+ { "name": "value", "type": "string" }
1364
1356
  ],
1365
- "events": [{ "name": "change", "type": "Event" }]
1357
+ "events": []
1366
1358
  }
1367
1359
  },
1368
1360
  {
1369
- "name": "w-checkbox-group",
1370
- "description": "\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the group passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the validation message if invalid\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox group.",
1361
+ "name": "w-textfield",
1362
+ "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",
1371
1363
  "doc-url": "",
1372
1364
  "attributes": [
1373
- {
1374
- "name": "label",
1375
- "description": "The group label displayed above the checkboxes.",
1376
- "value": { "type": "string" }
1377
- },
1378
- {
1379
- "name": "name",
1380
- "description": "The name applied to child checkboxes when they do not provide one.",
1381
- "value": { "type": "string" }
1382
- },
1383
- {
1384
- "name": "optional",
1385
- "description": "Whether to show optional text next to the label.",
1386
- "value": { "type": "boolean" }
1387
- },
1365
+ { "name": "disabled", "value": { "type": "boolean" } },
1366
+ { "name": "invalid", "value": { "type": "boolean" } },
1367
+ { "name": "id", "value": { "type": "string" } },
1368
+ { "name": "label", "value": { "type": "string" } },
1388
1369
  { "name": "help-text", "value": { "type": "string" } },
1370
+ { "name": "size", "value": { "type": "string" } },
1371
+ { "name": "max", "value": { "type": "number" } },
1372
+ { "name": "min", "value": { "type": "number" } },
1373
+ { "name": "min-length", "value": { "type": "number" } },
1374
+ { "name": "max-length", "value": { "type": "number" } },
1375
+ { "name": "pattern", "value": { "type": "string" } },
1376
+ { "name": "placeholder", "value": { "type": "string" } },
1377
+ { "name": "read-only", "value": { "type": "boolean" } },
1378
+ { "name": "readonly", "value": { "type": "boolean" } },
1379
+ { "name": "required", "value": { "type": "boolean" } },
1389
1380
  {
1390
- "name": "required",
1391
- "description": "Makes the checkbox group required.",
1392
- "value": { "type": "boolean" }
1381
+ "name": "type",
1382
+ "value": { "type": "string", "default": "'text'" }
1393
1383
  },
1384
+ { "name": "value", "value": { "type": "string" } },
1385
+ { "name": "name", "value": { "type": "string" } },
1386
+ { "name": "step", "value": { "type": "number" } },
1394
1387
  {
1395
- "name": "invalid",
1396
- "description": "Marks the checkbox group as invalid.",
1397
- "value": { "type": "boolean" }
1388
+ "name": "autocomplete",
1389
+ "value": { "type": "string | undefined" }
1398
1390
  }
1399
1391
  ],
1400
1392
  "events": [],
1401
1393
  "js": {
1402
1394
  "properties": [
1403
- {
1404
- "name": "label",
1405
- "description": "The group label displayed above the checkboxes.",
1406
- "type": "string"
1407
- },
1408
- {
1409
- "name": "name",
1410
- "description": "The name applied to child checkboxes when they do not provide one.",
1411
- "type": "string"
1412
- },
1413
- {
1414
- "name": "optional",
1415
- "description": "Whether to show optional text next to the label.",
1416
- "type": "boolean"
1417
- },
1395
+ { "name": "disabled", "type": "boolean" },
1396
+ { "name": "invalid", "type": "boolean" },
1397
+ { "name": "id", "type": "string" },
1398
+ { "name": "label", "type": "string" },
1418
1399
  { "name": "helpText", "type": "string" },
1400
+ { "name": "size", "type": "string" },
1401
+ { "name": "max", "type": "number" },
1402
+ { "name": "min", "type": "number" },
1403
+ { "name": "minLength", "type": "number" },
1404
+ { "name": "maxLength", "type": "number" },
1405
+ { "name": "pattern", "type": "string" },
1406
+ { "name": "placeholder", "type": "string" },
1407
+ { "name": "readOnly", "type": "boolean" },
1408
+ { "name": "readonly", "type": "boolean" },
1409
+ { "name": "required", "type": "boolean" },
1410
+ { "name": "type", "type": "string" },
1411
+ { "name": "value", "type": "string" },
1412
+ { "name": "name", "type": "string" },
1413
+ { "name": "step", "type": "number" },
1414
+ { "name": "autocomplete", "type": "string | undefined" },
1419
1415
  {
1420
- "name": "required",
1421
- "description": "Makes the checkbox group required.",
1422
- "type": "boolean"
1423
- },
1424
- {
1425
- "name": "invalid",
1426
- "description": "Marks the checkbox group as invalid.",
1427
- "type": "boolean"
1416
+ "name": "formatter",
1417
+ "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html",
1418
+ "type": "(value: string) => string"
1428
1419
  }
1429
1420
  ],
1430
1421
  "events": []
@@ -1602,6 +1593,196 @@
1602
1593
  ],
1603
1594
  "events": []
1604
1595
  }
1596
+ },
1597
+ {
1598
+ "name": "w-step",
1599
+ "description": "Individual step component that shows a single step in a process\n---\n",
1600
+ "doc-url": "",
1601
+ "attributes": [
1602
+ {
1603
+ "name": "active",
1604
+ "value": { "type": "boolean", "default": "false" }
1605
+ },
1606
+ {
1607
+ "name": "completed",
1608
+ "value": { "type": "boolean", "default": "false" }
1609
+ }
1610
+ ],
1611
+ "events": [],
1612
+ "js": {
1613
+ "properties": [
1614
+ { "name": "active", "type": "boolean" },
1615
+ { "name": "completed", "type": "boolean" }
1616
+ ],
1617
+ "events": []
1618
+ }
1619
+ },
1620
+ {
1621
+ "name": "w-step-indicator",
1622
+ "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",
1623
+ "doc-url": "",
1624
+ "attributes": [
1625
+ {
1626
+ "name": "horizontal",
1627
+ "value": { "type": "boolean", "default": "false" }
1628
+ },
1629
+ {
1630
+ "name": "right",
1631
+ "value": { "type": "boolean", "default": "false" }
1632
+ }
1633
+ ],
1634
+ "events": [],
1635
+ "js": {
1636
+ "properties": [
1637
+ { "name": "horizontal", "type": "boolean" },
1638
+ { "name": "right", "type": "boolean" }
1639
+ ],
1640
+ "events": []
1641
+ }
1642
+ },
1643
+ {
1644
+ "name": "w-switch",
1645
+ "description": "\n---\n\n\n### **Events:**\n - **change**",
1646
+ "doc-url": "",
1647
+ "attributes": [
1648
+ { "name": "name", "value": { "type": "string", "default": "''" } },
1649
+ { "name": "value", "value": { "type": "string", "default": "''" } },
1650
+ {
1651
+ "name": "checked",
1652
+ "value": { "type": "boolean", "default": "false" }
1653
+ },
1654
+ {
1655
+ "name": "disabled",
1656
+ "value": { "type": "boolean", "default": "false" }
1657
+ }
1658
+ ],
1659
+ "events": [{ "name": "change", "type": "CustomEvent" }],
1660
+ "js": {
1661
+ "properties": [
1662
+ { "name": "name", "type": "string" },
1663
+ { "name": "value", "type": "string" },
1664
+ { "name": "checked", "type": "boolean" },
1665
+ { "name": "disabled", "type": "boolean" }
1666
+ ],
1667
+ "events": [{ "name": "change", "type": "CustomEvent" }]
1668
+ }
1669
+ },
1670
+ {
1671
+ "name": "w-tab",
1672
+ "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",
1673
+ "doc-url": "",
1674
+ "attributes": [
1675
+ { "name": "for", "value": { "type": "string", "default": "''" } },
1676
+ {
1677
+ "name": "active",
1678
+ "value": { "type": "boolean", "default": "false" }
1679
+ },
1680
+ {
1681
+ "name": "over",
1682
+ "value": { "type": "boolean", "default": "false" }
1683
+ }
1684
+ ],
1685
+ "events": [],
1686
+ "js": {
1687
+ "properties": [
1688
+ { "name": "for", "type": "string" },
1689
+ { "name": "active", "type": "boolean" },
1690
+ { "name": "over", "type": "boolean" }
1691
+ ],
1692
+ "events": []
1693
+ }
1694
+ },
1695
+ {
1696
+ "name": "w-tab-panel",
1697
+ "description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n",
1698
+ "doc-url": "",
1699
+ "attributes": [
1700
+ {
1701
+ "name": "hidden",
1702
+ "value": { "type": "boolean", "default": "true" }
1703
+ }
1704
+ ],
1705
+ "events": [],
1706
+ "js": {
1707
+ "properties": [{ "name": "hidden", "type": "boolean" }],
1708
+ "events": []
1709
+ }
1710
+ },
1711
+ {
1712
+ "name": "w-tabs",
1713
+ "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**",
1714
+ "doc-url": "",
1715
+ "attributes": [
1716
+ { "name": "active", "value": { "type": "string", "default": "''" } }
1717
+ ],
1718
+ "events": [{ "name": "change", "type": "CustomEvent" }],
1719
+ "js": {
1720
+ "properties": [
1721
+ { "name": "active", "type": "string" },
1722
+ { "name": "tabs" },
1723
+ { "name": "activeTab" }
1724
+ ],
1725
+ "events": [{ "name": "change", "type": "CustomEvent" }]
1726
+ }
1727
+ },
1728
+ {
1729
+ "name": "w-textarea",
1730
+ "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\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the textarea passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid\n- **setCustomValidity(message: _string_): _void_** - Sets a custom validation message. Pass an empty string to clear.",
1731
+ "doc-url": "",
1732
+ "attributes": [
1733
+ { "name": "disabled", "value": { "type": "boolean" } },
1734
+ { "name": "invalid", "value": { "type": "boolean" } },
1735
+ { "name": "label", "value": { "type": "string" } },
1736
+ { "name": "help-text", "value": { "type": "string" } },
1737
+ { "name": "maximum-rows", "value": { "type": "number" } },
1738
+ { "name": "minimum-rows", "value": { "type": "number" } },
1739
+ { "name": "name", "value": { "type": "string" } },
1740
+ { "name": "placeholder", "value": { "type": "string" } },
1741
+ { "name": "read-only", "value": { "type": "boolean" } },
1742
+ { "name": "readonly", "value": { "type": "boolean" } },
1743
+ { "name": "required", "value": { "type": "boolean" } },
1744
+ { "name": "value", "value": { "type": "string" } },
1745
+ { "name": "optional", "value": { "type": "boolean" } }
1746
+ ],
1747
+ "events": [],
1748
+ "js": {
1749
+ "properties": [
1750
+ { "name": "disabled", "type": "boolean" },
1751
+ { "name": "invalid", "type": "boolean" },
1752
+ { "name": "label", "type": "string" },
1753
+ { "name": "helpText", "type": "string" },
1754
+ { "name": "maxRows", "type": "number" },
1755
+ { "name": "minRows", "type": "number" },
1756
+ { "name": "name", "type": "string" },
1757
+ { "name": "placeholder", "type": "string" },
1758
+ { "name": "readOnly", "type": "boolean" },
1759
+ { "name": "readonly", "type": "boolean" },
1760
+ { "name": "required", "type": "boolean" },
1761
+ { "name": "value", "type": "string" },
1762
+ { "name": "optional", "type": "boolean" },
1763
+ { "name": "minHeight" },
1764
+ { "name": "maxHeight" },
1765
+ {
1766
+ "name": "validationMessage",
1767
+ "description": "Returns the validation message if the textarea is invalid, otherwise an empty string",
1768
+ "type": "string"
1769
+ },
1770
+ {
1771
+ "name": "validity",
1772
+ "description": "Returns the validity state of the textarea",
1773
+ "type": "ValidityState"
1774
+ }
1775
+ ],
1776
+ "events": []
1777
+ }
1778
+ },
1779
+ {
1780
+ "name": "w-toast-container",
1781
+ "description": "\n---\n",
1782
+ "doc-url": "",
1783
+ "attributes": [],
1784
+ "events": [],
1785
+ "js": { "properties": [], "events": [] }
1605
1786
  }
1606
1787
  ]
1607
1788
  },