@warp-ds/elements 2.9.1-next.2 → 2.9.1-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/custom-elements.json +91 -262
  2. package/dist/docs/affix/affix.md +9 -10
  3. package/dist/docs/affix/api.md +9 -10
  4. package/dist/docs/alert/alert.md +4 -2
  5. package/dist/docs/alert/api.md +4 -2
  6. package/dist/docs/attention/api.md +21 -16
  7. package/dist/docs/attention/attention.md +21 -16
  8. package/dist/docs/badge/api.md +5 -6
  9. package/dist/docs/badge/badge.md +5 -6
  10. package/dist/docs/box/api.md +3 -4
  11. package/dist/docs/box/box.md +3 -4
  12. package/dist/docs/breadcrumbs/accessibility.md +46 -0
  13. package/dist/docs/breadcrumbs/api.md +8 -8
  14. package/dist/docs/breadcrumbs/breadcrumbs.md +127 -9
  15. package/dist/docs/breadcrumbs/examples.md +35 -0
  16. package/dist/docs/breadcrumbs/usage.md +36 -0
  17. package/dist/docs/button/api.md +15 -13
  18. package/dist/docs/button/button.md +15 -13
  19. package/dist/docs/card/api.md +5 -6
  20. package/dist/docs/card/card.md +5 -6
  21. package/dist/docs/combobox/api.md +18 -19
  22. package/dist/docs/combobox/combobox.md +18 -19
  23. package/dist/docs/datepicker/api.md +38 -39
  24. package/dist/docs/datepicker/datepicker.md +38 -39
  25. package/dist/docs/expandable/api.md +11 -12
  26. package/dist/docs/expandable/expandable.md +11 -12
  27. package/dist/docs/link/api.md +8 -6
  28. package/dist/docs/link/link.md +8 -6
  29. package/dist/docs/page-indicator/api.md +7 -8
  30. package/dist/docs/page-indicator/page-indicator.md +7 -8
  31. package/dist/docs/pagination/api.md +17 -9
  32. package/dist/docs/pagination/pagination.md +17 -9
  33. package/dist/docs/pill/api.md +30 -17
  34. package/dist/docs/pill/pill.md +30 -17
  35. package/dist/docs/select/api.md +17 -9
  36. package/dist/docs/select/select.md +17 -9
  37. package/dist/docs/slider/api.md +37 -116
  38. package/dist/docs/slider/examples.md +331 -0
  39. package/dist/docs/slider/slider.md +378 -118
  40. package/dist/docs/slider/usage.md +10 -0
  41. package/dist/docs/slider-thumb/api.md +26 -79
  42. package/dist/docs/slider-thumb/slider-thumb.md +26 -81
  43. package/dist/docs/step/api.md +3 -4
  44. package/dist/docs/step/step.md +3 -4
  45. package/dist/docs/step-indicator/api.md +3 -4
  46. package/dist/docs/step-indicator/step-indicator.md +3 -4
  47. package/dist/docs/switch/api.md +13 -5
  48. package/dist/docs/switch/switch.md +13 -5
  49. package/dist/docs/tab/api.md +9 -62
  50. package/dist/docs/tab/tab.md +9 -70
  51. package/dist/docs/tab-panel/api.md +7 -11
  52. package/dist/docs/tab-panel/tab-panel.md +7 -19
  53. package/dist/docs/tabs/accessibility.md +11 -0
  54. package/dist/docs/tabs/api.md +10 -18
  55. package/dist/docs/tabs/examples.md +68 -0
  56. package/dist/docs/tabs/tabs.md +97 -20
  57. package/dist/docs/tabs/usage.md +8 -0
  58. package/dist/docs/textarea/api.md +15 -16
  59. package/dist/docs/textarea/textarea.md +15 -16
  60. package/dist/docs/textfield/api.md +14 -15
  61. package/dist/docs/textfield/textfield.md +14 -15
  62. package/dist/index.d.ts +124 -242
  63. package/dist/packages/affix/affix.js +11 -12
  64. package/dist/packages/affix/affix.js.map +4 -4
  65. package/dist/packages/alert/alert.d.ts +1 -1
  66. package/dist/packages/alert/alert.js.map +1 -1
  67. package/dist/packages/attention/attention.d.ts +3 -2
  68. package/dist/packages/attention/attention.js +27 -28
  69. package/dist/packages/attention/attention.js.map +4 -4
  70. package/dist/packages/breadcrumbs/breadcrumbs.d.ts +7 -1
  71. package/dist/packages/breadcrumbs/breadcrumbs.js +7 -8
  72. package/dist/packages/breadcrumbs/breadcrumbs.js.map +4 -4
  73. package/dist/packages/button/button.d.ts +4 -2
  74. package/dist/packages/button/button.js +14 -15
  75. package/dist/packages/button/button.js.map +4 -4
  76. package/dist/packages/card/card.js +8 -9
  77. package/dist/packages/card/card.js.map +4 -4
  78. package/dist/packages/checkbox/checkbox.d.ts +2 -0
  79. package/dist/packages/checkbox-group/checkbox-group.d.ts +2 -0
  80. package/dist/packages/checkbox-group/checkbox-group.js +15 -16
  81. package/dist/packages/checkbox-group/checkbox-group.js.map +4 -4
  82. package/dist/packages/checkbox-group/locales/da/messages.mjs +1 -1
  83. package/dist/packages/checkbox-group/locales/en/messages.mjs +1 -1
  84. package/dist/packages/checkbox-group/locales/fi/messages.mjs +1 -1
  85. package/dist/packages/checkbox-group/locales/nb/messages.mjs +1 -1
  86. package/dist/packages/checkbox-group/locales/sv/messages.mjs +1 -1
  87. package/dist/packages/combobox/combobox.js +13 -14
  88. package/dist/packages/combobox/combobox.js.map +4 -4
  89. package/dist/packages/combobox/locales/da/messages.mjs +1 -1
  90. package/dist/packages/combobox/locales/en/messages.mjs +1 -1
  91. package/dist/packages/combobox/locales/fi/messages.mjs +1 -1
  92. package/dist/packages/combobox/locales/nb/messages.mjs +1 -1
  93. package/dist/packages/combobox/locales/sv/messages.mjs +1 -1
  94. package/dist/packages/datepicker/datepicker.d.ts +2 -0
  95. package/dist/packages/datepicker/datepicker.js +51 -52
  96. package/dist/packages/datepicker/datepicker.js.map +4 -4
  97. package/dist/packages/datepicker/locales/da/messages.mjs +1 -1
  98. package/dist/packages/datepicker/locales/en/messages.mjs +1 -1
  99. package/dist/packages/datepicker/locales/fi/messages.mjs +1 -1
  100. package/dist/packages/datepicker/locales/nb/messages.mjs +1 -1
  101. package/dist/packages/datepicker/locales/sv/messages.mjs +1 -1
  102. package/dist/packages/link/link.d.ts +2 -0
  103. package/dist/packages/modal-header/modal-header.js +13 -14
  104. package/dist/packages/modal-header/modal-header.js.map +4 -4
  105. package/dist/packages/page-indicator/page-indicator.js +7 -8
  106. package/dist/packages/page-indicator/page-indicator.js.map +4 -4
  107. package/dist/packages/pagination/locales/da/messages.mjs +1 -1
  108. package/dist/packages/pagination/locales/en/messages.mjs +1 -1
  109. package/dist/packages/pagination/locales/fi/messages.mjs +1 -1
  110. package/dist/packages/pagination/locales/nb/messages.mjs +1 -1
  111. package/dist/packages/pagination/locales/sv/messages.mjs +1 -1
  112. package/dist/packages/pagination/pagination.js +31 -32
  113. package/dist/packages/pagination/pagination.js.map +4 -4
  114. package/dist/packages/pagination/pagination.test.js +38 -0
  115. package/dist/packages/pill/pill.js +11 -12
  116. package/dist/packages/pill/pill.js.map +4 -4
  117. package/dist/packages/radio/radio.d.ts +2 -0
  118. package/dist/packages/radio-group/radio-group.d.ts +2 -0
  119. package/dist/packages/radio-group/radio-group.js +17 -18
  120. package/dist/packages/radio-group/radio-group.js.map +4 -4
  121. package/dist/packages/select/select.js +19 -20
  122. package/dist/packages/select/select.js.map +4 -4
  123. package/dist/packages/slider/locales/da/messages.mjs +1 -1
  124. package/dist/packages/slider/locales/en/messages.mjs +1 -1
  125. package/dist/packages/slider/locales/fi/messages.mjs +1 -1
  126. package/dist/packages/slider/locales/nb/messages.mjs +1 -1
  127. package/dist/packages/slider/locales/sv/messages.mjs +1 -1
  128. package/dist/packages/slider/slider.d.ts +36 -45
  129. package/dist/packages/slider/slider.js +22 -23
  130. package/dist/packages/slider/slider.js.map +4 -4
  131. package/dist/packages/slider-thumb/slider-thumb.d.ts +41 -31
  132. package/dist/packages/slider-thumb/slider-thumb.js +33 -34
  133. package/dist/packages/slider-thumb/slider-thumb.js.map +4 -4
  134. package/dist/packages/step/locales/da/messages.mjs +1 -1
  135. package/dist/packages/step/locales/en/messages.mjs +1 -1
  136. package/dist/packages/step/locales/fi/messages.mjs +1 -1
  137. package/dist/packages/step/locales/nb/messages.mjs +1 -1
  138. package/dist/packages/step/locales/sv/messages.mjs +1 -1
  139. package/dist/packages/step/step.js +11 -12
  140. package/dist/packages/step/step.js.map +4 -4
  141. package/dist/packages/switch/switch.d.ts +2 -0
  142. package/dist/packages/tab/tab.d.ts +31 -24
  143. package/dist/packages/tab/tab.js +3 -3
  144. package/dist/packages/tab/tab.js.map +2 -2
  145. package/dist/packages/tab-panel/tab-panel.d.ts +9 -8
  146. package/dist/packages/tab-panel/tab-panel.js +3 -3
  147. package/dist/packages/tab-panel/tab-panel.js.map +2 -2
  148. package/dist/packages/tabs/index.d.ts +1 -0
  149. package/dist/packages/tabs/index.js +0 -1
  150. package/dist/packages/tabs/react.d.ts +4 -3
  151. package/dist/packages/tabs/tabs.d.ts +9 -3
  152. package/dist/packages/tabs/tabs.js +1 -1
  153. package/dist/packages/tabs/tabs.js.map +3 -3
  154. package/dist/packages/tabs/tabs.react.stories.d.ts +2 -2
  155. package/dist/packages/textarea/textarea.d.ts +2 -0
  156. package/dist/packages/textarea/textarea.js +20 -21
  157. package/dist/packages/textarea/textarea.js.map +4 -4
  158. package/dist/packages/textfield/textfield.d.ts +2 -0
  159. package/dist/packages/toast/toast.js +13 -14
  160. package/dist/packages/toast/toast.js.map +4 -4
  161. package/dist/web-types.json +206 -98
  162. package/package.json +20 -19
  163. package/dist/docs/tab/accessibility.md +0 -1
  164. package/dist/docs/tab/examples.md +0 -1
  165. package/dist/docs/tab/usage.md +0 -1
  166. package/dist/docs/tab-panel/accessibility.md +0 -1
  167. package/dist/docs/tab-panel/examples.md +0 -1
  168. package/dist/docs/tab-panel/usage.md +0 -1
package/dist/index.d.ts CHANGED
@@ -657,12 +657,14 @@ Defaults to a role of `region`. Set `role="none"` to override this behaviour for
657
657
  };
658
658
 
659
659
  export type WarpBreadcrumbsProps = {
660
- /** */
660
+ /** Accessible label for the breadcrumb navigation.
661
+ Defaults to the localized "You are here" label. Set `aria-label` when the default label is not specific enough for the page. */
661
662
  ariaLabel?: WarpBreadcrumbs["ariaLabel"];
662
663
  };
663
664
 
664
665
  export type WarpBreadcrumbsSolidJsProps = {
665
- /** */
666
+ /** Accessible label for the breadcrumb navigation.
667
+ Defaults to the localized "You are here" label. Set `aria-label` when the default label is not specific enough for the page. */
666
668
  "prop:ariaLabel"?: WarpBreadcrumbs["ariaLabel"];
667
669
 
668
670
  /** Set the innerHTML of the element */
@@ -1489,57 +1491,45 @@ export type WarpSelectSolidJsProps = {
1489
1491
  };
1490
1492
 
1491
1493
  export type WarpSliderThumbProps = {
1492
- /** */
1494
+ /** Label for the range input. */
1493
1495
  "aria-label"?: WarpSliderThumb["ariaLabel"];
1494
- /** */
1496
+ /** Label for the range input. */
1495
1497
  ariaLabel?: WarpSliderThumb["ariaLabel"];
1496
- /** */
1498
+ /** Contextual information for assistive technology, should it be needed */
1497
1499
  "aria-description"?: WarpSliderThumb["ariaDescription"];
1498
- /** */
1500
+ /** Contextual information for assistive technology, should it be needed */
1499
1501
  ariaDescription?: WarpSliderThumb["ariaDescription"];
1500
- /** */
1502
+ /** The name of this input field in the form. The canonical source of the value is the text field. */
1501
1503
  name?: WarpSliderThumb["name"];
1502
- /** */
1504
+ /** The initial value, if any */
1503
1505
  value?: WarpSliderThumb["value"];
1504
- /** */
1506
+ /** Placeholder in empty text fields */
1505
1507
  placeholder?: WarpSliderThumb["placeholder"];
1506
- /** */
1507
- range?: WarpSliderThumb["range"];
1508
- /** */
1509
- tooltipTarget?: WarpSliderThumb["tooltipTarget"];
1510
- /** */
1511
- textfield?: WarpSliderThumb["textfield"];
1512
1508
 
1513
- /** */
1509
+ /** Internal event used by (and stopped by) `w-slider`. */
1514
1510
  onthumbreset?: (e: CustomEvent) => void;
1515
- /** */
1511
+ /** Internal event used by (and stopped by) `w-slider`. */
1516
1512
  onslidervalidity?: (e: CustomEvent) => void;
1517
1513
  };
1518
1514
 
1519
1515
  export type WarpSliderThumbSolidJsProps = {
1520
- /** */
1516
+ /** Label for the range input. */
1521
1517
  "attr:aria-label"?: WarpSliderThumb["ariaLabel"];
1522
- /** */
1518
+ /** Label for the range input. */
1523
1519
  "prop:ariaLabel"?: WarpSliderThumb["ariaLabel"];
1524
- /** */
1520
+ /** Contextual information for assistive technology, should it be needed */
1525
1521
  "attr:aria-description"?: WarpSliderThumb["ariaDescription"];
1526
- /** */
1522
+ /** Contextual information for assistive technology, should it be needed */
1527
1523
  "prop:ariaDescription"?: WarpSliderThumb["ariaDescription"];
1528
- /** */
1524
+ /** The name of this input field in the form. The canonical source of the value is the text field. */
1529
1525
  "prop:name"?: WarpSliderThumb["name"];
1530
- /** */
1526
+ /** The initial value, if any */
1531
1527
  "prop:value"?: WarpSliderThumb["value"];
1532
- /** */
1528
+ /** Placeholder in empty text fields */
1533
1529
  "prop:placeholder"?: WarpSliderThumb["placeholder"];
1534
- /** */
1535
- "prop:range"?: WarpSliderThumb["range"];
1536
- /** */
1537
- "prop:tooltipTarget"?: WarpSliderThumb["tooltipTarget"];
1538
- /** */
1539
- "prop:textfield"?: WarpSliderThumb["textfield"];
1540
- /** */
1530
+ /** Internal event used by (and stopped by) `w-slider`. */
1541
1531
  "on:thumbreset"?: (e: CustomEvent) => void;
1542
- /** */
1532
+ /** Internal event used by (and stopped by) `w-slider`. */
1543
1533
  "on:slidervalidity"?: (e: CustomEvent) => void;
1544
1534
 
1545
1535
  /** Set the innerHTML of the element */
@@ -1559,46 +1549,38 @@ If you need to display HTML, use the `label` slot instead (f. ex. `<legend class
1559
1549
  "open-ended"?: WarpSlider["openEnded"];
1560
1550
  /** Whether or not to allow values outside the range such as "Before 1950" and "2025+". */
1561
1551
  openEnded?: WarpSlider["openEnded"];
1562
- /** */
1552
+ /** Validation error text, if any */
1563
1553
  error?: WarpSlider["error"];
1564
- /** */
1554
+ /** Additional description to show below the fieldset */
1565
1555
  "help-text"?: WarpSlider["helpText"];
1566
- /** */
1556
+ /** Additional description to show below the fieldset */
1567
1557
  helpText?: WarpSlider["helpText"];
1568
- /** */
1558
+ /** Sets the form fields and fieldset in an invalid state */
1569
1559
  invalid?: WarpSlider["invalid"];
1570
- /** Ensures a child slider thumb has a value before allowing the containing form to submit. */
1560
+ /** Ensures a child slider thumb has a value before allowing the containing form to submit */
1571
1561
  required?: WarpSlider["required"];
1572
- /** */
1562
+ /** The minimum allowed value in the range inputs */
1573
1563
  min?: WarpSlider["min"];
1574
- /** */
1564
+ /** The maximum allowed value in the range inputs */
1575
1565
  max?: WarpSlider["max"];
1576
1566
  /** Pass a value similar to step to create visual markers at that interval */
1577
1567
  markers?: WarpSlider["markers"];
1578
- /** */
1568
+ /** ets step on the range input to jump between values when dragging */
1579
1569
  step?: WarpSlider["step"];
1580
- /** Suffix used in text input fields and for the min and max values of the slider. */
1570
+ /** Suffix used in text input fields and for the min and max values of the slider */
1581
1571
  suffix?: WarpSlider["suffix"];
1582
- /** */
1572
+ /** Should only be used in special cases */
1583
1573
  "hidden-textfield"?: WarpSlider["hiddenTextfield"];
1584
- /** */
1574
+ /** Should only be used in special cases */
1585
1575
  hiddenTextfield?: WarpSlider["hiddenTextfield"];
1586
- /** Formatter for the tooltip and input mask values. */
1576
+ /** Formatter for the tooltip and input mask values */
1587
1577
  valueFormatter?: WarpSlider["valueFormatter"];
1588
- /** Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. */
1578
+ /** Overrides valueFormatter for the tooltip.
1579
+
1580
+ Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. */
1589
1581
  tooltipFormatter?: WarpSlider["tooltipFormatter"];
1590
1582
  /** Formatter for the min and max labels below the range. */
1591
1583
  labelFormatter?: WarpSlider["labelFormatter"];
1592
- /** */
1593
- fieldset?: WarpSlider["fieldset"];
1594
- /** */
1595
- _invalidMessage?: WarpSlider["_invalidMessage"];
1596
- /** */
1597
- _hasInternalError?: WarpSlider["_hasInternalError"];
1598
- /** */
1599
- _showError?: WarpSlider["_showError"];
1600
- /** */
1601
- _tabbableElements?: WarpSlider["_tabbableElements"];
1602
1584
  };
1603
1585
 
1604
1586
  export type WarpSliderSolidJsProps = {
@@ -1612,46 +1594,38 @@ If you need to display HTML, use the `label` slot instead (f. ex. `<legend class
1612
1594
  "bool:open-ended"?: WarpSlider["openEnded"];
1613
1595
  /** Whether or not to allow values outside the range such as "Before 1950" and "2025+". */
1614
1596
  "prop:openEnded"?: WarpSlider["openEnded"];
1615
- /** */
1597
+ /** Validation error text, if any */
1616
1598
  "prop:error"?: WarpSlider["error"];
1617
- /** */
1599
+ /** Additional description to show below the fieldset */
1618
1600
  "attr:help-text"?: WarpSlider["helpText"];
1619
- /** */
1601
+ /** Additional description to show below the fieldset */
1620
1602
  "prop:helpText"?: WarpSlider["helpText"];
1621
- /** */
1603
+ /** Sets the form fields and fieldset in an invalid state */
1622
1604
  "prop:invalid"?: WarpSlider["invalid"];
1623
- /** Ensures a child slider thumb has a value before allowing the containing form to submit. */
1605
+ /** Ensures a child slider thumb has a value before allowing the containing form to submit */
1624
1606
  "prop:required"?: WarpSlider["required"];
1625
- /** */
1607
+ /** The minimum allowed value in the range inputs */
1626
1608
  "prop:min"?: WarpSlider["min"];
1627
- /** */
1609
+ /** The maximum allowed value in the range inputs */
1628
1610
  "prop:max"?: WarpSlider["max"];
1629
1611
  /** Pass a value similar to step to create visual markers at that interval */
1630
1612
  "prop:markers"?: WarpSlider["markers"];
1631
- /** */
1613
+ /** ets step on the range input to jump between values when dragging */
1632
1614
  "prop:step"?: WarpSlider["step"];
1633
- /** Suffix used in text input fields and for the min and max values of the slider. */
1615
+ /** Suffix used in text input fields and for the min and max values of the slider */
1634
1616
  "prop:suffix"?: WarpSlider["suffix"];
1635
- /** */
1617
+ /** Should only be used in special cases */
1636
1618
  "bool:hidden-textfield"?: WarpSlider["hiddenTextfield"];
1637
- /** */
1619
+ /** Should only be used in special cases */
1638
1620
  "prop:hiddenTextfield"?: WarpSlider["hiddenTextfield"];
1639
- /** Formatter for the tooltip and input mask values. */
1621
+ /** Formatter for the tooltip and input mask values */
1640
1622
  "prop:valueFormatter"?: WarpSlider["valueFormatter"];
1641
- /** Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. */
1623
+ /** Overrides valueFormatter for the tooltip.
1624
+
1625
+ Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. */
1642
1626
  "prop:tooltipFormatter"?: WarpSlider["tooltipFormatter"];
1643
1627
  /** Formatter for the min and max labels below the range. */
1644
1628
  "prop:labelFormatter"?: WarpSlider["labelFormatter"];
1645
- /** */
1646
- "prop:fieldset"?: WarpSlider["fieldset"];
1647
- /** */
1648
- "prop:_invalidMessage"?: WarpSlider["_invalidMessage"];
1649
- /** */
1650
- "prop:_hasInternalError"?: WarpSlider["_hasInternalError"];
1651
- /** */
1652
- "prop:_showError"?: WarpSlider["_showError"];
1653
- /** */
1654
- "prop:_tabbableElements"?: WarpSlider["_tabbableElements"];
1655
1629
 
1656
1630
  /** Set the innerHTML of the element */
1657
1631
  innerHTML?: string;
@@ -1730,45 +1704,17 @@ export type WarpSwitchSolidJsProps = {
1730
1704
  };
1731
1705
 
1732
1706
  export type WarpTabProps = {
1733
- /** */
1734
- id?: WarpTab["id"];
1735
- /** */
1707
+ /** The `id` of the `<w-tab-panel>` this tab controls. */
1736
1708
  for?: WarpTab["for"];
1737
- /** */
1738
- "aria-controls"?: WarpTab["_ariaControlsAttr"];
1739
- /** */
1740
- _ariaControlsAttr?: WarpTab["_ariaControlsAttr"];
1741
- /** */
1742
- "aria-selected"?: WarpTab["ariaSelected"];
1743
- /** */
1744
- ariaSelected?: WarpTab["ariaSelected"];
1745
- /** @deprecated Use `aria-selected="true"` instead */
1746
- active?: WarpTab["active"];
1747
- /** */
1709
+ /** Whether to show the `icon` slot over the tab title instead of inline. */
1748
1710
  over?: WarpTab["over"];
1749
- /** Override tabIndex setter to set _parentTabIndex (for backwards compatibility). */
1750
- tabIndex?: WarpTab["tabIndex"];
1751
1711
  };
1752
1712
 
1753
1713
  export type WarpTabSolidJsProps = {
1754
- /** */
1755
- "prop:id"?: WarpTab["id"];
1756
- /** */
1714
+ /** The `id` of the `<w-tab-panel>` this tab controls. */
1757
1715
  "prop:for"?: WarpTab["for"];
1758
- /** */
1759
- "attr:aria-controls"?: WarpTab["_ariaControlsAttr"];
1760
- /** */
1761
- "prop:_ariaControlsAttr"?: WarpTab["_ariaControlsAttr"];
1762
- /** */
1763
- "attr:aria-selected"?: WarpTab["ariaSelected"];
1764
- /** */
1765
- "prop:ariaSelected"?: WarpTab["ariaSelected"];
1766
- /** @deprecated Use `aria-selected="true"` instead */
1767
- "prop:active"?: WarpTab["active"];
1768
- /** */
1716
+ /** Whether to show the `icon` slot over the tab title instead of inline. */
1769
1717
  "prop:over"?: WarpTab["over"];
1770
- /** Override tabIndex setter to set _parentTabIndex (for backwards compatibility). */
1771
- "prop:tabIndex"?: WarpTab["tabIndex"];
1772
1718
 
1773
1719
  /** Set the innerHTML of the element */
1774
1720
  innerHTML?: string;
@@ -1777,15 +1723,13 @@ export type WarpTabSolidJsProps = {
1777
1723
  };
1778
1724
 
1779
1725
  export type WarpTabPanelProps = {
1780
- /** Whether this panel is active (visible).
1781
- Set by parent w-tabs via the _parentActive property. */
1782
- active?: WarpTabPanel["active"];
1726
+ /** Required so `<w-tab>` has something to target. */
1727
+ id?: WarpTabPanel["id"];
1783
1728
  };
1784
1729
 
1785
1730
  export type WarpTabPanelSolidJsProps = {
1786
- /** Whether this panel is active (visible).
1787
- Set by parent w-tabs via the _parentActive property. */
1788
- "prop:active"?: WarpTabPanel["active"];
1731
+ /** Required so `<w-tab>` has something to target. */
1732
+ "prop:id"?: WarpTabPanel["id"];
1789
1733
 
1790
1734
  /** Set the innerHTML of the element */
1791
1735
  innerHTML?: string;
@@ -1794,18 +1738,18 @@ Set by parent w-tabs via the _parentActive property. */
1794
1738
  };
1795
1739
 
1796
1740
  export type WarpTabsProps = {
1797
- /** */
1741
+ /** The `id` of the panel that should be active. */
1798
1742
  active?: WarpTabs["active"];
1799
1743
 
1800
- /** */
1801
- onchange?: (e: CustomEvent) => void;
1744
+ /** Includes `details.panelId` with the now active tab's ID */
1745
+ onchange?: (e: WarpTabsChangeEvent) => void;
1802
1746
  };
1803
1747
 
1804
1748
  export type WarpTabsSolidJsProps = {
1805
- /** */
1749
+ /** The `id` of the panel that should be active. */
1806
1750
  "prop:active"?: WarpTabs["active"];
1807
- /** */
1808
- "on:change"?: (e: CustomEvent) => void;
1751
+ /** Includes `details.panelId` with the now active tab's ID */
1752
+ "on:change"?: (e: WarpTabsChangeEvent) => void;
1809
1753
 
1810
1754
  /** Set the innerHTML of the element */
1811
1755
  innerHTML?: string;
@@ -2180,7 +2124,8 @@ export type CustomElements = {
2180
2124
  "w-box": Partial<WarpBoxProps & BaseProps<WarpBox> & BaseEvents>;
2181
2125
 
2182
2126
  /**
2183
- * Breadcrumbs show the navigation structure for the current location.
2127
+ * Shows the navigation structure for the current page.
2128
+ * Renders direct child links and non-link elements as a breadcrumb trail, inserts separators between items, and exposes the trail as navigation.
2184
2129
  *
2185
2130
  * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
2186
2131
  *
@@ -2188,7 +2133,8 @@ export type CustomElements = {
2188
2133
  *
2189
2134
  * Component attributes and properties that can be applied to the element or by using JavaScript.
2190
2135
  *
2191
- * - `ariaLabel`: undefined (property only)
2136
+ * - `ariaLabel`: Accessible label for the breadcrumb navigation.
2137
+ * Defaults to the localized "You are here" label. Set `aria-label` when the default label is not specific enough for the page. (property only)
2192
2138
  */
2193
2139
  "w-breadcrumbs": Partial<
2194
2140
  WarpBreadcrumbsProps & BaseProps<WarpBreadcrumbs> & BaseEvents
@@ -2670,31 +2616,22 @@ export type CustomElements = {
2670
2616
  /**
2671
2617
  * Component to place inside a `<w-slider>`.
2672
2618
  *
2673
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
2674
- *
2675
2619
  * ## Attributes & Properties
2676
2620
  *
2677
2621
  * Component attributes and properties that can be applied to the element or by using JavaScript.
2678
2622
  *
2679
- * - `aria-label`/`ariaLabel`: undefined
2680
- * - `aria-description`/`ariaDescription`: undefined
2681
- * - `name`: undefined
2682
- * - `value`: undefined
2683
- * - `placeholder`: undefined
2684
- * - `range`: undefined (property only)
2685
- * - `tooltipTarget`: undefined (property only)
2686
- * - `textfield`: undefined (property only)
2687
- * - `boundaryValue`: undefined (property only) (readonly)
2688
- * - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
2689
- * - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
2690
- * - `ariaDescriptionText`: undefined (property only) (readonly)
2623
+ * - `aria-label`/`ariaLabel`: Label for the range input.
2624
+ * - `aria-description`/`ariaDescription`: Contextual information for assistive technology, should it be needed
2625
+ * - `name`: The name of this input field in the form. The canonical source of the value is the text field.
2626
+ * - `value`: The initial value, if any
2627
+ * - `placeholder`: Placeholder in empty text fields
2691
2628
  *
2692
2629
  * ## Events
2693
2630
  *
2694
2631
  * Events that will be emitted by the component.
2695
2632
  *
2696
- * - `thumbreset`: undefined
2697
- * - `slidervalidity`: undefined
2633
+ * - `thumbreset`: Internal event used by (and stopped by) `w-slider`.
2634
+ * - `slidervalidity`: Internal event used by (and stopped by) `w-slider`.
2698
2635
  *
2699
2636
  * ## Methods
2700
2637
  *
@@ -2710,8 +2647,6 @@ export type CustomElements = {
2710
2647
  /**
2711
2648
  * Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
2712
2649
  *
2713
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
2714
- *
2715
2650
  * ## Attributes & Properties
2716
2651
  *
2717
2652
  * Component attributes and properties that can be applied to the element or by using JavaScript.
@@ -2721,28 +2656,21 @@ export type CustomElements = {
2721
2656
  * If you need to display HTML, use the `label` slot instead (f. ex. `<legend class="sr-only" slot="label">Production year</legend>`)
2722
2657
  * - `disabled`: undefined
2723
2658
  * - `open-ended`/`openEnded`: Whether or not to allow values outside the range such as "Before 1950" and "2025+".
2724
- * - `error`: undefined
2725
- * - `help-text`/`helpText`: undefined
2726
- * - `invalid`: undefined
2727
- * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
2728
- * - `min`: undefined
2729
- * - `max`: undefined
2659
+ * - `error`: Validation error text, if any
2660
+ * - `help-text`/`helpText`: Additional description to show below the fieldset
2661
+ * - `invalid`: Sets the form fields and fieldset in an invalid state
2662
+ * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit
2663
+ * - `min`: The minimum allowed value in the range inputs
2664
+ * - `max`: The maximum allowed value in the range inputs
2730
2665
  * - `markers`: Pass a value similar to step to create visual markers at that interval
2731
- * - `step`: undefined
2732
- * - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
2733
- * - `hidden-textfield`/`hiddenTextfield`: undefined
2734
- * - `valueFormatter`: Formatter for the tooltip and input mask values. (property only)
2735
- * - `tooltipFormatter`: Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. (property only)
2666
+ * - `step`: ets step on the range input to jump between values when dragging
2667
+ * - `suffix`: Suffix used in text input fields and for the min and max values of the slider
2668
+ * - `hidden-textfield`/`hiddenTextfield`: Should only be used in special cases
2669
+ * - `valueFormatter`: Formatter for the tooltip and input mask values (property only)
2670
+ * - `tooltipFormatter`: Overrides valueFormatter for the tooltip.
2671
+ *
2672
+ * Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. (property only)
2736
2673
  * - `labelFormatter`: Formatter for the min and max labels below the range. (property only)
2737
- * - `fieldset`: undefined (property only)
2738
- * - `_invalidMessage`: undefined (property only)
2739
- * - `_hasInternalError`: undefined (property only)
2740
- * - `_showError`: undefined (property only)
2741
- * - `_tabbableElements`: undefined (property only)
2742
- * - `edgeMin`: undefined (property only) (readonly)
2743
- * - `edgeMax`: undefined (property only) (readonly)
2744
- * - `componentHasError`: undefined (property only) (readonly)
2745
- * - `errorText`: undefined (property only) (readonly)
2746
2674
  *
2747
2675
  * ## Slots
2748
2676
  *
@@ -2826,20 +2754,12 @@ export type CustomElements = {
2826
2754
  /**
2827
2755
  * Individual tab component used within w-tabs container.
2828
2756
  *
2829
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2830
- *
2831
2757
  * ## Attributes & Properties
2832
2758
  *
2833
2759
  * Component attributes and properties that can be applied to the element or by using JavaScript.
2834
2760
  *
2835
- * - `id`: undefined
2836
- * - `for`: undefined
2837
- * - `aria-controls`/`_ariaControlsAttr`: undefined
2838
- * - `aria-selected`/`ariaSelected`: undefined
2839
- * - `active`: undefined
2840
- * - `over`: undefined
2841
- * - `tabIndex`: Override tabIndex setter to set _parentTabIndex (for backwards compatibility). (property only)
2842
- * - `_computedAriaSelected`: Computed aria-selected: prefers parent-managed, falls back to own property (property only) (readonly)
2761
+ * - `for`: The `id` of the `<w-tab-panel>` this tab controls.
2762
+ * - `over`: Whether to show the `icon` slot over the tab title instead of inline.
2843
2763
  */
2844
2764
  "w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
2845
2765
 
@@ -2847,14 +2767,11 @@ export type CustomElements = {
2847
2767
  * Tab panel component that holds content for individual tabs.
2848
2768
  * Each tab panel should have a name that matches a corresponding tab.
2849
2769
  *
2850
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2851
- *
2852
2770
  * ## Attributes & Properties
2853
2771
  *
2854
2772
  * Component attributes and properties that can be applied to the element or by using JavaScript.
2855
2773
  *
2856
- * - `active`: Whether this panel is active (visible).
2857
- * Set by parent w-tabs via the _parentActive property.
2774
+ * - `id`: Required so `<w-tab>` has something to target.
2858
2775
  */
2859
2776
  "w-tab-panel": Partial<
2860
2777
  WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
@@ -2863,21 +2780,17 @@ export type CustomElements = {
2863
2780
  /**
2864
2781
  * Tabs are used to organize content by grouping similar information on the same page.
2865
2782
  *
2866
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
2867
- *
2868
2783
  * ## Attributes & Properties
2869
2784
  *
2870
2785
  * Component attributes and properties that can be applied to the element or by using JavaScript.
2871
2786
  *
2872
- * - `active`: undefined
2873
- * - `tabs`: undefined (property only) (readonly)
2874
- * - `activeTab`: undefined (property only) (readonly)
2787
+ * - `active`: The `id` of the panel that should be active.
2875
2788
  *
2876
2789
  * ## Events
2877
2790
  *
2878
2791
  * Events that will be emitted by the component.
2879
2792
  *
2880
- * - `change`: undefined
2793
+ * - `change`: Includes `details.panelId` with the now active tab's ID
2881
2794
  */
2882
2795
  "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
2883
2796
 
@@ -3225,7 +3138,8 @@ export type CustomElementsSolidJs = {
3225
3138
  >;
3226
3139
 
3227
3140
  /**
3228
- * Breadcrumbs show the navigation structure for the current location.
3141
+ * Shows the navigation structure for the current page.
3142
+ * Renders direct child links and non-link elements as a breadcrumb trail, inserts separators between items, and exposes the trail as navigation.
3229
3143
  *
3230
3144
  * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)
3231
3145
  *
@@ -3233,7 +3147,8 @@ export type CustomElementsSolidJs = {
3233
3147
  *
3234
3148
  * Component attributes and properties that can be applied to the element or by using JavaScript.
3235
3149
  *
3236
- * - `ariaLabel`: undefined (property only)
3150
+ * - `ariaLabel`: Accessible label for the breadcrumb navigation.
3151
+ * Defaults to the localized "You are here" label. Set `aria-label` when the default label is not specific enough for the page. (property only)
3237
3152
  */
3238
3153
  "w-breadcrumbs": Partial<
3239
3154
  WarpBreadcrumbsProps &
@@ -3760,31 +3675,22 @@ export type CustomElementsSolidJs = {
3760
3675
  /**
3761
3676
  * Component to place inside a `<w-slider>`.
3762
3677
  *
3763
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
3764
- *
3765
3678
  * ## Attributes & Properties
3766
3679
  *
3767
3680
  * Component attributes and properties that can be applied to the element or by using JavaScript.
3768
3681
  *
3769
- * - `aria-label`/`ariaLabel`: undefined
3770
- * - `aria-description`/`ariaDescription`: undefined
3771
- * - `name`: undefined
3772
- * - `value`: undefined
3773
- * - `placeholder`: undefined
3774
- * - `range`: undefined (property only)
3775
- * - `tooltipTarget`: undefined (property only)
3776
- * - `textfield`: undefined (property only)
3777
- * - `boundaryValue`: undefined (property only) (readonly)
3778
- * - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
3779
- * - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
3780
- * - `ariaDescriptionText`: undefined (property only) (readonly)
3682
+ * - `aria-label`/`ariaLabel`: Label for the range input.
3683
+ * - `aria-description`/`ariaDescription`: Contextual information for assistive technology, should it be needed
3684
+ * - `name`: The name of this input field in the form. The canonical source of the value is the text field.
3685
+ * - `value`: The initial value, if any
3686
+ * - `placeholder`: Placeholder in empty text fields
3781
3687
  *
3782
3688
  * ## Events
3783
3689
  *
3784
3690
  * Events that will be emitted by the component.
3785
3691
  *
3786
- * - `thumbreset`: undefined
3787
- * - `slidervalidity`: undefined
3692
+ * - `thumbreset`: Internal event used by (and stopped by) `w-slider`.
3693
+ * - `slidervalidity`: Internal event used by (and stopped by) `w-slider`.
3788
3694
  *
3789
3695
  * ## Methods
3790
3696
  *
@@ -3803,8 +3709,6 @@ export type CustomElementsSolidJs = {
3803
3709
  /**
3804
3710
  * Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
3805
3711
  *
3806
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
3807
- *
3808
3712
  * ## Attributes & Properties
3809
3713
  *
3810
3714
  * Component attributes and properties that can be applied to the element or by using JavaScript.
@@ -3814,28 +3718,21 @@ export type CustomElementsSolidJs = {
3814
3718
  * If you need to display HTML, use the `label` slot instead (f. ex. `<legend class="sr-only" slot="label">Production year</legend>`)
3815
3719
  * - `disabled`: undefined
3816
3720
  * - `open-ended`/`openEnded`: Whether or not to allow values outside the range such as "Before 1950" and "2025+".
3817
- * - `error`: undefined
3818
- * - `help-text`/`helpText`: undefined
3819
- * - `invalid`: undefined
3820
- * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
3821
- * - `min`: undefined
3822
- * - `max`: undefined
3721
+ * - `error`: Validation error text, if any
3722
+ * - `help-text`/`helpText`: Additional description to show below the fieldset
3723
+ * - `invalid`: Sets the form fields and fieldset in an invalid state
3724
+ * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit
3725
+ * - `min`: The minimum allowed value in the range inputs
3726
+ * - `max`: The maximum allowed value in the range inputs
3823
3727
  * - `markers`: Pass a value similar to step to create visual markers at that interval
3824
- * - `step`: undefined
3825
- * - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
3826
- * - `hidden-textfield`/`hiddenTextfield`: undefined
3827
- * - `valueFormatter`: Formatter for the tooltip and input mask values. (property only)
3828
- * - `tooltipFormatter`: Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. (property only)
3728
+ * - `step`: ets step on the range input to jump between values when dragging
3729
+ * - `suffix`: Suffix used in text input fields and for the min and max values of the slider
3730
+ * - `hidden-textfield`/`hiddenTextfield`: Should only be used in special cases
3731
+ * - `valueFormatter`: Formatter for the tooltip and input mask values (property only)
3732
+ * - `tooltipFormatter`: Overrides valueFormatter for the tooltip.
3733
+ *
3734
+ * Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. (property only)
3829
3735
  * - `labelFormatter`: Formatter for the min and max labels below the range. (property only)
3830
- * - `fieldset`: undefined (property only)
3831
- * - `_invalidMessage`: undefined (property only)
3832
- * - `_hasInternalError`: undefined (property only)
3833
- * - `_showError`: undefined (property only)
3834
- * - `_tabbableElements`: undefined (property only)
3835
- * - `edgeMin`: undefined (property only) (readonly)
3836
- * - `edgeMax`: undefined (property only) (readonly)
3837
- * - `componentHasError`: undefined (property only) (readonly)
3838
- * - `errorText`: undefined (property only) (readonly)
3839
3736
  *
3840
3737
  * ## Slots
3841
3738
  *
@@ -3934,20 +3831,12 @@ export type CustomElementsSolidJs = {
3934
3831
  /**
3935
3832
  * Individual tab component used within w-tabs container.
3936
3833
  *
3937
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
3938
- *
3939
3834
  * ## Attributes & Properties
3940
3835
  *
3941
3836
  * Component attributes and properties that can be applied to the element or by using JavaScript.
3942
3837
  *
3943
- * - `id`: undefined
3944
- * - `for`: undefined
3945
- * - `aria-controls`/`_ariaControlsAttr`: undefined
3946
- * - `aria-selected`/`ariaSelected`: undefined
3947
- * - `active`: undefined
3948
- * - `over`: undefined
3949
- * - `tabIndex`: Override tabIndex setter to set _parentTabIndex (for backwards compatibility). (property only)
3950
- * - `_computedAriaSelected`: Computed aria-selected: prefers parent-managed, falls back to own property (property only) (readonly)
3838
+ * - `for`: The `id` of the `<w-tab-panel>` this tab controls.
3839
+ * - `over`: Whether to show the `icon` slot over the tab title instead of inline.
3951
3840
  */
3952
3841
  "w-tab": Partial<
3953
3842
  WarpTabProps & WarpTabSolidJsProps & BaseProps<WarpTab> & BaseEvents
@@ -3957,14 +3846,11 @@ export type CustomElementsSolidJs = {
3957
3846
  * Tab panel component that holds content for individual tabs.
3958
3847
  * Each tab panel should have a name that matches a corresponding tab.
3959
3848
  *
3960
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
3961
- *
3962
3849
  * ## Attributes & Properties
3963
3850
  *
3964
3851
  * Component attributes and properties that can be applied to the element or by using JavaScript.
3965
3852
  *
3966
- * - `active`: Whether this panel is active (visible).
3967
- * Set by parent w-tabs via the _parentActive property.
3853
+ * - `id`: Required so `<w-tab>` has something to target.
3968
3854
  */
3969
3855
  "w-tab-panel": Partial<
3970
3856
  WarpTabPanelProps &
@@ -3976,21 +3862,17 @@ export type CustomElementsSolidJs = {
3976
3862
  /**
3977
3863
  * Tabs are used to organize content by grouping similar information on the same page.
3978
3864
  *
3979
- * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
3980
- *
3981
3865
  * ## Attributes & Properties
3982
3866
  *
3983
3867
  * Component attributes and properties that can be applied to the element or by using JavaScript.
3984
3868
  *
3985
- * - `active`: undefined
3986
- * - `tabs`: undefined (property only) (readonly)
3987
- * - `activeTab`: undefined (property only) (readonly)
3869
+ * - `active`: The `id` of the panel that should be active.
3988
3870
  *
3989
3871
  * ## Events
3990
3872
  *
3991
3873
  * Events that will be emitted by the component.
3992
3874
  *
3993
- * - `change`: undefined
3875
+ * - `change`: Includes `details.panelId` with the now active tab's ID
3994
3876
  */
3995
3877
  "w-tabs": Partial<
3996
3878
  WarpTabsProps & WarpTabsSolidJsProps & BaseProps<WarpTabs> & BaseEvents