@warp-ds/elements 2.3.0-next.1 → 2.3.0-next.10

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 (248) hide show
  1. package/dist/custom-elements.json +3551 -312
  2. package/dist/index.d.ts +571 -2
  3. package/dist/packages/affix/react.d.ts +1 -1
  4. package/dist/packages/alert/react.d.ts +1 -1
  5. package/dist/packages/attention/index.js +3 -3
  6. package/dist/packages/attention/index.js.map +1 -1
  7. package/dist/packages/attention/react.d.ts +1 -1
  8. package/dist/packages/badge/react.d.ts +1 -1
  9. package/dist/packages/box/react.d.ts +1 -1
  10. package/dist/packages/breadcrumbs/react.d.ts +1 -1
  11. package/dist/packages/button/index.js +3 -3
  12. package/dist/packages/button/index.js.map +1 -1
  13. package/dist/packages/button/react.d.ts +1 -1
  14. package/dist/packages/card/react.d.ts +1 -1
  15. package/dist/packages/combobox/combobox.react.stories.d.ts +28 -0
  16. package/dist/packages/combobox/combobox.react.stories.js +90 -0
  17. package/dist/packages/combobox/combobox.stories.d.ts +18 -0
  18. package/dist/packages/combobox/combobox.stories.js +117 -0
  19. package/dist/packages/combobox/index.d.ts +85 -0
  20. package/dist/packages/combobox/index.js +2492 -0
  21. package/dist/packages/combobox/index.js.map +7 -0
  22. package/dist/packages/combobox/locales/da/messages.d.mts +1 -0
  23. package/dist/packages/combobox/locales/da/messages.mjs +1 -0
  24. package/dist/packages/combobox/locales/en/messages.d.mts +1 -0
  25. package/dist/packages/combobox/locales/en/messages.mjs +1 -0
  26. package/dist/packages/combobox/locales/fi/messages.d.mts +1 -0
  27. package/dist/packages/combobox/locales/fi/messages.mjs +1 -0
  28. package/dist/packages/combobox/locales/nb/messages.d.mts +1 -0
  29. package/dist/packages/combobox/locales/nb/messages.mjs +1 -0
  30. package/dist/packages/combobox/locales/sv/messages.d.mts +1 -0
  31. package/dist/packages/combobox/locales/sv/messages.mjs +1 -0
  32. package/dist/packages/combobox/react.d.ts +7 -0
  33. package/dist/packages/combobox/react.js +17 -0
  34. package/dist/packages/combobox/styles.d.ts +1 -0
  35. package/dist/packages/combobox/styles.js +2 -0
  36. package/dist/packages/datepicker/DatePicker.test.d.ts +2 -0
  37. package/dist/packages/datepicker/DatePicker.test.js +69 -0
  38. package/dist/packages/datepicker/datepicker.d.ts +102 -0
  39. package/dist/packages/datepicker/datepicker.js +2785 -0
  40. package/dist/packages/datepicker/datepicker.js.map +7 -0
  41. package/dist/packages/datepicker/datepicker.react.stories.d.ts +18 -0
  42. package/dist/packages/datepicker/datepicker.react.stories.js +26 -0
  43. package/dist/packages/datepicker/datepicker.stories.d.ts +12 -0
  44. package/dist/packages/datepicker/datepicker.stories.js +51 -0
  45. package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
  46. package/dist/packages/datepicker/datepicker.test.js +62 -0
  47. package/dist/packages/datepicker/index.d.ts +1 -0
  48. package/dist/packages/datepicker/index.js +1 -0
  49. package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
  50. package/dist/packages/datepicker/locales/da/messages.mjs +1 -0
  51. package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
  52. package/dist/packages/datepicker/locales/en/messages.mjs +1 -0
  53. package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
  54. package/dist/packages/datepicker/locales/fi/messages.mjs +1 -0
  55. package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
  56. package/dist/packages/datepicker/locales/nb/messages.mjs +1 -0
  57. package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
  58. package/dist/packages/datepicker/locales/sv/messages.mjs +1 -0
  59. package/dist/packages/datepicker/react.d.ts +5 -0
  60. package/dist/packages/datepicker/react.js +15 -0
  61. package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
  62. package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +15 -0
  63. package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
  64. package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +64 -0
  65. package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
  66. package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +72 -0
  67. package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
  68. package/dist/packages/datepicker/styles/w-datepicker.styles.js +101 -0
  69. package/dist/packages/datepicker/utils.d.ts +13 -0
  70. package/dist/packages/datepicker/utils.js +28 -0
  71. package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +15 -0
  72. package/dist/packages/dead-toggle/dead-toggle.react.stories.js +34 -0
  73. package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +14 -0
  74. package/dist/packages/dead-toggle/dead-toggle.stories.js +45 -0
  75. package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
  76. package/dist/packages/dead-toggle/dead-toggle.test.js +9 -0
  77. package/dist/packages/dead-toggle/index.d.ts +17 -0
  78. package/dist/packages/dead-toggle/index.js +2547 -0
  79. package/dist/packages/dead-toggle/index.js.map +7 -0
  80. package/dist/packages/dead-toggle/react.d.ts +2 -0
  81. package/dist/packages/dead-toggle/react.js +11 -0
  82. package/dist/packages/expandable/react.d.ts +1 -1
  83. package/dist/packages/link/index.js +2640 -93
  84. package/dist/packages/link/index.js.map +7 -0
  85. package/dist/packages/link/link.react.stories.d.ts +21 -0
  86. package/dist/packages/link/link.react.stories.js +96 -0
  87. package/dist/packages/link/link.stories.d.ts +20 -0
  88. package/dist/packages/link/link.stories.js +110 -0
  89. package/dist/packages/link/link.test.d.ts +1 -0
  90. package/dist/packages/link/link.test.js +9 -0
  91. package/dist/packages/link/react.d.ts +2 -0
  92. package/dist/packages/link/react.js +11 -0
  93. package/dist/packages/link/styles.js +3 -3
  94. package/dist/packages/modal/react.d.ts +1 -1
  95. package/dist/packages/pageindicator/index.d.ts +10 -0
  96. package/dist/packages/pageindicator/index.js +32 -0
  97. package/dist/packages/pageindicator/index.js.map +7 -0
  98. package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +19 -0
  99. package/dist/packages/pageindicator/pageindicator.react.stories.js +20 -0
  100. package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
  101. package/dist/packages/pageindicator/pageindicator.stories.js +71 -0
  102. package/dist/packages/pageindicator/react.d.ts +2 -0
  103. package/dist/packages/pageindicator/react.js +11 -0
  104. package/dist/packages/pageindicator/style.d.ts +1 -0
  105. package/dist/packages/pageindicator/style.js +26 -0
  106. package/dist/packages/pagination/react.d.ts +1 -1
  107. package/dist/packages/pill/react.d.ts +1 -1
  108. package/dist/packages/rip-and-tear-checkbox/checkbox-group.d.ts +10 -0
  109. package/dist/packages/rip-and-tear-checkbox/checkbox-group.js +7 -0
  110. package/dist/packages/rip-and-tear-checkbox/checkbox-group.js.map +7 -0
  111. package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +66 -0
  112. package/dist/packages/rip-and-tear-checkbox/checkbox.js +2591 -0
  113. package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
  114. package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +11 -0
  115. package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +25 -0
  116. package/dist/packages/rip-and-tear-checkbox/index.d.ts +1 -0
  117. package/dist/packages/rip-and-tear-checkbox/index.js +6 -0
  118. package/dist/packages/rip-and-tear-checkbox/react.d.ts +7 -0
  119. package/dist/packages/rip-and-tear-checkbox/react.js +20 -0
  120. package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +12 -0
  121. package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +10 -0
  122. package/dist/packages/rip-and-tear-checkbox/styles.d.ts +0 -0
  123. package/dist/packages/rip-and-tear-checkbox/styles.js +0 -0
  124. package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
  125. package/dist/packages/rip-and-tear-radio/base-element.js +100 -0
  126. package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
  127. package/dist/packages/rip-and-tear-radio/custom-error-validator.js +22 -0
  128. package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
  129. package/dist/packages/rip-and-tear-radio/form-associated-element.js +282 -0
  130. package/dist/packages/rip-and-tear-radio/host-styles.d.ts +1 -0
  131. package/dist/packages/rip-and-tear-radio/host-styles.js +12 -0
  132. package/dist/packages/rip-and-tear-radio/index.d.ts +1 -0
  133. package/dist/packages/rip-and-tear-radio/index.js +6 -0
  134. package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
  135. package/dist/packages/rip-and-tear-radio/invalid.js +5 -0
  136. package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
  137. package/dist/packages/rip-and-tear-radio/math.js +4 -0
  138. package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +1 -0
  139. package/dist/packages/rip-and-tear-radio/radio-group-styles.js +59 -0
  140. package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
  141. package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
  142. package/dist/packages/rip-and-tear-radio/radio-group.js +2648 -0
  143. package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
  144. package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -0
  145. package/dist/packages/rip-and-tear-radio/radio-styles.js +1 -0
  146. package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
  147. package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
  148. package/dist/packages/rip-and-tear-radio/radio.js +2562 -0
  149. package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
  150. package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +8 -0
  151. package/dist/packages/rip-and-tear-radio/radio.stories.js +2653 -0
  152. package/dist/packages/rip-and-tear-radio/radio.stories.js.map +7 -0
  153. package/dist/packages/rip-and-tear-radio/react.d.ts +9 -0
  154. package/dist/packages/rip-and-tear-radio/react.js +22 -0
  155. package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
  156. package/dist/packages/rip-and-tear-radio/required-validator.js +34 -0
  157. package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +9 -0
  158. package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +10 -0
  159. package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
  160. package/dist/packages/rip-and-tear-radio/slot.js +71 -0
  161. package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
  162. package/dist/packages/rip-and-tear-radio/watch.js +39 -0
  163. package/dist/packages/select/react.d.ts +1 -1
  164. package/dist/packages/slider/react.d.ts +2 -2
  165. package/dist/packages/steps/index.d.ts +36 -0
  166. package/dist/packages/steps/index.js +2465 -0
  167. package/dist/packages/steps/index.js.map +7 -0
  168. package/dist/packages/steps/locales/da/messages.d.mts +1 -0
  169. package/dist/packages/steps/locales/da/messages.mjs +1 -0
  170. package/dist/packages/steps/locales/en/messages.d.mts +1 -0
  171. package/dist/packages/steps/locales/en/messages.mjs +1 -0
  172. package/dist/packages/steps/locales/fi/messages.d.mts +1 -0
  173. package/dist/packages/steps/locales/fi/messages.mjs +1 -0
  174. package/dist/packages/steps/locales/nb/messages.d.mts +1 -0
  175. package/dist/packages/steps/locales/nb/messages.mjs +1 -0
  176. package/dist/packages/steps/locales/sv/messages.d.mts +1 -0
  177. package/dist/packages/steps/locales/sv/messages.mjs +1 -0
  178. package/dist/packages/steps/react.d.ts +3 -0
  179. package/dist/packages/steps/react.js +16 -0
  180. package/dist/packages/steps/steps.react.stories.d.ts +15 -0
  181. package/dist/packages/steps/steps.react.stories.js +112 -0
  182. package/dist/packages/steps/steps.stories.d.ts +12 -0
  183. package/dist/packages/steps/steps.stories.js +172 -0
  184. package/dist/packages/steps/styles.d.ts +1 -0
  185. package/dist/packages/steps/styles.js +2 -0
  186. package/dist/packages/switch/index.d.ts +15 -0
  187. package/dist/packages/switch/index.js +2456 -0
  188. package/dist/packages/switch/index.js.map +7 -0
  189. package/dist/packages/switch/react.d.ts +5 -0
  190. package/dist/packages/switch/react.js +15 -0
  191. package/dist/packages/switch/styles.d.ts +1 -0
  192. package/dist/packages/switch/styles.js +2 -0
  193. package/dist/packages/switch/switch.react.stories.d.ts +15 -0
  194. package/dist/packages/switch/switch.react.stories.js +29 -0
  195. package/dist/packages/switch/switch.stories.d.ts +9 -0
  196. package/dist/packages/switch/switch.stories.js +34 -0
  197. package/dist/packages/tabs/index.d.ts +4 -0
  198. package/dist/packages/tabs/index.js +3 -0
  199. package/dist/packages/tabs/react.d.ts +12 -0
  200. package/dist/packages/tabs/react.js +31 -0
  201. package/dist/packages/tabs/styles.d.ts +1 -0
  202. package/dist/packages/tabs/styles.js +2 -0
  203. package/dist/packages/tabs/tab-panel.d.ts +20 -0
  204. package/dist/packages/tabs/tab-panel.js +51 -0
  205. package/dist/packages/tabs/tab.d.ts +18 -0
  206. package/dist/packages/tabs/tab.js +2464 -0
  207. package/dist/packages/tabs/tab.js.map +7 -0
  208. package/dist/packages/tabs/tabs.d.ts +40 -0
  209. package/dist/packages/tabs/tabs.js +2448 -0
  210. package/dist/packages/tabs/tabs.js.map +7 -0
  211. package/dist/packages/tabs/tabs.react.stories.d.ts +15 -0
  212. package/dist/packages/tabs/tabs.react.stories.js +51 -0
  213. package/dist/packages/tabs/tabs.stories.d.ts +11 -0
  214. package/dist/packages/tabs/tabs.stories.js +93 -0
  215. package/dist/packages/textarea/index.d.ts +1 -0
  216. package/dist/packages/textarea/index.js +1 -0
  217. package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
  218. package/dist/packages/textarea/locales/da/messages.mjs +1 -0
  219. package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
  220. package/dist/packages/textarea/locales/en/messages.mjs +1 -0
  221. package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
  222. package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
  223. package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
  224. package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
  225. package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
  226. package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
  227. package/dist/packages/textarea/react.d.ts +11 -0
  228. package/dist/packages/textarea/react.js +21 -0
  229. package/dist/packages/textarea/styles.d.ts +1 -0
  230. package/dist/packages/textarea/styles.js +2 -0
  231. package/dist/packages/textarea/textarea.d.ts +48 -0
  232. package/dist/packages/textarea/textarea.js +2475 -0
  233. package/dist/packages/textarea/textarea.js.map +7 -0
  234. package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
  235. package/dist/packages/textarea/textarea.react.stories.js +41 -0
  236. package/dist/packages/textarea/textarea.stories.d.ts +19 -0
  237. package/dist/packages/textarea/textarea.stories.js +85 -0
  238. package/dist/packages/textarea/textarea.test.d.ts +1 -0
  239. package/dist/packages/textarea/textarea.test.js +49 -0
  240. package/dist/packages/textfield/index.d.ts +2 -0
  241. package/dist/packages/textfield/index.js +5 -5
  242. package/dist/packages/textfield/index.js.map +2 -2
  243. package/dist/packages/textfield/react.d.ts +1 -1
  244. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  245. package/dist/packages/toggle-styles.d.ts +1 -0
  246. package/dist/packages/toggle-styles.js +108 -0
  247. package/dist/web-types.json +539 -1
  248. package/package.json +191 -3
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  import type { WarpAffix } from "./packages/affix/index.ts";
3
3
  import type { WarpAlert } from "./packages/alert/index.ts";
4
+ import type { WarpLink } from "./packages/link/index.ts";
4
5
  import type { WarpButton } from "./packages/button/index.ts";
5
6
  import type { WarpAttention } from "./packages/attention/index.ts";
6
7
  import type { WarpBadge } from "./packages/badge/index.ts";
@@ -15,9 +16,19 @@ import type { ModalFooter } from "./packages/modal/modal-footer.ts";
15
16
  import type { ModalHeader } from "./packages/modal/modal-header.ts";
16
17
  import type { ModalMain } from "./packages/modal/modal-main.ts";
17
18
  import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
19
+ import type { WarpCombobox } from "./packages/combobox/index.ts";
20
+ import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
21
+ import type { WarpDeadToggle } from "./packages/dead-toggle/index.ts";
22
+ import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
18
23
  import type { WarpPagination } from "./packages/pagination/index.ts";
24
+ import type { WCheckboxGroup } from "./packages/rip-and-tear-checkbox/checkbox-group.ts";
19
25
  import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
20
26
  import type { WarpSlider } from "./packages/slider/slider.ts";
27
+ import type { WarpSteps, WarpStep } from "./packages/steps/index.ts";
28
+ import type { WarpSwitch } from "./packages/switch/index.ts";
29
+ import type { WarpTab } from "./packages/tabs/tab.ts";
30
+ import type { WarpTabs } from "./packages/tabs/tabs.ts";
31
+ import type { WarpTextarea } from "./packages/textarea/textarea.ts";
21
32
 
22
33
  /**
23
34
  * This type can be used to create scoped tags for your components.
@@ -130,6 +141,40 @@ export type WarpAlertProps = {
130
141
  }
131
142
 
132
143
 
144
+ export type WarpLinkProps = {
145
+ /** */
146
+ "autofocus"?: WarpLink['autofocus'];
147
+ /** */
148
+ "variant"?: WarpLink['variant'];
149
+ /** */
150
+ "quiet"?: WarpLink['quiet'];
151
+ /** */
152
+ "small"?: WarpLink['small'];
153
+ /** */
154
+ "href"?: WarpLink['href'];
155
+ /** */
156
+ "disabled"?: WarpLink['disabled'];
157
+ /** */
158
+ "target"?: WarpLink['target'];
159
+ /** */
160
+ "rel"?: WarpLink['rel'];
161
+ /** */
162
+ "full-width"?: WarpLink['fullWidth'];
163
+ /** */
164
+ "fullWidth"?: WarpLink['fullWidth'];
165
+ /** */
166
+ "button-class"?: WarpLink['buttonClass'];
167
+ /** */
168
+ "buttonClass"?: WarpLink['buttonClass'];
169
+ /** */
170
+ "name"?: WarpLink['name'];
171
+ /** */
172
+ "classes"?: WarpLink['classes'];
173
+
174
+
175
+ }
176
+
177
+
133
178
  export type WarpButtonProps = {
134
179
  /** */
135
180
  "type"?: WarpButton['type'];
@@ -394,11 +439,13 @@ export type WarpTextFieldProps = {
394
439
  "pattern"?: WarpTextField['pattern'];
395
440
  /** */
396
441
  "placeholder"?: WarpTextField['placeholder'];
397
- /** */
442
+ /** @deprecated Use the native readonly attribute instead. */
398
443
  "read-only"?: WarpTextField['readOnly'];
399
- /** */
444
+ /** @deprecated Use the native readonly attribute instead. */
400
445
  "readOnly"?: WarpTextField['readOnly'];
401
446
  /** */
447
+ "readonly"?: WarpTextField['readonly'];
448
+ /** */
402
449
  "required"?: WarpTextField['required'];
403
450
  /** */
404
451
  "type"?: WarpTextField['type'];
@@ -473,6 +520,152 @@ export type WarpToastContainerProps = {
473
520
  }
474
521
 
475
522
 
523
+ export type WarpComboboxProps = {
524
+ /** The available options to select from */
525
+ "options"?: WarpCombobox['options'];
526
+ /** Label above input */
527
+ "label"?: WarpCombobox['label'];
528
+ /** Input placeholder */
529
+ "placeholder"?: WarpCombobox['placeholder'];
530
+ /** The input value */
531
+ "value"?: WarpCombobox['value'];
532
+ /** Whether the popover opens when focus is on the text field */
533
+ "open-on-focus"?: WarpCombobox['openOnFocus'];
534
+ /** Whether the popover opens when focus is on the text field */
535
+ "openOnFocus"?: WarpCombobox['openOnFocus'];
536
+ /** Select active option on blur */
537
+ "select-on-blur"?: WarpCombobox['selectOnBlur'];
538
+ /** Select active option on blur */
539
+ "selectOnBlur"?: WarpCombobox['selectOnBlur'];
540
+ /** Whether the matching text segments in the options should be highlighted */
541
+ "match-text-segments"?: WarpCombobox['matchTextSegments'];
542
+ /** Whether the matching text segments in the options should be highlighted */
543
+ "matchTextSegments"?: WarpCombobox['matchTextSegments'];
544
+ /** Disable client-side static filtering */
545
+ "disable-static-filtering"?: WarpCombobox['disableStaticFiltering'];
546
+ /** Disable client-side static filtering */
547
+ "disableStaticFiltering"?: WarpCombobox['disableStaticFiltering'];
548
+ /** Renders the input field in an invalid state */
549
+ "invalid"?: WarpCombobox['invalid'];
550
+ /** The content to display as the help text */
551
+ "help-text"?: WarpCombobox['helpText'];
552
+ /** The content to display as the help text */
553
+ "helpText"?: WarpCombobox['helpText'];
554
+ /** Whether the element is disabled */
555
+ "disabled"?: WarpCombobox['disabled'];
556
+ /** Whether the element is required */
557
+ "required"?: WarpCombobox['required'];
558
+ /** Whether to show optional text */
559
+ "optional"?: WarpCombobox['optional'];
560
+ /** Additional container styling */
561
+ "class-name"?: WarpCombobox['containerClassName'];
562
+ /** Additional container styling */
563
+ "containerClassName"?: WarpCombobox['containerClassName'];
564
+ /** Additional list styling */
565
+ "list-class-name"?: WarpCombobox['listClassName'];
566
+ /** Additional list styling */
567
+ "listClassName"?: WarpCombobox['listClassName'];
568
+ /** Name attribute for form submission */
569
+ "name"?: WarpCombobox['name'];
570
+
571
+
572
+ }
573
+
574
+
575
+ export type WarpDatepickerProps = {
576
+ /** */
577
+ "label"?: WarpDatepicker['label'];
578
+ /** Takes precedence over the `<html>` lang attribute. */
579
+ "lang"?: WarpDatepicker['lang'];
580
+ /** */
581
+ "name"?: WarpDatepicker['name'];
582
+ /** */
583
+ "value"?: WarpDatepicker['value'];
584
+ /** Decides the format of the date as shown in the calendar header.
585
+
586
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
587
+ "header-format"?: WarpDatepicker['headerFormat'];
588
+ /** Decides the format of the date as shown in the calendar header.
589
+
590
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
591
+ "headerFormat"?: WarpDatepicker['headerFormat'];
592
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
593
+
594
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
595
+ "weekday-format"?: WarpDatepicker['weekdayFormat'];
596
+ /** Decides the format of the weekday as shown above the grid of dates in the calendar.
597
+
598
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
599
+ "weekdayFormat"?: WarpDatepicker['weekdayFormat'];
600
+ /** Decides the format of the day in the calendar as read to screen readers.
601
+
602
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
603
+ "day-format"?: WarpDatepicker['dayFormat'];
604
+ /** Decides the format of the day in the calendar as read to screen readers.
605
+
606
+ The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format). */
607
+ "dayFormat"?: WarpDatepicker['dayFormat'];
608
+ /** Lets you control if a date in the calendar should be disabled.
609
+
610
+ This needs to be set on the element instance in JavaScript, not as an HTML attribute. */
611
+ "isDayDisabled"?: WarpDatepicker['isDayDisabled'];
612
+ /** */
613
+ "isCalendarOpen"?: WarpDatepicker['isCalendarOpen'];
614
+ /** */
615
+ "navigationDate"?: WarpDatepicker['navigationDate'];
616
+ /** */
617
+ "calendar"?: WarpDatepicker['calendar'];
618
+ /** */
619
+ "input"?: WarpDatepicker['input'];
620
+ /** */
621
+ "toggleButton"?: WarpDatepicker['toggleButton'];
622
+ /** */
623
+ "wrapper"?: WarpDatepicker['wrapper'];
624
+ /** This is the first focusable element, needed for the modal focus trap.
625
+
626
+ Don't cache this and other `@query` fields from inside the calendar modal.
627
+ They work the first time, but once the calendar is closed and reopened
628
+ the query will point to an element that doesn't exist anymore. */
629
+ "previousMonthButton"?: WarpDatepicker['previousMonthButton'];
630
+ /** */
631
+ "todayCell"?: WarpDatepicker['todayCell'];
632
+ /** */
633
+ "selectedCell"?: WarpDatepicker['selectedCell'];
634
+
635
+
636
+ }
637
+
638
+
639
+ export type WarpDeadToggleProps = {
640
+ /** */
641
+ "type"?: WarpDeadToggle['type'];
642
+ /** */
643
+ "checked"?: WarpDeadToggle['checked'];
644
+ /** */
645
+ "indeterminate"?: WarpDeadToggle['indeterminate'];
646
+ /** */
647
+ "invalid"?: WarpDeadToggle['invalid'];
648
+ /** */
649
+ "disabled"?: WarpDeadToggle['disabled'];
650
+
651
+
652
+ }
653
+
654
+
655
+ export type WarpPageIndicatorProps = {
656
+ /** Currently selected page (1-based index) */
657
+ "selected-page"?: WarpPageIndicator['selectedPage'];
658
+ /** Currently selected page (1-based index) */
659
+ "selectedPage"?: WarpPageIndicator['selectedPage'];
660
+ /** Total number of pages */
661
+ "page-count"?: WarpPageIndicator['pageCount'];
662
+ /** Total number of pages */
663
+ "pageCount"?: WarpPageIndicator['pageCount'];
664
+
665
+
666
+ }
667
+
668
+
476
669
  export type WarpPaginationProps = {
477
670
  /** */
478
671
  "base-url"?: WarpPagination['baseUrl'];
@@ -494,6 +687,7 @@ export type WarpPaginationProps = {
494
687
  }
495
688
 
496
689
 
690
+
497
691
  export type WarpSliderThumbProps = {
498
692
  /** */
499
693
  "aria-label"?: WarpSliderThumb['ariaLabel'];
@@ -560,6 +754,112 @@ If you need to display HTML, use the `label` slot instead. */
560
754
  "formatter"?: WarpSlider['formatter'];
561
755
 
562
756
 
757
+ }
758
+
759
+
760
+ export type WarpStepsProps = {
761
+ /** */
762
+ "horizontal"?: WarpSteps['horizontal'];
763
+ /** */
764
+ "right"?: WarpSteps['right'];
765
+
766
+
767
+ }
768
+
769
+
770
+ export type WarpStepProps = {
771
+ /** */
772
+ "active"?: WarpStep['active'];
773
+ /** */
774
+ "completed"?: WarpStep['completed'];
775
+
776
+
777
+ }
778
+
779
+
780
+ export type WarpSwitchProps = {
781
+ /** */
782
+ "value"?: WarpSwitch['value'];
783
+ /** */
784
+ "disabled"?: WarpSwitch['disabled'];
785
+
786
+ /** */
787
+ "onchange"?: (e: CustomEvent<CustomEvent>) => void;
788
+ }
789
+
790
+
791
+ export type WarpTabProps = {
792
+ /** */
793
+ "name"?: WarpTab['name'];
794
+ /** */
795
+ "label"?: WarpTab['label'];
796
+ /** */
797
+ "active"?: WarpTab['active'];
798
+ /** */
799
+ "over"?: WarpTab['over'];
800
+ /** */
801
+ "tab-class"?: WarpTab['tabClass'];
802
+ /** */
803
+ "tabClass"?: WarpTab['tabClass'];
804
+
805
+
806
+ }
807
+
808
+
809
+ export type WarpTabsProps = {
810
+ /** */
811
+ "active"?: WarpTabs['active'];
812
+ /** */
813
+ "tab-class"?: WarpTabs['tabClass'];
814
+ /** */
815
+ "tabClass"?: WarpTabs['tabClass'];
816
+
817
+ /** */
818
+ "onchange"?: (e: CustomEvent<CustomEvent>) => void;
819
+ }
820
+
821
+
822
+ export type WarpTextareaProps = {
823
+ /** */
824
+ "disabled"?: WarpTextarea['disabled'];
825
+ /** */
826
+ "invalid"?: WarpTextarea['invalid'];
827
+ /** */
828
+ "label"?: WarpTextarea['label'];
829
+ /** */
830
+ "help-text"?: WarpTextarea['helpText'];
831
+ /** */
832
+ "helpText"?: WarpTextarea['helpText'];
833
+ /** */
834
+ "maximum-rows"?: WarpTextarea['maxRows'];
835
+ /** */
836
+ "maxRows"?: WarpTextarea['maxRows'];
837
+ /** */
838
+ "minimum-rows"?: WarpTextarea['minRows'];
839
+ /** */
840
+ "minRows"?: WarpTextarea['minRows'];
841
+ /** */
842
+ "name"?: WarpTextarea['name'];
843
+ /** */
844
+ "placeholder"?: WarpTextarea['placeholder'];
845
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
846
+ "read-only"?: WarpTextarea['readOnly'];
847
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
848
+ "readOnly"?: WarpTextarea['readOnly'];
849
+ /** */
850
+ "readonly"?: WarpTextarea['readonly'];
851
+ /** */
852
+ "required"?: WarpTextarea['required'];
853
+ /** */
854
+ "value"?: WarpTextarea['value'];
855
+ /** */
856
+ "optional"?: WarpTextarea['optional'];
857
+ /** */
858
+ "minHeight"?: WarpTextarea['minHeight'];
859
+ /** */
860
+ "maxHeight"?: WarpTextarea['maxHeight'];
861
+
862
+
563
863
  }
564
864
 
565
865
  export type CustomElements = {
@@ -604,6 +904,31 @@ If you need to display HTML, use the `label` slot instead. */
604
904
  "w-alert": Partial<WarpAlertProps & BaseProps<WarpAlert> & BaseEvents>;
605
905
 
606
906
 
907
+ /**
908
+ * Buttons are used to perform actions, with different visuals for different needs.
909
+ *
910
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)
911
+ *
912
+ * ## Attributes & Properties
913
+ *
914
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
915
+ *
916
+ * - `autofocus`: undefined
917
+ * - `variant`: undefined
918
+ * - `quiet`: undefined
919
+ * - `small`: undefined
920
+ * - `href`: undefined
921
+ * - `disabled`: undefined
922
+ * - `target`: undefined
923
+ * - `rel`: undefined
924
+ * - `full-width`/`fullWidth`: undefined
925
+ * - `button-class`/`buttonClass`: undefined
926
+ * - `name`: undefined
927
+ * - `classes`: undefined (property only)
928
+ */
929
+ "w-link": Partial<WarpLinkProps & BaseProps<WarpLink> & BaseEvents>;
930
+
931
+
607
932
  /**
608
933
  * Buttons are used to perform actions, widh different visuals for different needs.
609
934
  *
@@ -849,6 +1174,7 @@ If you need to display HTML, use the `label` slot instead. */
849
1174
  * - `pattern`: undefined
850
1175
  * - `placeholder`: undefined
851
1176
  * - `read-only`/`readOnly`: undefined
1177
+ * - `readonly`: undefined
852
1178
  * - `required`: undefined
853
1179
  * - `type`: undefined
854
1180
  * - `value`: undefined
@@ -980,6 +1306,113 @@ If you need to display HTML, use the `label` slot instead. */
980
1306
  "w-toast-container": Partial<WarpToastContainerProps & BaseProps<WarpToastContainer> & BaseEvents>;
981
1307
 
982
1308
 
1309
+ /**
1310
+ * A combobox element for text input with selectable options.
1311
+ *
1312
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)
1313
+ *
1314
+ * ## Attributes & Properties
1315
+ *
1316
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1317
+ *
1318
+ * - `options`: The available options to select from
1319
+ * - `label`: Label above input
1320
+ * - `placeholder`: Input placeholder
1321
+ * - `value`: The input value
1322
+ * - `open-on-focus`/`openOnFocus`: Whether the popover opens when focus is on the text field
1323
+ * - `select-on-blur`/`selectOnBlur`: Select active option on blur
1324
+ * - `match-text-segments`/`matchTextSegments`: Whether the matching text segments in the options should be highlighted
1325
+ * - `disable-static-filtering`/`disableStaticFiltering`: Disable client-side static filtering
1326
+ * - `invalid`: Renders the input field in an invalid state
1327
+ * - `help-text`/`helpText`: The content to display as the help text
1328
+ * - `disabled`: Whether the element is disabled
1329
+ * - `required`: Whether the element is required
1330
+ * - `optional`: Whether to show optional text
1331
+ * - `class-name`/`containerClassName`: Additional container styling
1332
+ * - `list-class-name`/`listClassName`: Additional list styling
1333
+ * - `name`: Name attribute for form submission
1334
+ */
1335
+ "w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
1336
+
1337
+
1338
+ /**
1339
+ * An input for dates.
1340
+ *
1341
+ * Uses the `lang` attribute on either the element or on `<html>` to determine the locale options.
1342
+ *
1343
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)
1344
+ *
1345
+ * ## Attributes & Properties
1346
+ *
1347
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1348
+ *
1349
+ * - `label`: undefined
1350
+ * - `lang`: Takes precedence over the `<html>` lang attribute.
1351
+ * - `name`: undefined
1352
+ * - `value`: undefined
1353
+ * - `header-format`/`headerFormat`: Decides the format of the date as shown in the calendar header.
1354
+ *
1355
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1356
+ * - `weekday-format`/`weekdayFormat`: Decides the format of the weekday as shown above the grid of dates in the calendar.
1357
+ *
1358
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1359
+ * - `day-format`/`dayFormat`: Decides the format of the day in the calendar as read to screen readers.
1360
+ *
1361
+ * The syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).
1362
+ * - `isDayDisabled`: Lets you control if a date in the calendar should be disabled.
1363
+ *
1364
+ * This needs to be set on the element instance in JavaScript, not as an HTML attribute. (property only)
1365
+ * - `isCalendarOpen`: undefined (property only)
1366
+ * - `navigationDate`: undefined (property only)
1367
+ * - `selectedDate`: undefined (property only) (readonly)
1368
+ * - `month`: undefined (property only) (readonly)
1369
+ * - `weeks`: undefined (property only) (readonly)
1370
+ * - `calendar`: undefined (property only)
1371
+ * - `input`: undefined (property only)
1372
+ * - `toggleButton`: undefined (property only)
1373
+ * - `wrapper`: undefined (property only)
1374
+ * - `previousMonthButton`: This is the first focusable element, needed for the modal focus trap.
1375
+ *
1376
+ * Don't cache this and other `@query` fields from inside the calendar modal.
1377
+ * They work the first time, but once the calendar is closed and reopened
1378
+ * the query will point to an element that doesn't exist anymore. (property only)
1379
+ * - `todayCell`: undefined (property only)
1380
+ * - `selectedCell`: undefined (property only)
1381
+ */
1382
+ "w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
1383
+
1384
+
1385
+ /**
1386
+ * Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
1387
+ *
1388
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
1389
+ *
1390
+ * ## Attributes & Properties
1391
+ *
1392
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1393
+ *
1394
+ * - `type`: undefined
1395
+ * - `checked`: undefined
1396
+ * - `indeterminate`: undefined
1397
+ * - `invalid`: undefined
1398
+ * - `disabled`: undefined
1399
+ */
1400
+ "w-dead-toggle": Partial<WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents>;
1401
+
1402
+
1403
+ /**
1404
+ *
1405
+ *
1406
+ * ## Attributes & Properties
1407
+ *
1408
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1409
+ *
1410
+ * - `selected-page`/`selectedPage`: Currently selected page (1-based index)
1411
+ * - `page-count`/`pageCount`: Total number of pages
1412
+ */
1413
+ "w-pageindicator": Partial<WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents>;
1414
+
1415
+
983
1416
  /**
984
1417
  * Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
985
1418
  *
@@ -1003,6 +1436,7 @@ If you need to display HTML, use the `label` slot instead. */
1003
1436
  "w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
1004
1437
 
1005
1438
 
1439
+
1006
1440
  /**
1007
1441
  * Component to place inside a `<w-slider>`.
1008
1442
  *
@@ -1070,6 +1504,141 @@ If you need to display HTML, use the `label` slot instead. */
1070
1504
  * - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
1071
1505
  */
1072
1506
  "w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
1507
+
1508
+
1509
+ /**
1510
+ * Steps are used to show progress through a process or to guide users through a multi-step task.
1511
+ *
1512
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
1513
+ *
1514
+ * ## Attributes & Properties
1515
+ *
1516
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1517
+ *
1518
+ * - `horizontal`: undefined
1519
+ * - `right`: undefined
1520
+ *
1521
+ * ## Methods
1522
+ *
1523
+ * Methods that can be called to access component functionality.
1524
+ *
1525
+ * - `updateStepsContext() => void`: undefined
1526
+ */
1527
+ "w-steps": Partial<WarpStepsProps & BaseProps<WarpSteps> & BaseEvents>;
1528
+
1529
+
1530
+ /**
1531
+ * Individual step component that shows a single step in a process
1532
+ *
1533
+ * ## Attributes & Properties
1534
+ *
1535
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1536
+ *
1537
+ * - `active`: undefined
1538
+ * - `completed`: undefined
1539
+ *
1540
+ * ## Methods
1541
+ *
1542
+ * Methods that can be called to access component functionality.
1543
+ *
1544
+ * - `setContext(context: StepsContext) => void`: undefined
1545
+ * - `getAriaLabel() => void`: undefined
1546
+ */
1547
+ "w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
1548
+
1549
+
1550
+ /**
1551
+ *
1552
+ *
1553
+ * ## Attributes & Properties
1554
+ *
1555
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1556
+ *
1557
+ * - `value`: undefined
1558
+ * - `disabled`: undefined
1559
+ *
1560
+ * ## Events
1561
+ *
1562
+ * Events that will be emitted by the component.
1563
+ *
1564
+ * - `change`: undefined
1565
+ */
1566
+ "w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
1567
+
1568
+
1569
+ /**
1570
+ * Individual tab component used within w-tabs container.
1571
+ *
1572
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1573
+ *
1574
+ * ## Attributes & Properties
1575
+ *
1576
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1577
+ *
1578
+ * - `name`: undefined
1579
+ * - `label`: undefined
1580
+ * - `active`: undefined
1581
+ * - `over`: undefined
1582
+ * - `tab-class`/`tabClass`: undefined
1583
+ */
1584
+ "w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
1585
+
1586
+
1587
+ /**
1588
+ * Tabs are used to organize content by grouping similar information on the same page.
1589
+ *
1590
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1591
+ *
1592
+ * ## Attributes & Properties
1593
+ *
1594
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1595
+ *
1596
+ * - `active`: undefined
1597
+ * - `tab-class`/`tabClass`: undefined
1598
+ * - `tabs`: undefined (property only) (readonly)
1599
+ * - `activeTab`: undefined (property only) (readonly)
1600
+ *
1601
+ * ## Events
1602
+ *
1603
+ * Events that will be emitted by the component.
1604
+ *
1605
+ * - `change`: undefined
1606
+ */
1607
+ "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
1608
+
1609
+
1610
+ /**
1611
+ * A single line text input element.
1612
+ *
1613
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
1614
+ *
1615
+ * ## Attributes & Properties
1616
+ *
1617
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1618
+ *
1619
+ * - `disabled`: undefined
1620
+ * - `invalid`: undefined
1621
+ * - `label`: undefined
1622
+ * - `help-text`/`helpText`: undefined
1623
+ * - `maximum-rows`/`maxRows`: undefined
1624
+ * - `minimum-rows`/`minRows`: undefined
1625
+ * - `name`: undefined
1626
+ * - `placeholder`: undefined
1627
+ * - `read-only`/`readOnly`: undefined
1628
+ * - `readonly`: undefined
1629
+ * - `required`: undefined
1630
+ * - `value`: undefined
1631
+ * - `optional`: undefined
1632
+ * - `minHeight`: undefined (property only)
1633
+ * - `maxHeight`: undefined (property only)
1634
+ *
1635
+ * ## Methods
1636
+ *
1637
+ * Methods that can be called to access component functionality.
1638
+ *
1639
+ * - `handler(e: InputEvent) => void`: undefined
1640
+ */
1641
+ "w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
1073
1642
  }
1074
1643
 
1075
1644
  export type CustomCssProperties = {
@@ -1,2 +1,2 @@
1
- import { WarpAffix } from './index';
1
+ import { WarpAffix } from './index.js';
2
2
  export declare const Affix: import("@lit/react").ReactWebComponent<WarpAffix, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpAlert } from '.';
1
+ import { WarpAlert } from './index.js';
2
2
  export declare const Alert: import("@lit/react").ReactWebComponent<WarpAlert, {}>;
@@ -3405,9 +3405,9 @@ Please compile your catalog first.
3405
3405
 
3406
3406
  /* Variants config */
3407
3407
  .w-button--primary {
3408
- --background: var(--w-s-color-background-primary);
3409
- --background-hover: var(--w-s-color-background-primary-hover);
3410
- --background-active: var(--w-s-color-background-primary-active);
3408
+ --background: var(--w-color-button-primary-background);
3409
+ --background-hover: var(--w-color-button-primary-background-hover);
3410
+ --background-active: var(--w-color-button-primary-background-active);
3411
3411
  --color: var(--w-s-color-text-inverted);
3412
3412
  --border-width: 0px;
3413
3413
  }