@warp-ds/elements 2.3.0-next.3 → 2.3.0-next.30

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 (245) hide show
  1. package/dist/custom-elements.json +1139 -144
  2. package/dist/index.d.ts +413 -34
  3. package/dist/packages/affix/index.js.map +2 -2
  4. package/dist/packages/affix/react.d.ts +1 -1
  5. package/dist/packages/alert/index.js.map +2 -2
  6. package/dist/packages/alert/react.d.ts +1 -1
  7. package/dist/packages/attention/attention.stories.js +4 -1
  8. package/dist/packages/attention/index.js +58 -22
  9. package/dist/packages/attention/index.js.map +3 -3
  10. package/dist/packages/attention/react.d.ts +1 -1
  11. package/dist/packages/attention/styles.js +1 -1
  12. package/dist/packages/badge/index.js.map +2 -2
  13. package/dist/packages/badge/react.d.ts +1 -1
  14. package/dist/packages/box/index.js.map +2 -2
  15. package/dist/packages/box/react.d.ts +1 -1
  16. package/dist/packages/breadcrumbs/index.js.map +2 -2
  17. package/dist/packages/breadcrumbs/react.d.ts +1 -1
  18. package/dist/packages/button/button.react.stories.d.ts +1 -1
  19. package/dist/packages/button/button.stories.d.ts +4 -4
  20. package/dist/packages/button/button.stories.js +4 -4
  21. package/dist/packages/button/button.test.js +30 -1
  22. package/dist/packages/button/index.d.ts +2 -0
  23. package/dist/packages/button/index.js +52 -16
  24. package/dist/packages/button/index.js.map +3 -3
  25. package/dist/packages/button/react.d.ts +1 -1
  26. package/dist/packages/card/index.js.map +2 -2
  27. package/dist/packages/card/react.d.ts +1 -1
  28. package/dist/packages/checkbox/checkbox-group.d.ts +10 -0
  29. package/dist/packages/checkbox/checkbox-group.js +7 -0
  30. package/dist/packages/checkbox/checkbox-group.js.map +7 -0
  31. package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.d.ts +2 -2
  32. package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.js +3 -4
  33. package/dist/packages/checkbox/checkbox.js.map +7 -0
  34. package/dist/packages/{rip-and-tear-checkbox → checkbox}/checkbox.stories.d.ts +3 -0
  35. package/dist/packages/checkbox/checkbox.stories.js +25 -0
  36. package/dist/packages/checkbox/index.d.ts +2 -0
  37. package/dist/packages/checkbox/index.js +2 -0
  38. package/dist/packages/checkbox/react.d.ts +7 -0
  39. package/dist/packages/{rip-and-tear-checkbox → checkbox}/react.js +5 -0
  40. package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
  41. package/dist/packages/combobox/combobox.stories.d.ts +1 -0
  42. package/dist/packages/combobox/combobox.stories.js +29 -3
  43. package/dist/packages/combobox/index.d.ts +7 -1
  44. package/dist/packages/combobox/index.js +20 -19
  45. package/dist/packages/combobox/index.js.map +4 -4
  46. package/dist/packages/combobox/react.d.ts +1 -1
  47. package/dist/packages/combobox/styles.js +2 -1
  48. package/dist/packages/datepicker/datepicker.d.ts +1 -0
  49. package/dist/packages/datepicker/datepicker.js +35 -35
  50. package/dist/packages/datepicker/datepicker.js.map +3 -3
  51. package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
  52. package/dist/packages/datepicker/datepicker.test.js +27 -0
  53. package/dist/packages/datepicker/react.d.ts +1 -1
  54. package/dist/packages/{dead-toggle → deadtoggle}/index.js +2 -3
  55. package/dist/packages/deadtoggle/index.js.map +7 -0
  56. package/dist/packages/{dead-toggle → deadtoggle}/react.d.ts +1 -1
  57. package/dist/packages/expandable/index.js.map +2 -2
  58. package/dist/packages/expandable/react.d.ts +1 -1
  59. package/dist/packages/link/index.d.ts +2 -8
  60. package/dist/packages/link/index.js +46 -10
  61. package/dist/packages/link/index.js.map +4 -4
  62. package/dist/packages/link/link.react.stories.d.ts +6 -3
  63. package/dist/packages/link/link.react.stories.js +27 -10
  64. package/dist/packages/link/link.stories.d.ts +5 -2
  65. package/dist/packages/link/link.stories.js +27 -10
  66. package/dist/packages/link/react.d.ts +1 -1
  67. package/dist/packages/link/styles.js +39 -3
  68. package/dist/packages/modal/index.js.map +2 -2
  69. package/dist/packages/modal/modal-header.js.map +2 -2
  70. package/dist/packages/modal/modal.stories.d.ts +3 -3
  71. package/dist/packages/modal/modal.stories.js +32 -32
  72. package/dist/packages/modal/react.d.ts +1 -1
  73. package/dist/packages/pageindicator/react.d.ts +1 -1
  74. package/dist/packages/pagination/index.js.map +2 -2
  75. package/dist/packages/pagination/react.d.ts +1 -1
  76. package/dist/packages/pill/index.js.map +2 -2
  77. package/dist/packages/pill/react.d.ts +1 -1
  78. package/dist/packages/radio/index.d.ts +2 -0
  79. package/dist/packages/radio/index.js +2 -0
  80. package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.js.map +1 -1
  81. package/dist/packages/{rip-and-tear-radio → radio}/radio-group.js +7 -8
  82. package/dist/packages/radio/radio-group.js.map +7 -0
  83. package/dist/packages/{rip-and-tear-radio → radio}/radio.js +3 -4
  84. package/dist/packages/radio/radio.js.map +7 -0
  85. package/dist/packages/radio/radio.stories.d.ts +15 -0
  86. package/dist/packages/radio/radio.stories.js +3702 -0
  87. package/dist/packages/radio/radio.stories.js.map +7 -0
  88. package/dist/packages/{rip-and-tear-radio → radio}/react.d.ts +2 -2
  89. package/dist/packages/select/index.d.ts +26 -5
  90. package/dist/packages/select/index.js +17 -16
  91. package/dist/packages/select/index.js.map +3 -3
  92. package/dist/packages/select/react.d.ts +1 -1
  93. package/dist/packages/select/select.react.stories.d.ts +1 -1
  94. package/dist/packages/select/select.stories.d.ts +1 -1
  95. package/dist/packages/select/select.stories.js +3 -4
  96. package/dist/packages/select/select.test.js +30 -0
  97. package/dist/packages/slider/locales/da/messages.mjs +1 -0
  98. package/dist/packages/slider/locales/en/messages.mjs +1 -0
  99. package/dist/packages/slider/locales/fi/messages.mjs +1 -0
  100. package/dist/packages/slider/locales/nb/messages.mjs +1 -0
  101. package/dist/packages/slider/locales/sv/messages.mjs +1 -0
  102. package/dist/packages/slider/react.d.ts +2 -2
  103. package/dist/packages/slider/slider-thumb.d.ts +13 -7
  104. package/dist/packages/slider/slider-thumb.js +92 -49
  105. package/dist/packages/slider/slider-thumb.js.map +4 -4
  106. package/dist/packages/slider/slider.d.ts +12 -3
  107. package/dist/packages/slider/slider.js +109 -31
  108. package/dist/packages/slider/slider.js.map +4 -4
  109. package/dist/packages/slider/slider.react.stories.d.ts +1 -0
  110. package/dist/packages/slider/slider.react.stories.js +22 -0
  111. package/dist/packages/slider/slider.stories.d.ts +3 -0
  112. package/dist/packages/slider/slider.stories.js +240 -33
  113. package/dist/packages/slider/slider.test.js +28 -0
  114. package/dist/packages/slider/styles/w-slider-thumb.styles.js +24 -16
  115. package/dist/packages/slider/styles/w-slider.styles.js +65 -18
  116. package/dist/packages/{steps → stepindicator}/index.d.ts +3 -2
  117. package/dist/packages/{steps → stepindicator}/index.js +8 -8
  118. package/dist/packages/stepindicator/index.js.map +7 -0
  119. package/dist/packages/stepindicator/locales/da/messages.d.mts +1 -0
  120. package/dist/packages/stepindicator/locales/en/messages.d.mts +1 -0
  121. package/dist/packages/stepindicator/locales/fi/messages.d.mts +1 -0
  122. package/dist/packages/stepindicator/locales/nb/messages.d.mts +1 -0
  123. package/dist/packages/stepindicator/locales/sv/messages.d.mts +1 -0
  124. package/dist/packages/stepindicator/react.d.ts +3 -0
  125. package/dist/packages/{steps → stepindicator}/react.js +2 -2
  126. package/dist/packages/{steps/steps.react.stories.d.ts → stepindicator/stepindicator.react.stories.d.ts} +4 -4
  127. package/dist/packages/{steps/steps.react.stories.js → stepindicator/stepindicator.react.stories.js} +11 -11
  128. package/dist/packages/{steps/steps.stories.js → stepindicator/stepindicator.stories.js} +16 -16
  129. package/dist/packages/switch/index.d.ts +10 -2
  130. package/dist/packages/switch/index.js +7 -6
  131. package/dist/packages/switch/index.js.map +4 -4
  132. package/dist/packages/switch/react.d.ts +1 -1
  133. package/dist/packages/switch/styles.js +1 -1
  134. package/dist/packages/switch/switch.react.stories.js +4 -4
  135. package/dist/packages/switch/switch.stories.js +6 -5
  136. package/dist/packages/switch/switch.test.d.ts +1 -0
  137. package/dist/packages/switch/switch.test.js +40 -0
  138. package/dist/packages/tabs/tab.js +4 -3
  139. package/dist/packages/tabs/tab.js.map +2 -2
  140. package/dist/packages/tabs/tabs.js +5 -5
  141. package/dist/packages/tabs/tabs.js.map +3 -3
  142. package/dist/packages/tabs/tabs.stories.d.ts +3 -0
  143. package/dist/packages/tabs/tabs.stories.js +16 -7
  144. package/dist/packages/textarea/index.d.ts +1 -0
  145. package/dist/packages/textarea/index.js +1 -0
  146. package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
  147. package/dist/packages/textarea/locales/da/messages.mjs +1 -0
  148. package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
  149. package/dist/packages/textarea/locales/en/messages.mjs +1 -0
  150. package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
  151. package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
  152. package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
  153. package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
  154. package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
  155. package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
  156. package/dist/packages/textarea/react.d.ts +11 -0
  157. package/dist/packages/textarea/react.js +21 -0
  158. package/dist/packages/textarea/styles.d.ts +1 -0
  159. package/dist/packages/textarea/styles.js +2 -0
  160. package/dist/packages/textarea/textarea.d.ts +49 -0
  161. package/dist/packages/{rip-and-tear-radio/radio.stories.js → textarea/textarea.js} +35 -214
  162. package/dist/packages/textarea/textarea.js.map +7 -0
  163. package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
  164. package/dist/packages/textarea/textarea.react.stories.js +41 -0
  165. package/dist/packages/textarea/textarea.stories.d.ts +19 -0
  166. package/dist/packages/textarea/textarea.stories.js +85 -0
  167. package/dist/packages/textarea/textarea.test.d.ts +1 -0
  168. package/dist/packages/textarea/textarea.test.js +68 -0
  169. package/dist/packages/textfield/index.d.ts +6 -0
  170. package/dist/packages/textfield/index.js +21 -20
  171. package/dist/packages/textfield/index.js.map +3 -3
  172. package/dist/packages/textfield/react.d.ts +1 -1
  173. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  174. package/dist/packages/textfield/textfield.stories.d.ts +1 -0
  175. package/dist/packages/textfield/textfield.stories.js +17 -0
  176. package/dist/packages/toggle-styles.js +2 -3
  177. package/dist/web-types.json +473 -30
  178. package/package.json +37 -31
  179. package/dist/packages/dead-toggle/index.js.map +0 -7
  180. package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +0 -7
  181. package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +0 -11
  182. package/dist/packages/rip-and-tear-checkbox/index.d.ts +0 -1
  183. package/dist/packages/rip-and-tear-checkbox/index.js +0 -4
  184. package/dist/packages/rip-and-tear-checkbox/react.d.ts +0 -5
  185. package/dist/packages/rip-and-tear-radio/index.d.ts +0 -1
  186. package/dist/packages/rip-and-tear-radio/index.js +0 -6
  187. package/dist/packages/rip-and-tear-radio/radio-group.js.map +0 -7
  188. package/dist/packages/rip-and-tear-radio/radio.js.map +0 -7
  189. package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +0 -8
  190. package/dist/packages/rip-and-tear-radio/radio.stories.js.map +0 -7
  191. package/dist/packages/steps/index.js.map +0 -7
  192. package/dist/packages/steps/react.d.ts +0 -3
  193. /package/dist/packages/{rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts → checkbox/checkbox.react.stories.d.ts} +0 -0
  194. /package/dist/packages/{rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js → checkbox/checkbox.react.stories.js} +0 -0
  195. /package/dist/packages/{rip-and-tear-checkbox → checkbox}/styles.d.ts +0 -0
  196. /package/dist/packages/{rip-and-tear-checkbox → checkbox}/styles.js +0 -0
  197. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.react.stories.d.ts +0 -0
  198. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.react.stories.js +0 -0
  199. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.stories.d.ts +0 -0
  200. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.stories.js +0 -0
  201. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.test.d.ts +0 -0
  202. /package/dist/packages/{dead-toggle → deadtoggle}/dead-toggle.test.js +0 -0
  203. /package/dist/packages/{dead-toggle → deadtoggle}/index.d.ts +0 -0
  204. /package/dist/packages/{dead-toggle → deadtoggle}/react.js +0 -0
  205. /package/dist/packages/{rip-and-tear-radio → radio}/base-element.d.ts +0 -0
  206. /package/dist/packages/{rip-and-tear-radio → radio}/base-element.js +0 -0
  207. /package/dist/packages/{rip-and-tear-radio → radio}/custom-error-validator.d.ts +0 -0
  208. /package/dist/packages/{rip-and-tear-radio → radio}/custom-error-validator.js +0 -0
  209. /package/dist/packages/{rip-and-tear-radio → radio}/form-associated-element.d.ts +0 -0
  210. /package/dist/packages/{rip-and-tear-radio → radio}/form-associated-element.js +0 -0
  211. /package/dist/packages/{rip-and-tear-radio → radio}/host-styles.d.ts +0 -0
  212. /package/dist/packages/{rip-and-tear-radio → radio}/host-styles.js +0 -0
  213. /package/dist/packages/{rip-and-tear-radio → radio}/invalid.d.ts +0 -0
  214. /package/dist/packages/{rip-and-tear-radio → radio}/invalid.js +0 -0
  215. /package/dist/packages/{rip-and-tear-radio → radio}/math.d.ts +0 -0
  216. /package/dist/packages/{rip-and-tear-radio → radio}/math.js +0 -0
  217. /package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.d.ts +0 -0
  218. /package/dist/packages/{rip-and-tear-radio → radio}/radio-group-styles.js +0 -0
  219. /package/dist/packages/{rip-and-tear-radio → radio}/radio-group.d.ts +0 -0
  220. /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.d.ts +0 -0
  221. /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.js +0 -0
  222. /package/dist/packages/{rip-and-tear-radio → radio}/radio-styles.js.map +0 -0
  223. /package/dist/packages/{rip-and-tear-radio → radio}/radio.d.ts +0 -0
  224. /package/dist/packages/{rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts → radio/radio.react.stories.d.ts} +0 -0
  225. /package/dist/packages/{rip-and-tear-radio/rip-and-tear-radio.react.stories.js → radio/radio.react.stories.js} +0 -0
  226. /package/dist/packages/{rip-and-tear-radio → radio}/react.js +0 -0
  227. /package/dist/packages/{rip-and-tear-radio → radio}/required-validator.d.ts +0 -0
  228. /package/dist/packages/{rip-and-tear-radio → radio}/required-validator.js +0 -0
  229. /package/dist/packages/{rip-and-tear-radio → radio}/slot.d.ts +0 -0
  230. /package/dist/packages/{rip-and-tear-radio → radio}/slot.js +0 -0
  231. /package/dist/packages/{rip-and-tear-radio → radio}/watch.d.ts +0 -0
  232. /package/dist/packages/{rip-and-tear-radio → radio}/watch.js +0 -0
  233. /package/dist/packages/{steps → slider}/locales/da/messages.d.mts +0 -0
  234. /package/dist/packages/{steps → slider}/locales/en/messages.d.mts +0 -0
  235. /package/dist/packages/{steps → slider}/locales/fi/messages.d.mts +0 -0
  236. /package/dist/packages/{steps → slider}/locales/nb/messages.d.mts +0 -0
  237. /package/dist/packages/{steps → slider}/locales/sv/messages.d.mts +0 -0
  238. /package/dist/packages/{steps → stepindicator}/locales/da/messages.mjs +0 -0
  239. /package/dist/packages/{steps → stepindicator}/locales/en/messages.mjs +0 -0
  240. /package/dist/packages/{steps → stepindicator}/locales/fi/messages.mjs +0 -0
  241. /package/dist/packages/{steps → stepindicator}/locales/nb/messages.mjs +0 -0
  242. /package/dist/packages/{steps → stepindicator}/locales/sv/messages.mjs +0 -0
  243. /package/dist/packages/{steps/steps.stories.d.ts → stepindicator/stepindicator.stories.d.ts} +0 -0
  244. /package/dist/packages/{steps → stepindicator}/styles.d.ts +0 -0
  245. /package/dist/packages/{steps → stepindicator}/styles.js +0 -0
@@ -249,18 +249,9 @@
249
249
  "attribute": "variant",
250
250
  "reflects": true,
251
251
  "parsedType": {
252
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
252
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'link' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
253
253
  }
254
254
  },
255
- {
256
- "kind": "field",
257
- "name": "quiet",
258
- "type": {
259
- "text": "boolean"
260
- },
261
- "attribute": "quiet",
262
- "reflects": true
263
- },
264
255
  {
265
256
  "kind": "field",
266
257
  "name": "small",
@@ -314,31 +305,6 @@
314
305
  },
315
306
  "attribute": "full-width",
316
307
  "reflects": true
317
- },
318
- {
319
- "kind": "field",
320
- "name": "buttonClass",
321
- "type": {
322
- "text": "string"
323
- },
324
- "attribute": "button-class",
325
- "reflects": true
326
- },
327
- {
328
- "kind": "field",
329
- "name": "name",
330
- "type": {
331
- "text": "string"
332
- },
333
- "attribute": "name",
334
- "reflects": true
335
- },
336
- {
337
- "kind": "field",
338
- "name": "classes",
339
- "type": {
340
- "text": "string"
341
- }
342
308
  }
343
309
  ],
344
310
  "attributes": [
@@ -357,16 +323,9 @@
357
323
  "default": "'secondary'",
358
324
  "fieldName": "variant",
359
325
  "parsedType": {
360
- "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
326
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'link' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet'"
361
327
  }
362
328
  },
363
- {
364
- "name": "quiet",
365
- "type": {
366
- "text": "boolean"
367
- },
368
- "fieldName": "quiet"
369
- },
370
329
  {
371
330
  "name": "small",
372
331
  "type": {
@@ -408,26 +367,6 @@
408
367
  "text": "boolean"
409
368
  },
410
369
  "fieldName": "fullWidth"
411
- },
412
- {
413
- "name": "button-class",
414
- "type": {
415
- "text": "string"
416
- },
417
- "fieldName": "buttonClass"
418
- },
419
- {
420
- "name": "name",
421
- "type": {
422
- "text": "string"
423
- },
424
- "fieldName": "name"
425
- }
426
- ],
427
- "mixins": [
428
- {
429
- "name": "FormControlMixin",
430
- "package": "@open-wc/form-control"
431
370
  }
432
371
  ],
433
372
  "superclass": {
@@ -509,7 +448,7 @@
509
448
  "attribute": "variant",
510
449
  "reflects": true,
511
450
  "parsedType": {
512
- "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
451
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'link' | 'pill'"
513
452
  }
514
453
  },
515
454
  {
@@ -602,6 +541,27 @@
602
541
  "attribute": "value",
603
542
  "reflects": true
604
543
  },
544
+ {
545
+ "kind": "field",
546
+ "name": "#initialValue",
547
+ "privacy": "private",
548
+ "type": {
549
+ "text": "string | null"
550
+ },
551
+ "default": "null"
552
+ },
553
+ {
554
+ "kind": "method",
555
+ "name": "resetFormControl",
556
+ "return": {
557
+ "type": {
558
+ "text": "void"
559
+ }
560
+ },
561
+ "type": {
562
+ "text": "resetFormControl() => void"
563
+ }
564
+ },
605
565
  {
606
566
  "kind": "field",
607
567
  "name": "ariaValueTextLoading"
@@ -634,7 +594,7 @@
634
594
  "default": "'secondary'",
635
595
  "fieldName": "variant",
636
596
  "parsedType": {
637
- "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
597
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'link' | 'pill'"
638
598
  }
639
599
  },
640
600
  {
@@ -1884,17 +1844,38 @@
1884
1844
  "type": {
1885
1845
  "text": "boolean"
1886
1846
  },
1887
- "description": "Whether the element should receive focus on render",
1847
+ "description": "Whether the element should receive focus on render.",
1848
+ "deprecated": "Use the native `autofocus` attribute instead.",
1888
1849
  "attribute": "auto-focus",
1889
1850
  "reflects": true
1890
1851
  },
1852
+ {
1853
+ "kind": "field",
1854
+ "name": "autofocus",
1855
+ "type": {
1856
+ "text": "boolean"
1857
+ },
1858
+ "description": "Whether the element should receive focus on render",
1859
+ "attribute": "autofocus",
1860
+ "reflects": true
1861
+ },
1862
+ {
1863
+ "kind": "field",
1864
+ "name": "helpText",
1865
+ "type": {
1866
+ "text": "string"
1867
+ },
1868
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
1869
+ "attribute": "help-text",
1870
+ "reflects": true
1871
+ },
1891
1872
  {
1892
1873
  "kind": "field",
1893
1874
  "name": "invalid",
1894
1875
  "type": {
1895
1876
  "text": "boolean"
1896
1877
  },
1897
- "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
1878
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
1898
1879
  "attribute": "invalid",
1899
1880
  "reflects": true
1900
1881
  },
@@ -1904,7 +1885,8 @@
1904
1885
  "type": {
1905
1886
  "text": "boolean"
1906
1887
  },
1907
- "description": "Whether to always show a hint",
1888
+ "description": "Whether to always show a hint.",
1889
+ "deprecated": "Use `help-text` instead and only set it if you want to display the help text.",
1908
1890
  "attribute": "always",
1909
1891
  "reflects": true
1910
1892
  },
@@ -1914,7 +1896,8 @@
1914
1896
  "type": {
1915
1897
  "text": "string"
1916
1898
  },
1917
- "description": "The content displayed as the help text",
1899
+ "description": "The content displayed as the help text.",
1900
+ "deprecated": "Use `help-text` instead.",
1918
1901
  "attribute": "hint",
1919
1902
  "reflects": true
1920
1903
  },
@@ -1955,9 +1938,20 @@
1955
1938
  "text": "boolean"
1956
1939
  },
1957
1940
  "description": "Renders the field in a readonly state.",
1941
+ "deprecated": "Use the native readonly attribute instead.",
1958
1942
  "attribute": "read-only",
1959
1943
  "reflects": true
1960
1944
  },
1945
+ {
1946
+ "kind": "field",
1947
+ "name": "readonly",
1948
+ "type": {
1949
+ "text": "boolean"
1950
+ },
1951
+ "description": "Renders the field in a readonly state.",
1952
+ "attribute": "readonly",
1953
+ "reflects": true
1954
+ },
1961
1955
  {
1962
1956
  "kind": "field",
1963
1957
  "name": "name",
@@ -1976,6 +1970,27 @@
1976
1970
  "attribute": "value",
1977
1971
  "reflects": true
1978
1972
  },
1973
+ {
1974
+ "kind": "field",
1975
+ "name": "#initialValue",
1976
+ "privacy": "private",
1977
+ "type": {
1978
+ "text": "string | null"
1979
+ },
1980
+ "default": "null"
1981
+ },
1982
+ {
1983
+ "kind": "method",
1984
+ "name": "resetFormControl",
1985
+ "return": {
1986
+ "type": {
1987
+ "text": "void"
1988
+ }
1989
+ },
1990
+ "type": {
1991
+ "text": "resetFormControl() => void"
1992
+ }
1993
+ },
1979
1994
  {
1980
1995
  "kind": "method",
1981
1996
  "name": "handleKeyDown",
@@ -2040,15 +2055,32 @@
2040
2055
  "type": {
2041
2056
  "text": "boolean"
2042
2057
  },
2043
- "description": "Whether the element should receive focus on render",
2058
+ "description": "Whether the element should receive focus on render.",
2059
+ "deprecated": "Use the native `autofocus` attribute instead.",
2044
2060
  "fieldName": "autoFocus"
2045
2061
  },
2062
+ {
2063
+ "name": "autofocus",
2064
+ "type": {
2065
+ "text": "boolean"
2066
+ },
2067
+ "description": "Whether the element should receive focus on render",
2068
+ "fieldName": "autofocus"
2069
+ },
2070
+ {
2071
+ "name": "help-text",
2072
+ "type": {
2073
+ "text": "string"
2074
+ },
2075
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
2076
+ "fieldName": "helpText"
2077
+ },
2046
2078
  {
2047
2079
  "name": "invalid",
2048
2080
  "type": {
2049
2081
  "text": "boolean"
2050
2082
  },
2051
- "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
2083
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
2052
2084
  "fieldName": "invalid"
2053
2085
  },
2054
2086
  {
@@ -2056,7 +2088,8 @@
2056
2088
  "type": {
2057
2089
  "text": "boolean"
2058
2090
  },
2059
- "description": "Whether to always show a hint",
2091
+ "description": "Whether to always show a hint.",
2092
+ "deprecated": "Use `help-text` instead and only set it if you want to display the help text.",
2060
2093
  "fieldName": "always"
2061
2094
  },
2062
2095
  {
@@ -2064,7 +2097,8 @@
2064
2097
  "type": {
2065
2098
  "text": "string"
2066
2099
  },
2067
- "description": "The content displayed as the help text",
2100
+ "description": "The content displayed as the help text.",
2101
+ "deprecated": "Use `help-text` instead.",
2068
2102
  "fieldName": "hint"
2069
2103
  },
2070
2104
  {
@@ -2097,8 +2131,17 @@
2097
2131
  "text": "boolean"
2098
2132
  },
2099
2133
  "description": "Renders the field in a readonly state.",
2134
+ "deprecated": "Use the native readonly attribute instead.",
2100
2135
  "fieldName": "readOnly"
2101
2136
  },
2137
+ {
2138
+ "name": "readonly",
2139
+ "type": {
2140
+ "text": "boolean"
2141
+ },
2142
+ "description": "Renders the field in a readonly state.",
2143
+ "fieldName": "readonly"
2144
+ },
2102
2145
  {
2103
2146
  "name": "name",
2104
2147
  "type": {
@@ -2281,9 +2324,19 @@
2281
2324
  "type": {
2282
2325
  "text": "boolean"
2283
2326
  },
2327
+ "deprecated": "Use the native readonly attribute instead.",
2284
2328
  "attribute": "read-only",
2285
2329
  "reflects": true
2286
2330
  },
2331
+ {
2332
+ "kind": "field",
2333
+ "name": "readonly",
2334
+ "type": {
2335
+ "text": "boolean"
2336
+ },
2337
+ "attribute": "readonly",
2338
+ "reflects": true
2339
+ },
2287
2340
  {
2288
2341
  "kind": "field",
2289
2342
  "name": "required",
@@ -2321,6 +2374,15 @@
2321
2374
  "attribute": "name",
2322
2375
  "reflects": true
2323
2376
  },
2377
+ {
2378
+ "kind": "field",
2379
+ "name": "step",
2380
+ "type": {
2381
+ "text": "number"
2382
+ },
2383
+ "attribute": "step",
2384
+ "reflects": true
2385
+ },
2324
2386
  {
2325
2387
  "kind": "field",
2326
2388
  "name": "formatter",
@@ -2329,6 +2391,27 @@
2329
2391
  },
2330
2392
  "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"
2331
2393
  },
2394
+ {
2395
+ "kind": "field",
2396
+ "name": "#initialValue",
2397
+ "privacy": "private",
2398
+ "type": {
2399
+ "text": "string | null"
2400
+ },
2401
+ "default": "null"
2402
+ },
2403
+ {
2404
+ "kind": "method",
2405
+ "name": "resetFormControl",
2406
+ "return": {
2407
+ "type": {
2408
+ "text": "void"
2409
+ }
2410
+ },
2411
+ "type": {
2412
+ "text": "resetFormControl() => void"
2413
+ }
2414
+ },
2332
2415
  {
2333
2416
  "kind": "method",
2334
2417
  "name": "handler",
@@ -2449,8 +2532,16 @@
2449
2532
  "type": {
2450
2533
  "text": "boolean"
2451
2534
  },
2535
+ "deprecated": "Use the native readonly attribute instead.",
2452
2536
  "fieldName": "readOnly"
2453
2537
  },
2538
+ {
2539
+ "name": "readonly",
2540
+ "type": {
2541
+ "text": "boolean"
2542
+ },
2543
+ "fieldName": "readonly"
2544
+ },
2454
2545
  {
2455
2546
  "name": "required",
2456
2547
  "type": {
@@ -2479,6 +2570,13 @@
2479
2570
  "text": "string"
2480
2571
  },
2481
2572
  "fieldName": "name"
2573
+ },
2574
+ {
2575
+ "name": "step",
2576
+ "type": {
2577
+ "text": "number"
2578
+ },
2579
+ "fieldName": "step"
2482
2580
  }
2483
2581
  ],
2484
2582
  "mixins": [
@@ -3330,6 +3428,27 @@
3330
3428
  "attribute": "name",
3331
3429
  "reflects": true
3332
3430
  },
3431
+ {
3432
+ "kind": "field",
3433
+ "name": "#initialValue",
3434
+ "privacy": "private",
3435
+ "type": {
3436
+ "text": "string | null"
3437
+ },
3438
+ "default": "null"
3439
+ },
3440
+ {
3441
+ "kind": "method",
3442
+ "name": "resetFormControl",
3443
+ "return": {
3444
+ "type": {
3445
+ "text": "void"
3446
+ }
3447
+ },
3448
+ "type": {
3449
+ "text": "resetFormControl() => void"
3450
+ }
3451
+ },
3333
3452
  {
3334
3453
  "kind": "field",
3335
3454
  "name": "_listboxId",
@@ -3684,6 +3803,12 @@
3684
3803
  "fieldName": "name"
3685
3804
  }
3686
3805
  ],
3806
+ "mixins": [
3807
+ {
3808
+ "name": "FormControlMixin",
3809
+ "package": "@open-wc/form-control"
3810
+ }
3811
+ ],
3687
3812
  "superclass": {
3688
3813
  "name": "LitElement",
3689
3814
  "package": "lit"
@@ -3834,6 +3959,15 @@
3834
3959
  "name": "month",
3835
3960
  "readonly": true
3836
3961
  },
3962
+ {
3963
+ "kind": "field",
3964
+ "name": "#initialValue",
3965
+ "privacy": "private",
3966
+ "type": {
3967
+ "text": "string | null"
3968
+ },
3969
+ "default": "null"
3970
+ },
3837
3971
  {
3838
3972
  "kind": "field",
3839
3973
  "name": "weeks",
@@ -3889,6 +4023,18 @@
3889
4023
  "text": "HTMLTableCellElement"
3890
4024
  }
3891
4025
  },
4026
+ {
4027
+ "kind": "method",
4028
+ "name": "resetFormControl",
4029
+ "return": {
4030
+ "type": {
4031
+ "text": "void"
4032
+ }
4033
+ },
4034
+ "type": {
4035
+ "text": "resetFormControl() => void"
4036
+ }
4037
+ },
3892
4038
  {
3893
4039
  "kind": "method",
3894
4040
  "name": "#toggleCalendarOpen",
@@ -4078,7 +4224,7 @@
4078
4224
  },
4079
4225
  {
4080
4226
  "kind": "javascript-module",
4081
- "path": "packages/dead-toggle/index.ts",
4227
+ "path": "packages/deadtoggle/index.ts",
4082
4228
  "declarations": [
4083
4229
  {
4084
4230
  "kind": "class",
@@ -4184,8 +4330,8 @@
4184
4330
  },
4185
4331
  "tagName": "w-dead-toggle",
4186
4332
  "customElement": true,
4187
- "modulePath": "packages/dead-toggle/index.ts",
4188
- "definitionPath": "packages/dead-toggle/index.ts"
4333
+ "modulePath": "packages/deadtoggle/index.ts",
4334
+ "definitionPath": "packages/deadtoggle/index.ts"
4189
4335
  }
4190
4336
  ],
4191
4337
  "exports": [
@@ -4194,7 +4340,7 @@
4194
4340
  "name": "WarpDeadToggle",
4195
4341
  "declaration": {
4196
4342
  "name": "WarpDeadToggle",
4197
- "module": "packages/dead-toggle/index.ts"
4343
+ "module": "packages/deadtoggle/index.ts"
4198
4344
  }
4199
4345
  },
4200
4346
  {
@@ -4202,7 +4348,7 @@
4202
4348
  "name": "w-dead-toggle",
4203
4349
  "declaration": {
4204
4350
  "name": "WarpDeadToggle",
4205
- "module": "packages/dead-toggle/index.ts"
4351
+ "module": "packages/deadtoggle/index.ts"
4206
4352
  }
4207
4353
  }
4208
4354
  ]
@@ -4419,7 +4565,7 @@
4419
4565
  },
4420
4566
  {
4421
4567
  "kind": "javascript-module",
4422
- "path": "packages/rip-and-tear-radio/radio-group-styles.ts",
4568
+ "path": "packages/radio/radio-group-styles.ts",
4423
4569
  "declarations": [
4424
4570
  {
4425
4571
  "kind": "variable",
@@ -4433,14 +4579,14 @@
4433
4579
  "name": "styles",
4434
4580
  "declaration": {
4435
4581
  "name": "styles",
4436
- "module": "packages/rip-and-tear-radio/radio-group-styles.ts"
4582
+ "module": "packages/radio/radio-group-styles.ts"
4437
4583
  }
4438
4584
  }
4439
4585
  ]
4440
4586
  },
4441
4587
  {
4442
4588
  "kind": "javascript-module",
4443
- "path": "packages/rip-and-tear-radio/radio.ts",
4589
+ "path": "packages/radio/radio.ts",
4444
4590
  "declarations": [
4445
4591
  {
4446
4592
  "kind": "class",
@@ -4529,6 +4675,9 @@
4529
4675
  "type": {
4530
4676
  "text": "void"
4531
4677
  }
4678
+ },
4679
+ "type": {
4680
+ "text": "setValue() => void"
4532
4681
  }
4533
4682
  },
4534
4683
  {
@@ -4585,8 +4734,12 @@
4585
4734
  ],
4586
4735
  "superclass": {
4587
4736
  "name": "BaseFormAssociatedElement",
4588
- "module": "/packages/rip-and-tear-radio/form-associated-element"
4589
- }
4737
+ "module": "/packages/radio/form-associated-element"
4738
+ },
4739
+ "tagName": "w-radio",
4740
+ "customElement": true,
4741
+ "modulePath": "packages/radio/radio.ts",
4742
+ "definitionPath": "packages/radio/radio.ts"
4590
4743
  }
4591
4744
  ],
4592
4745
  "exports": [
@@ -4595,14 +4748,22 @@
4595
4748
  "name": "WRadio",
4596
4749
  "declaration": {
4597
4750
  "name": "WRadio",
4598
- "module": "packages/rip-and-tear-radio/radio.ts"
4751
+ "module": "packages/radio/radio.ts"
4752
+ }
4753
+ },
4754
+ {
4755
+ "kind": "custom-element-definition",
4756
+ "name": "w-radio",
4757
+ "declaration": {
4758
+ "name": "WRadio",
4759
+ "module": "packages/radio/radio.ts"
4599
4760
  }
4600
4761
  }
4601
4762
  ]
4602
4763
  },
4603
4764
  {
4604
4765
  "kind": "javascript-module",
4605
- "path": "packages/rip-and-tear-radio/radio-group.ts",
4766
+ "path": "packages/radio/radio-group.ts",
4606
4767
  "declarations": [
4607
4768
  {
4608
4769
  "kind": "class",
@@ -4796,7 +4957,10 @@
4796
4957
  "text": "Parameters<BaseFormAssociatedElement['formResetCallback']>"
4797
4958
  }
4798
4959
  }
4799
- ]
4960
+ ],
4961
+ "type": {
4962
+ "text": "formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void"
4963
+ }
4800
4964
  },
4801
4965
  {
4802
4966
  "kind": "field",
@@ -4844,7 +5008,10 @@
4844
5008
  }
4845
5009
  }
4846
5010
  ],
4847
- "description": "Sets focus on the radio group."
5011
+ "description": "Sets focus on the radio group.",
5012
+ "type": {
5013
+ "text": "focus(options?: FocusOptions) => void"
5014
+ }
4848
5015
  }
4849
5016
  ],
4850
5017
  "events": [
@@ -4954,8 +5121,12 @@
4954
5121
  ],
4955
5122
  "superclass": {
4956
5123
  "name": "BaseFormAssociatedElement",
4957
- "module": "/packages/rip-and-tear-radio/form-associated-element"
4958
- }
5124
+ "module": "/packages/radio/form-associated-element"
5125
+ },
5126
+ "tagName": "w-radio-group",
5127
+ "customElement": true,
5128
+ "modulePath": "packages/radio/radio-group.ts",
5129
+ "definitionPath": "packages/radio/radio-group.ts"
4959
5130
  }
4960
5131
  ],
4961
5132
  "exports": [
@@ -4964,28 +5135,76 @@
4964
5135
  "name": "WRadioGroup",
4965
5136
  "declaration": {
4966
5137
  "name": "WRadioGroup",
4967
- "module": "packages/rip-and-tear-radio/radio-group.ts"
5138
+ "module": "packages/radio/radio-group.ts"
4968
5139
  }
4969
- }
4970
- ]
5140
+ },
5141
+ {
5142
+ "kind": "custom-element-definition",
5143
+ "name": "w-radio-group",
5144
+ "declaration": {
5145
+ "name": "WRadioGroup",
5146
+ "module": "packages/radio/radio-group.ts"
5147
+ }
5148
+ }
5149
+ ]
4971
5150
  },
4972
5151
  {
4973
5152
  "kind": "javascript-module",
4974
- "path": "packages/rip-and-tear-radio/radio-styles.ts",
5153
+ "path": "packages/radio/radio-styles.ts",
4975
5154
  "declarations": [],
4976
5155
  "exports": []
4977
5156
  },
4978
5157
  {
4979
5158
  "kind": "javascript-module",
4980
- "path": "packages/rip-and-tear-radio/radio.stories.ts",
5159
+ "path": "packages/radio/radio.stories.ts",
4981
5160
  "declarations": [
5161
+ {
5162
+ "kind": "variable",
5163
+ "name": "meta",
5164
+ "type": {
5165
+ "text": "Meta<typeof args>"
5166
+ },
5167
+ "default": "{ title: 'Forms/Radio', render: (args) => { return html` <w-radio-group ${spread(prespread(args))}> <w-radio value=\"foo\">foo</w-radio> <w-radio value=\"bar\">bar</w-radio> </w-radio-group> `; }, } satisfies Meta"
5168
+ },
4982
5169
  {
4983
5170
  "kind": "variable",
4984
5171
  "name": "Default",
4985
5172
  "type": {
4986
- "text": "StoryObj"
5173
+ "text": "Story"
5174
+ },
5175
+ "default": "{ args: { label: 'Group', name: 'foobar', value: 'foo', }, }"
5176
+ },
5177
+ {
5178
+ "kind": "variable",
5179
+ "name": "Disabled",
5180
+ "type": {
5181
+ "text": "Story"
5182
+ },
5183
+ "default": "{ args: { label: 'Disabled', disabled: true, }, }"
5184
+ },
5185
+ {
5186
+ "kind": "variable",
5187
+ "name": "Required",
5188
+ "type": {
5189
+ "text": "Story"
5190
+ },
5191
+ "default": "{ args: {}, render() { return html` <form> <w-radio-group required> <w-radio value=\"foo\">foo</w-radio> <w-radio value=\"bar\">bar</w-radio> </w-radio-group> <button>click me</button> </form> `; }, }"
5192
+ },
5193
+ {
5194
+ "kind": "variable",
5195
+ "name": "DisabledGroup",
5196
+ "type": {
5197
+ "text": "Story"
5198
+ },
5199
+ "default": "{ args: { disabled: true }, }"
5200
+ },
5201
+ {
5202
+ "kind": "variable",
5203
+ "name": "DisabledRadio",
5204
+ "type": {
5205
+ "text": "Story"
4987
5206
  },
4988
- "default": "{}"
5207
+ "default": "{ args: {}, render() { return html` <w-radio-group> <w-radio value=\"foo\" disabled appearance=\"button\">disabled</w-radio> <w-radio value=\"bar\" appearance=\"clickable\">not disabled</w-radio> </w-radio-group> `; }, }"
4989
5208
  }
4990
5209
  ],
4991
5210
  "exports": [
@@ -4993,7 +5212,8 @@
4993
5212
  "kind": "js",
4994
5213
  "name": "default",
4995
5214
  "declaration": {
4996
- "module": "packages/rip-and-tear-radio/radio.stories.ts"
5215
+ "name": "meta",
5216
+ "module": "packages/radio/radio.stories.ts"
4997
5217
  }
4998
5218
  },
4999
5219
  {
@@ -5001,14 +5221,46 @@
5001
5221
  "name": "Default",
5002
5222
  "declaration": {
5003
5223
  "name": "Default",
5004
- "module": "packages/rip-and-tear-radio/radio.stories.ts"
5224
+ "module": "packages/radio/radio.stories.ts"
5225
+ }
5226
+ },
5227
+ {
5228
+ "kind": "js",
5229
+ "name": "Disabled",
5230
+ "declaration": {
5231
+ "name": "Disabled",
5232
+ "module": "packages/radio/radio.stories.ts"
5233
+ }
5234
+ },
5235
+ {
5236
+ "kind": "js",
5237
+ "name": "Required",
5238
+ "declaration": {
5239
+ "name": "Required",
5240
+ "module": "packages/radio/radio.stories.ts"
5241
+ }
5242
+ },
5243
+ {
5244
+ "kind": "js",
5245
+ "name": "DisabledGroup",
5246
+ "declaration": {
5247
+ "name": "DisabledGroup",
5248
+ "module": "packages/radio/radio.stories.ts"
5249
+ }
5250
+ },
5251
+ {
5252
+ "kind": "js",
5253
+ "name": "DisabledRadio",
5254
+ "declaration": {
5255
+ "name": "DisabledRadio",
5256
+ "module": "packages/radio/radio.stories.ts"
5005
5257
  }
5006
5258
  }
5007
5259
  ]
5008
5260
  },
5009
5261
  {
5010
5262
  "kind": "javascript-module",
5011
- "path": "packages/rip-and-tear-checkbox/checkbox.ts",
5263
+ "path": "packages/checkbox/checkbox.ts",
5012
5264
  "declarations": [
5013
5265
  {
5014
5266
  "kind": "class",
@@ -5185,28 +5437,46 @@
5185
5437
  },
5186
5438
  {
5187
5439
  "kind": "method",
5188
- "name": "handleDefaultCheckedChange"
5440
+ "name": "handleDefaultCheckedChange",
5441
+ "type": {
5442
+ "text": "handleDefaultCheckedChange() => void"
5443
+ }
5189
5444
  },
5190
5445
  {
5191
5446
  "kind": "method",
5192
- "name": "handleValueOrCheckedChange"
5447
+ "name": "handleValueOrCheckedChange",
5448
+ "type": {
5449
+ "text": "handleValueOrCheckedChange() => void"
5450
+ }
5193
5451
  },
5194
5452
  {
5195
5453
  "kind": "method",
5196
- "name": "handleStateChange"
5454
+ "name": "handleStateChange",
5455
+ "type": {
5456
+ "text": "handleStateChange() => void"
5457
+ }
5197
5458
  },
5198
5459
  {
5199
5460
  "kind": "method",
5200
- "name": "handleDisabledChange"
5461
+ "name": "handleDisabledChange",
5462
+ "type": {
5463
+ "text": "handleDisabledChange() => void"
5464
+ }
5201
5465
  },
5202
5466
  {
5203
5467
  "kind": "method",
5204
- "name": "formResetCallback"
5468
+ "name": "formResetCallback",
5469
+ "type": {
5470
+ "text": "formResetCallback() => void"
5471
+ }
5205
5472
  },
5206
5473
  {
5207
5474
  "kind": "method",
5208
5475
  "name": "click",
5209
- "description": "Simulates a click on the checkbox."
5476
+ "description": "Simulates a click on the checkbox.",
5477
+ "type": {
5478
+ "text": "click() => void"
5479
+ }
5210
5480
  },
5211
5481
  {
5212
5482
  "kind": "method",
@@ -5220,12 +5490,18 @@
5220
5490
  }
5221
5491
  }
5222
5492
  ],
5223
- "description": "Sets focus on the checkbox."
5493
+ "description": "Sets focus on the checkbox.",
5494
+ "type": {
5495
+ "text": "focus(options?: FocusOptions) => void"
5496
+ }
5224
5497
  },
5225
5498
  {
5226
5499
  "kind": "method",
5227
5500
  "name": "blur",
5228
- "description": "Removes focus from the checkbox."
5501
+ "description": "Removes focus from the checkbox.",
5502
+ "type": {
5503
+ "text": "blur() => void"
5504
+ }
5229
5505
  }
5230
5506
  ],
5231
5507
  "events": [
@@ -5327,8 +5603,12 @@
5327
5603
  ],
5328
5604
  "superclass": {
5329
5605
  "name": "BaseFormAssociatedElement",
5330
- "module": "/packages/rip-and-tear-radio/form-associated-element"
5331
- }
5606
+ "module": "/packages/radio/form-associated-element"
5607
+ },
5608
+ "tagName": "w-checkbox",
5609
+ "customElement": true,
5610
+ "modulePath": "packages/checkbox/checkbox.ts",
5611
+ "definitionPath": "packages/checkbox/checkbox.ts"
5332
5612
  }
5333
5613
  ],
5334
5614
  "exports": [
@@ -5337,7 +5617,53 @@
5337
5617
  "name": "WCheckbox",
5338
5618
  "declaration": {
5339
5619
  "name": "WCheckbox",
5340
- "module": "packages/rip-and-tear-checkbox/checkbox.ts"
5620
+ "module": "packages/checkbox/checkbox.ts"
5621
+ }
5622
+ },
5623
+ {
5624
+ "kind": "custom-element-definition",
5625
+ "name": "w-checkbox",
5626
+ "declaration": {
5627
+ "name": "WCheckbox",
5628
+ "module": "packages/checkbox/checkbox.ts"
5629
+ }
5630
+ }
5631
+ ]
5632
+ },
5633
+ {
5634
+ "kind": "javascript-module",
5635
+ "path": "packages/checkbox/checkbox-group.ts",
5636
+ "declarations": [
5637
+ {
5638
+ "kind": "class",
5639
+ "description": "",
5640
+ "name": "WCheckboxGroup",
5641
+ "members": [],
5642
+ "superclass": {
5643
+ "name": "LitElement",
5644
+ "package": "lit"
5645
+ },
5646
+ "tagName": "w-checkbox-group",
5647
+ "customElement": true,
5648
+ "modulePath": "packages/checkbox/checkbox-group.ts",
5649
+ "definitionPath": "packages/checkbox/checkbox-group.ts"
5650
+ }
5651
+ ],
5652
+ "exports": [
5653
+ {
5654
+ "kind": "js",
5655
+ "name": "WCheckboxGroup",
5656
+ "declaration": {
5657
+ "name": "WCheckboxGroup",
5658
+ "module": "packages/checkbox/checkbox-group.ts"
5659
+ }
5660
+ },
5661
+ {
5662
+ "kind": "custom-element-definition",
5663
+ "name": "w-checkbox-group",
5664
+ "declaration": {
5665
+ "name": "WCheckboxGroup",
5666
+ "module": "packages/checkbox/checkbox-group.ts"
5341
5667
  }
5342
5668
  }
5343
5669
  ]
@@ -5414,6 +5740,25 @@
5414
5740
  "attribute": "disabled",
5415
5741
  "reflects": true
5416
5742
  },
5743
+ {
5744
+ "kind": "field",
5745
+ "name": "invalid",
5746
+ "type": {
5747
+ "text": "boolean"
5748
+ },
5749
+ "default": "false",
5750
+ "attribute": "invalid",
5751
+ "reflects": true
5752
+ },
5753
+ {
5754
+ "kind": "field",
5755
+ "name": "allowValuesOutsideRange",
5756
+ "type": {
5757
+ "text": "boolean"
5758
+ },
5759
+ "default": "false",
5760
+ "description": "Set by `<w-slider>`"
5761
+ },
5417
5762
  {
5418
5763
  "kind": "field",
5419
5764
  "name": "markers",
@@ -5460,13 +5805,14 @@
5460
5805
  "type": {
5461
5806
  "text": "string"
5462
5807
  },
5808
+ "default": "''",
5463
5809
  "description": "Set by `<w-slider>`"
5464
5810
  },
5465
5811
  {
5466
5812
  "kind": "field",
5467
5813
  "name": "formatter",
5468
5814
  "type": {
5469
- "text": "(value: string) => string"
5815
+ "text": "(value: string, type: 'from' | 'to') => string"
5470
5816
  },
5471
5817
  "description": "JS hook to help you format the numeric value how you want."
5472
5818
  },
@@ -5484,6 +5830,27 @@
5484
5830
  "text": "WarpTextField"
5485
5831
  }
5486
5832
  },
5833
+ {
5834
+ "kind": "field",
5835
+ "name": "#initialValue",
5836
+ "privacy": "private",
5837
+ "type": {
5838
+ "text": "string | null"
5839
+ },
5840
+ "default": "null"
5841
+ },
5842
+ {
5843
+ "kind": "method",
5844
+ "name": "resetFormControl",
5845
+ "return": {
5846
+ "type": {
5847
+ "text": "void"
5848
+ }
5849
+ },
5850
+ "type": {
5851
+ "text": "resetFormControl() => void"
5852
+ }
5853
+ },
5487
5854
  {
5488
5855
  "kind": "method",
5489
5856
  "name": "#showTooltip",
@@ -5504,13 +5871,67 @@
5504
5871
  }
5505
5872
  }
5506
5873
  },
5874
+ {
5875
+ "kind": "method",
5876
+ "name": "#syncRangeValue",
5877
+ "privacy": "private",
5878
+ "return": {
5879
+ "type": {
5880
+ "text": "void"
5881
+ }
5882
+ }
5883
+ },
5884
+ {
5885
+ "kind": "method",
5886
+ "name": "#handleValidity",
5887
+ "privacy": "private",
5888
+ "parameters": [
5889
+ {
5890
+ "name": "error",
5891
+ "type": {
5892
+ "text": "string"
5893
+ }
5894
+ }
5895
+ ]
5896
+ },
5897
+ {
5898
+ "kind": "method",
5899
+ "name": "updateFieldAfterValidation",
5900
+ "type": {
5901
+ "text": "updateFieldAfterValidation() => void"
5902
+ }
5903
+ },
5904
+ {
5905
+ "kind": "method",
5906
+ "name": "#handleValueChange",
5907
+ "privacy": "private",
5908
+ "return": {
5909
+ "type": {
5910
+ "text": "Promise<{ shouldCancel: boolean; originalValue?: string }>"
5911
+ }
5912
+ },
5913
+ "parameters": [
5914
+ {
5915
+ "name": "value",
5916
+ "type": {
5917
+ "text": "string"
5918
+ }
5919
+ },
5920
+ {
5921
+ "name": "isFromTextInput",
5922
+ "type": {
5923
+ "text": "boolean"
5924
+ }
5925
+ }
5926
+ ]
5927
+ },
5507
5928
  {
5508
5929
  "kind": "method",
5509
5930
  "name": "#onInput",
5510
5931
  "privacy": "private",
5511
5932
  "return": {
5512
5933
  "type": {
5513
- "text": "boolean"
5934
+ "text": "Promise<boolean>"
5514
5935
  }
5515
5936
  },
5516
5937
  "parameters": [
@@ -5521,6 +5942,67 @@
5521
5942
  }
5522
5943
  }
5523
5944
  ]
5945
+ },
5946
+ {
5947
+ "kind": "method",
5948
+ "name": "#onRangeSliderKeyDown",
5949
+ "privacy": "private",
5950
+ "return": {
5951
+ "type": {
5952
+ "text": "Promise<void>"
5953
+ }
5954
+ },
5955
+ "parameters": [
5956
+ {
5957
+ "name": "e",
5958
+ "type": {
5959
+ "text": "KeyboardEvent"
5960
+ }
5961
+ }
5962
+ ]
5963
+ },
5964
+ {
5965
+ "kind": "method",
5966
+ "name": "#onTextFieldFocus",
5967
+ "privacy": "private",
5968
+ "parameters": [
5969
+ {
5970
+ "name": "e"
5971
+ }
5972
+ ]
5973
+ },
5974
+ {
5975
+ "kind": "method",
5976
+ "name": "#onTextFieldBlur",
5977
+ "privacy": "private",
5978
+ "parameters": [
5979
+ {
5980
+ "name": "e"
5981
+ }
5982
+ ]
5983
+ },
5984
+ {
5985
+ "kind": "field",
5986
+ "name": "boundaryValue",
5987
+ "type": {
5988
+ "text": "string"
5989
+ },
5990
+ "readonly": true
5991
+ },
5992
+ {
5993
+ "kind": "field",
5994
+ "name": "textFieldDisplayValue",
5995
+ "description": "Value to display in the textfield (shows boundary when focused on empty value)",
5996
+ "readonly": true
5997
+ },
5998
+ {
5999
+ "kind": "field",
6000
+ "name": "tooltipDisplayValue",
6001
+ "type": {
6002
+ "text": "string | number"
6003
+ },
6004
+ "description": "Value to display in the tooltip",
6005
+ "readonly": true
5524
6006
  }
5525
6007
  ],
5526
6008
  "events": [
@@ -5573,6 +6055,14 @@
5573
6055
  "text": "boolean"
5574
6056
  },
5575
6057
  "fieldName": "disabled"
6058
+ },
6059
+ {
6060
+ "name": "invalid",
6061
+ "type": {
6062
+ "text": "boolean"
6063
+ },
6064
+ "default": "false",
6065
+ "fieldName": "invalid"
5576
6066
  }
5577
6067
  ],
5578
6068
  "mixins": [
@@ -5672,23 +6162,52 @@
5672
6162
  },
5673
6163
  {
5674
6164
  "kind": "field",
5675
- "name": "invalid",
6165
+ "name": "allowValuesOutsideRange",
5676
6166
  "type": {
5677
6167
  "text": "boolean"
5678
6168
  },
5679
6169
  "default": "false",
5680
- "attribute": "invalid",
5681
- "reflects": true
6170
+ "attribute": "allow-values-outside-range"
5682
6171
  },
5683
6172
  {
5684
6173
  "kind": "field",
5685
- "name": "required",
6174
+ "name": "error",
5686
6175
  "type": {
5687
- "text": "boolean"
6176
+ "text": "string"
5688
6177
  },
5689
- "default": "false",
5690
- "description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
5691
- "attribute": "required",
6178
+ "default": "''",
6179
+ "attribute": "error",
6180
+ "reflects": true
6181
+ },
6182
+ {
6183
+ "kind": "field",
6184
+ "name": "helpText",
6185
+ "type": {
6186
+ "text": "string"
6187
+ },
6188
+ "default": "''",
6189
+ "attribute": "help-text",
6190
+ "reflects": true
6191
+ },
6192
+ {
6193
+ "kind": "field",
6194
+ "name": "invalid",
6195
+ "type": {
6196
+ "text": "boolean"
6197
+ },
6198
+ "default": "false",
6199
+ "attribute": "invalid",
6200
+ "reflects": true
6201
+ },
6202
+ {
6203
+ "kind": "field",
6204
+ "name": "required",
6205
+ "type": {
6206
+ "text": "boolean"
6207
+ },
6208
+ "default": "false",
6209
+ "description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
6210
+ "attribute": "required",
5692
6211
  "reflects": true
5693
6212
  },
5694
6213
  {
@@ -5734,6 +6253,7 @@
5734
6253
  "type": {
5735
6254
  "text": "string"
5736
6255
  },
6256
+ "default": "''",
5737
6257
  "description": "Suffix used in text input fields and for the min and max values of the slider.",
5738
6258
  "attribute": "suffix",
5739
6259
  "reflects": true
@@ -5742,10 +6262,26 @@
5742
6262
  "kind": "field",
5743
6263
  "name": "formatter",
5744
6264
  "type": {
5745
- "text": "(value: string) => string"
6265
+ "text": "(value: string, type: 'to' | 'from') => string"
5746
6266
  },
5747
6267
  "description": "Function to format the to- and from labels and value in the slider thumb tooltip."
5748
6268
  },
6269
+ {
6270
+ "kind": "field",
6271
+ "name": "_invalidMessage",
6272
+ "type": {
6273
+ "text": "string"
6274
+ },
6275
+ "default": "''"
6276
+ },
6277
+ {
6278
+ "kind": "field",
6279
+ "name": "_hasInternalError",
6280
+ "type": {
6281
+ "text": "boolean"
6282
+ },
6283
+ "default": "false"
6284
+ },
5749
6285
  {
5750
6286
  "kind": "method",
5751
6287
  "name": "#syncSliderThumbs",
@@ -5756,6 +6292,16 @@
5756
6292
  }
5757
6293
  }
5758
6294
  },
6295
+ {
6296
+ "kind": "field",
6297
+ "name": "edgeMin",
6298
+ "readonly": true
6299
+ },
6300
+ {
6301
+ "kind": "field",
6302
+ "name": "edgeMax",
6303
+ "readonly": true
6304
+ },
5759
6305
  {
5760
6306
  "kind": "method",
5761
6307
  "name": "#onInput",
@@ -5769,6 +6315,11 @@
5769
6315
  }
5770
6316
  ]
5771
6317
  },
6318
+ {
6319
+ "kind": "method",
6320
+ "name": "#doValidation",
6321
+ "privacy": "private"
6322
+ },
5772
6323
  {
5773
6324
  "kind": "method",
5774
6325
  "name": "#onSliderValidity",
@@ -5782,6 +6333,30 @@
5782
6333
  }
5783
6334
  ]
5784
6335
  },
6336
+ {
6337
+ "kind": "method",
6338
+ "name": "#getEdgeValue",
6339
+ "privacy": "private",
6340
+ "return": {
6341
+ "type": {
6342
+ "text": "string"
6343
+ }
6344
+ },
6345
+ "parameters": [
6346
+ {
6347
+ "name": "boundary",
6348
+ "type": {
6349
+ "text": "string"
6350
+ }
6351
+ },
6352
+ {
6353
+ "name": "input",
6354
+ "type": {
6355
+ "text": "WarpSliderThumb"
6356
+ }
6357
+ }
6358
+ ]
6359
+ },
5785
6360
  {
5786
6361
  "kind": "method",
5787
6362
  "name": "#updateActiveTrack",
@@ -5795,6 +6370,22 @@
5795
6370
  }
5796
6371
  ],
5797
6372
  "description": "We use CSS variables to fill the active track with a background color."
6373
+ },
6374
+ {
6375
+ "kind": "field",
6376
+ "name": "componentHasError",
6377
+ "type": {
6378
+ "text": "boolean"
6379
+ },
6380
+ "readonly": true
6381
+ },
6382
+ {
6383
+ "kind": "field",
6384
+ "name": "errorText",
6385
+ "type": {
6386
+ "text": "string"
6387
+ },
6388
+ "readonly": true
5798
6389
  }
5799
6390
  ],
5800
6391
  "attributes": [
@@ -5814,6 +6405,30 @@
5814
6405
  "default": "false",
5815
6406
  "fieldName": "disabled"
5816
6407
  },
6408
+ {
6409
+ "name": "allow-values-outside-range",
6410
+ "type": {
6411
+ "text": "boolean"
6412
+ },
6413
+ "default": "false",
6414
+ "fieldName": "allowValuesOutsideRange"
6415
+ },
6416
+ {
6417
+ "name": "error",
6418
+ "type": {
6419
+ "text": "string"
6420
+ },
6421
+ "default": "''",
6422
+ "fieldName": "error"
6423
+ },
6424
+ {
6425
+ "name": "help-text",
6426
+ "type": {
6427
+ "text": "string"
6428
+ },
6429
+ "default": "''",
6430
+ "fieldName": "helpText"
6431
+ },
5817
6432
  {
5818
6433
  "name": "invalid",
5819
6434
  "type": {
@@ -5865,16 +6480,11 @@
5865
6480
  "type": {
5866
6481
  "text": "string"
5867
6482
  },
6483
+ "default": "''",
5868
6484
  "description": "Suffix used in text input fields and for the min and max values of the slider.",
5869
6485
  "fieldName": "suffix"
5870
6486
  }
5871
6487
  ],
5872
- "mixins": [
5873
- {
5874
- "name": "FormControlMixin",
5875
- "package": "@open-wc/form-control"
5876
- }
5877
- ],
5878
6488
  "superclass": {
5879
6489
  "name": "LitElement",
5880
6490
  "package": "lit"
@@ -5906,12 +6516,12 @@
5906
6516
  },
5907
6517
  {
5908
6518
  "kind": "javascript-module",
5909
- "path": "packages/steps/index.ts",
6519
+ "path": "packages/stepindicator/index.ts",
5910
6520
  "declarations": [
5911
6521
  {
5912
6522
  "kind": "class",
5913
6523
  "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)",
5914
- "name": "WarpSteps",
6524
+ "name": "WarpStepIndicator",
5915
6525
  "members": [
5916
6526
  {
5917
6527
  "kind": "field",
@@ -5963,10 +6573,10 @@
5963
6573
  "name": "LitElement",
5964
6574
  "package": "lit"
5965
6575
  },
5966
- "tagName": "w-steps",
6576
+ "tagName": "w-step-indicator",
5967
6577
  "customElement": true,
5968
- "modulePath": "packages/steps/index.ts",
5969
- "definitionPath": "packages/steps/index.ts"
6578
+ "modulePath": "packages/stepindicator/index.ts",
6579
+ "definitionPath": "packages/stepindicator/index.ts"
5970
6580
  },
5971
6581
  {
5972
6582
  "kind": "class",
@@ -6049,17 +6659,17 @@
6049
6659
  },
6050
6660
  "tagName": "w-step",
6051
6661
  "customElement": true,
6052
- "modulePath": "packages/steps/index.ts",
6053
- "definitionPath": "packages/steps/index.ts"
6662
+ "modulePath": "packages/stepindicator/index.ts",
6663
+ "definitionPath": "packages/stepindicator/index.ts"
6054
6664
  }
6055
6665
  ],
6056
6666
  "exports": [
6057
6667
  {
6058
6668
  "kind": "custom-element-definition",
6059
- "name": "w-steps",
6669
+ "name": "w-step-indicator",
6060
6670
  "declaration": {
6061
- "name": "WarpSteps",
6062
- "module": "packages/steps/index.ts"
6671
+ "name": "WarpStepIndicator",
6672
+ "module": "packages/stepindicator/index.ts"
6063
6673
  }
6064
6674
  },
6065
6675
  {
@@ -6067,15 +6677,15 @@
6067
6677
  "name": "w-step",
6068
6678
  "declaration": {
6069
6679
  "name": "WarpStep",
6070
- "module": "packages/steps/index.ts"
6680
+ "module": "packages/stepindicator/index.ts"
6071
6681
  }
6072
6682
  },
6073
6683
  {
6074
6684
  "kind": "js",
6075
- "name": "WarpSteps",
6685
+ "name": "WarpStepIndicator",
6076
6686
  "declaration": {
6077
- "name": "WarpSteps",
6078
- "module": "packages/steps/index.ts"
6687
+ "name": "WarpStepIndicator",
6688
+ "module": "packages/stepindicator/index.ts"
6079
6689
  }
6080
6690
  },
6081
6691
  {
@@ -6083,7 +6693,7 @@
6083
6693
  "name": "WarpStep",
6084
6694
  "declaration": {
6085
6695
  "name": "WarpStep",
6086
- "module": "packages/steps/index.ts"
6696
+ "module": "packages/stepindicator/index.ts"
6087
6697
  }
6088
6698
  }
6089
6699
  ]
@@ -6097,14 +6707,34 @@
6097
6707
  "description": "",
6098
6708
  "name": "WarpSwitch",
6099
6709
  "members": [
6710
+ {
6711
+ "kind": "field",
6712
+ "name": "name",
6713
+ "type": {
6714
+ "text": "string"
6715
+ },
6716
+ "default": "''",
6717
+ "attribute": "name",
6718
+ "reflects": true
6719
+ },
6100
6720
  {
6101
6721
  "kind": "field",
6102
6722
  "name": "value",
6723
+ "type": {
6724
+ "text": "string"
6725
+ },
6726
+ "default": "''",
6727
+ "attribute": "value",
6728
+ "reflects": true
6729
+ },
6730
+ {
6731
+ "kind": "field",
6732
+ "name": "checked",
6103
6733
  "type": {
6104
6734
  "text": "boolean"
6105
6735
  },
6106
6736
  "default": "false",
6107
- "attribute": "value",
6737
+ "attribute": "checked",
6108
6738
  "reflects": true
6109
6739
  },
6110
6740
  {
@@ -6116,6 +6746,27 @@
6116
6746
  "default": "false",
6117
6747
  "attribute": "disabled",
6118
6748
  "reflects": true
6749
+ },
6750
+ {
6751
+ "kind": "field",
6752
+ "name": "#initialState",
6753
+ "privacy": "private",
6754
+ "type": {
6755
+ "text": "boolean | null"
6756
+ },
6757
+ "default": "null"
6758
+ },
6759
+ {
6760
+ "kind": "method",
6761
+ "name": "resetFormControl",
6762
+ "return": {
6763
+ "type": {
6764
+ "text": "void"
6765
+ }
6766
+ },
6767
+ "type": {
6768
+ "text": "resetFormControl() => void"
6769
+ }
6119
6770
  }
6120
6771
  ],
6121
6772
  "events": [
@@ -6127,13 +6778,29 @@
6127
6778
  }
6128
6779
  ],
6129
6780
  "attributes": [
6781
+ {
6782
+ "name": "name",
6783
+ "type": {
6784
+ "text": "string"
6785
+ },
6786
+ "default": "''",
6787
+ "fieldName": "name"
6788
+ },
6130
6789
  {
6131
6790
  "name": "value",
6791
+ "type": {
6792
+ "text": "string"
6793
+ },
6794
+ "default": "''",
6795
+ "fieldName": "value"
6796
+ },
6797
+ {
6798
+ "name": "checked",
6132
6799
  "type": {
6133
6800
  "text": "boolean"
6134
6801
  },
6135
6802
  "default": "false",
6136
- "fieldName": "value"
6803
+ "fieldName": "checked"
6137
6804
  },
6138
6805
  {
6139
6806
  "name": "disabled",
@@ -6144,6 +6811,12 @@
6144
6811
  "fieldName": "disabled"
6145
6812
  }
6146
6813
  ],
6814
+ "mixins": [
6815
+ {
6816
+ "name": "FormControlMixin",
6817
+ "package": "@open-wc/form-control"
6818
+ }
6819
+ ],
6147
6820
  "superclass": {
6148
6821
  "name": "LitElement",
6149
6822
  "package": "lit"
@@ -6493,6 +7166,328 @@
6493
7166
  }
6494
7167
  }
6495
7168
  ]
7169
+ },
7170
+ {
7171
+ "kind": "javascript-module",
7172
+ "path": "packages/textarea/textarea.ts",
7173
+ "declarations": [
7174
+ {
7175
+ "kind": "class",
7176
+ "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)",
7177
+ "name": "WarpTextarea",
7178
+ "members": [
7179
+ {
7180
+ "kind": "field",
7181
+ "name": "shadowRootOptions",
7182
+ "type": {
7183
+ "text": "object"
7184
+ },
7185
+ "static": true,
7186
+ "default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
7187
+ },
7188
+ {
7189
+ "kind": "field",
7190
+ "name": "disabled",
7191
+ "type": {
7192
+ "text": "boolean"
7193
+ },
7194
+ "attribute": "disabled",
7195
+ "reflects": true
7196
+ },
7197
+ {
7198
+ "kind": "field",
7199
+ "name": "invalid",
7200
+ "type": {
7201
+ "text": "boolean"
7202
+ },
7203
+ "attribute": "invalid",
7204
+ "reflects": true
7205
+ },
7206
+ {
7207
+ "kind": "field",
7208
+ "name": "label",
7209
+ "type": {
7210
+ "text": "string"
7211
+ },
7212
+ "attribute": "label",
7213
+ "reflects": true
7214
+ },
7215
+ {
7216
+ "kind": "field",
7217
+ "name": "helpText",
7218
+ "type": {
7219
+ "text": "string"
7220
+ },
7221
+ "attribute": "help-text",
7222
+ "reflects": true
7223
+ },
7224
+ {
7225
+ "kind": "field",
7226
+ "name": "maxRows",
7227
+ "type": {
7228
+ "text": "number"
7229
+ },
7230
+ "attribute": "maximum-rows",
7231
+ "reflects": true
7232
+ },
7233
+ {
7234
+ "kind": "field",
7235
+ "name": "minRows",
7236
+ "type": {
7237
+ "text": "number"
7238
+ },
7239
+ "attribute": "minimum-rows",
7240
+ "reflects": true
7241
+ },
7242
+ {
7243
+ "kind": "field",
7244
+ "name": "name",
7245
+ "type": {
7246
+ "text": "string"
7247
+ },
7248
+ "attribute": "name"
7249
+ },
7250
+ {
7251
+ "kind": "field",
7252
+ "name": "placeholder",
7253
+ "type": {
7254
+ "text": "string"
7255
+ },
7256
+ "attribute": "placeholder"
7257
+ },
7258
+ {
7259
+ "kind": "field",
7260
+ "name": "readOnly",
7261
+ "type": {
7262
+ "text": "boolean"
7263
+ },
7264
+ "deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
7265
+ "attribute": "read-only",
7266
+ "reflects": true
7267
+ },
7268
+ {
7269
+ "kind": "field",
7270
+ "name": "readonly",
7271
+ "type": {
7272
+ "text": "boolean"
7273
+ },
7274
+ "attribute": "readonly",
7275
+ "reflects": true
7276
+ },
7277
+ {
7278
+ "kind": "field",
7279
+ "name": "required",
7280
+ "type": {
7281
+ "text": "boolean"
7282
+ },
7283
+ "attribute": "required",
7284
+ "reflects": true
7285
+ },
7286
+ {
7287
+ "kind": "field",
7288
+ "name": "value",
7289
+ "type": {
7290
+ "text": "string"
7291
+ },
7292
+ "attribute": "value",
7293
+ "reflects": true
7294
+ },
7295
+ {
7296
+ "kind": "field",
7297
+ "name": "optional",
7298
+ "type": {
7299
+ "text": "boolean"
7300
+ },
7301
+ "attribute": "optional",
7302
+ "reflects": true
7303
+ },
7304
+ {
7305
+ "kind": "field",
7306
+ "name": "minHeight"
7307
+ },
7308
+ {
7309
+ "kind": "field",
7310
+ "name": "maxHeight"
7311
+ },
7312
+ {
7313
+ "kind": "field",
7314
+ "name": "#initialValue",
7315
+ "privacy": "private",
7316
+ "type": {
7317
+ "text": "string | null"
7318
+ },
7319
+ "default": "null"
7320
+ },
7321
+ {
7322
+ "kind": "method",
7323
+ "name": "resetFormControl",
7324
+ "return": {
7325
+ "type": {
7326
+ "text": "void"
7327
+ }
7328
+ },
7329
+ "type": {
7330
+ "text": "resetFormControl() => void"
7331
+ }
7332
+ },
7333
+ {
7334
+ "kind": "method",
7335
+ "name": "handler",
7336
+ "parameters": [
7337
+ {
7338
+ "name": "e",
7339
+ "type": {
7340
+ "text": "InputEvent"
7341
+ }
7342
+ }
7343
+ ],
7344
+ "type": {
7345
+ "text": "handler(e: InputEvent) => void"
7346
+ }
7347
+ },
7348
+ {
7349
+ "kind": "method",
7350
+ "name": "#resize",
7351
+ "privacy": "private",
7352
+ "parameters": [
7353
+ {
7354
+ "name": "target",
7355
+ "type": {
7356
+ "text": "HTMLTextAreaElement"
7357
+ }
7358
+ }
7359
+ ],
7360
+ "description": "Calculate the new height for the area on input"
7361
+ }
7362
+ ],
7363
+ "attributes": [
7364
+ {
7365
+ "name": "disabled",
7366
+ "type": {
7367
+ "text": "boolean"
7368
+ },
7369
+ "fieldName": "disabled"
7370
+ },
7371
+ {
7372
+ "name": "invalid",
7373
+ "type": {
7374
+ "text": "boolean"
7375
+ },
7376
+ "fieldName": "invalid"
7377
+ },
7378
+ {
7379
+ "name": "label",
7380
+ "type": {
7381
+ "text": "string"
7382
+ },
7383
+ "fieldName": "label"
7384
+ },
7385
+ {
7386
+ "name": "help-text",
7387
+ "type": {
7388
+ "text": "string"
7389
+ },
7390
+ "fieldName": "helpText"
7391
+ },
7392
+ {
7393
+ "name": "maximum-rows",
7394
+ "type": {
7395
+ "text": "number"
7396
+ },
7397
+ "fieldName": "maxRows"
7398
+ },
7399
+ {
7400
+ "name": "minimum-rows",
7401
+ "type": {
7402
+ "text": "number"
7403
+ },
7404
+ "fieldName": "minRows"
7405
+ },
7406
+ {
7407
+ "name": "name",
7408
+ "type": {
7409
+ "text": "string"
7410
+ },
7411
+ "fieldName": "name"
7412
+ },
7413
+ {
7414
+ "name": "placeholder",
7415
+ "type": {
7416
+ "text": "string"
7417
+ },
7418
+ "fieldName": "placeholder"
7419
+ },
7420
+ {
7421
+ "name": "read-only",
7422
+ "type": {
7423
+ "text": "boolean"
7424
+ },
7425
+ "deprecated": "Use the native readonly attribute instead. Here for API consistency with `w-textfield`.",
7426
+ "fieldName": "readOnly"
7427
+ },
7428
+ {
7429
+ "name": "readonly",
7430
+ "type": {
7431
+ "text": "boolean"
7432
+ },
7433
+ "fieldName": "readonly"
7434
+ },
7435
+ {
7436
+ "name": "required",
7437
+ "type": {
7438
+ "text": "boolean"
7439
+ },
7440
+ "fieldName": "required"
7441
+ },
7442
+ {
7443
+ "name": "value",
7444
+ "type": {
7445
+ "text": "string"
7446
+ },
7447
+ "fieldName": "value"
7448
+ },
7449
+ {
7450
+ "name": "optional",
7451
+ "type": {
7452
+ "text": "boolean"
7453
+ },
7454
+ "fieldName": "optional"
7455
+ }
7456
+ ],
7457
+ "mixins": [
7458
+ {
7459
+ "name": "FormControlMixin",
7460
+ "package": "@open-wc/form-control"
7461
+ }
7462
+ ],
7463
+ "superclass": {
7464
+ "name": "LitElement",
7465
+ "package": "lit"
7466
+ },
7467
+ "tagName": "w-textarea",
7468
+ "customElement": true,
7469
+ "modulePath": "packages/textarea/textarea.ts",
7470
+ "definitionPath": "packages/textarea/textarea.ts"
7471
+ }
7472
+ ],
7473
+ "exports": [
7474
+ {
7475
+ "kind": "custom-element-definition",
7476
+ "name": "w-textarea",
7477
+ "declaration": {
7478
+ "name": "WarpTextarea",
7479
+ "module": "packages/textarea/textarea.ts"
7480
+ }
7481
+ },
7482
+ {
7483
+ "kind": "js",
7484
+ "name": "WarpTextarea",
7485
+ "declaration": {
7486
+ "name": "WarpTextarea",
7487
+ "module": "packages/textarea/textarea.ts"
7488
+ }
7489
+ }
7490
+ ]
6496
7491
  }
6497
7492
  ]
6498
7493
  }