@warp-ds/elements 2.2.0-next.20 → 2.2.0-next.22

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 (247) hide show
  1. package/README.md +26 -37
  2. package/dist/api.js.map +1 -1
  3. package/dist/custom-elements.json +1118 -977
  4. package/dist/index.d.ts +183 -162
  5. package/dist/packages/affix/affix.react.stories.d.ts +9 -0
  6. package/dist/packages/affix/affix.react.stories.js +10 -0
  7. package/dist/packages/affix/affix.stories.js +1 -1
  8. package/dist/packages/affix/index.js +1 -1
  9. package/dist/packages/affix/index.js.map +4 -4
  10. package/dist/packages/affix/react.d.ts +1 -1
  11. package/dist/packages/affix/react.js +10 -3
  12. package/dist/packages/alert/alert.react.stories.d.ts +13 -0
  13. package/dist/packages/alert/alert.react.stories.js +44 -0
  14. package/dist/packages/alert/alert.stories.js +1 -1
  15. package/dist/packages/alert/alert.test.js +3 -1
  16. package/dist/packages/alert/index.d.ts +1 -1
  17. package/dist/packages/alert/index.js +2 -2
  18. package/dist/packages/alert/index.js.map +4 -4
  19. package/dist/packages/alert/react.d.ts +1 -1
  20. package/dist/packages/alert/react.js +6 -3
  21. package/dist/packages/alert/styles.js +1 -1
  22. package/dist/packages/attention/attention.react.stories.d.ts +15 -0
  23. package/dist/packages/attention/attention.react.stories.js +92 -0
  24. package/dist/packages/attention/attention.stories.d.ts +1 -0
  25. package/dist/packages/attention/attention.stories.js +31 -39
  26. package/dist/packages/attention/attention.test.js +1 -1
  27. package/dist/packages/attention/index.d.ts +3 -2
  28. package/dist/packages/attention/index.js +238 -17
  29. package/dist/packages/attention/index.js.map +4 -4
  30. package/dist/packages/attention/react.d.ts +15 -1
  31. package/dist/packages/attention/react.js +13 -5
  32. package/dist/packages/attention/styles.js +1 -1
  33. package/dist/packages/badge/badge.react.stories.d.ts +18 -0
  34. package/dist/packages/badge/badge.react.stories.js +60 -0
  35. package/dist/packages/badge/badge.stories.js +1 -1
  36. package/dist/packages/badge/index.js +1 -1
  37. package/dist/packages/badge/index.js.map +4 -4
  38. package/dist/packages/badge/react.d.ts +1 -1
  39. package/dist/packages/badge/react.js +6 -3
  40. package/dist/packages/box/box.react.stories.d.ts +15 -0
  41. package/dist/packages/box/box.react.stories.js +45 -0
  42. package/dist/packages/box/box.stories.js +1 -1
  43. package/dist/packages/box/index.js +3 -3
  44. package/dist/packages/box/index.js.map +4 -4
  45. package/dist/packages/box/react.d.ts +1 -1
  46. package/dist/packages/box/react.js +6 -3
  47. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +13 -0
  48. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.js +40 -0
  49. package/dist/packages/breadcrumbs/breadcrumbs.stories.js +1 -1
  50. package/dist/packages/breadcrumbs/index.js +6 -6
  51. package/dist/packages/breadcrumbs/index.js.map +4 -4
  52. package/dist/packages/breadcrumbs/react.d.ts +1 -1
  53. package/dist/packages/breadcrumbs/react.js +6 -3
  54. package/dist/packages/button/button.react.stories.d.ts +22 -0
  55. package/dist/packages/button/button.react.stories.js +102 -0
  56. package/dist/packages/button/button.stories.js +1 -1
  57. package/dist/packages/button/index.js +2 -2
  58. package/dist/packages/button/index.js.map +4 -4
  59. package/dist/packages/button/react.d.ts +1 -1
  60. package/dist/packages/button/react.js +6 -3
  61. package/dist/packages/card/card.react.stories.d.ts +16 -0
  62. package/dist/packages/card/card.react.stories.js +63 -0
  63. package/dist/packages/card/card.stories.js +2 -2
  64. package/dist/packages/card/index.d.ts +1 -1
  65. package/dist/packages/card/index.js +2 -2
  66. package/dist/packages/card/index.js.map +4 -4
  67. package/dist/packages/card/react.d.ts +1 -1
  68. package/dist/packages/card/react.js +6 -3
  69. package/dist/packages/combobox/combobox.react.stories.d.ts +28 -0
  70. package/dist/packages/combobox/combobox.react.stories.js +90 -0
  71. package/dist/packages/combobox/combobox.stories.d.ts +5 -1
  72. package/dist/packages/combobox/combobox.stories.js +47 -25
  73. package/dist/packages/combobox/index.d.ts +1 -1
  74. package/dist/packages/combobox/index.js +4 -4
  75. package/dist/packages/combobox/index.js.map +4 -4
  76. package/dist/packages/combobox/react.d.ts +7 -0
  77. package/dist/packages/combobox/react.js +17 -0
  78. package/dist/packages/datepicker/DatePicker.test.d.ts +1 -0
  79. package/dist/packages/datepicker/DatePicker.test.js +3 -2
  80. package/dist/packages/datepicker/datepicker.d.ts +1 -1
  81. package/dist/packages/datepicker/datepicker.js +105 -105
  82. package/dist/packages/datepicker/datepicker.js.map +4 -4
  83. package/dist/packages/datepicker/datepicker.react.stories.d.ts +18 -0
  84. package/dist/packages/datepicker/datepicker.react.stories.js +26 -0
  85. package/dist/packages/datepicker/datepicker.stories.js +1 -1
  86. package/dist/packages/datepicker/datepicker.test.js +1 -1
  87. package/dist/packages/datepicker/index.js +105 -105
  88. package/dist/packages/datepicker/index.js.map +4 -4
  89. package/dist/packages/datepicker/react.d.ts +5 -2
  90. package/dist/packages/datepicker/react.js +10 -3
  91. package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +15 -0
  92. package/dist/packages/dead-toggle/dead-toggle.react.stories.js +34 -0
  93. package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +5 -1
  94. package/dist/packages/dead-toggle/dead-toggle.stories.js +25 -3
  95. package/dist/packages/dead-toggle/index.js +1 -1
  96. package/dist/packages/dead-toggle/index.js.map +2 -2
  97. package/dist/packages/dead-toggle/react.d.ts +1 -1
  98. package/dist/packages/dead-toggle/react.js +6 -3
  99. package/dist/packages/expandable/expandable.react.stories.d.ts +18 -0
  100. package/dist/packages/expandable/expandable.react.stories.js +103 -0
  101. package/dist/packages/expandable/expandable.stories.js +1 -1
  102. package/dist/packages/expandable/index.js +2 -2
  103. package/dist/packages/expandable/index.js.map +4 -4
  104. package/dist/packages/expandable/react.d.ts +1 -1
  105. package/dist/packages/expandable/react.js +6 -3
  106. package/dist/packages/i18n.js +2 -1
  107. package/dist/packages/link/index.js +1 -1
  108. package/dist/packages/link/index.js.map +4 -4
  109. package/dist/packages/link/link.react.stories.d.ts +21 -0
  110. package/dist/packages/link/link.react.stories.js +96 -0
  111. package/dist/packages/link/link.stories.js +1 -12
  112. package/dist/packages/link/link.test.js +1 -1
  113. package/dist/packages/link/react.d.ts +1 -1
  114. package/dist/packages/link/react.js +6 -3
  115. package/dist/packages/modal/index.js +8 -8
  116. package/dist/packages/modal/index.js.map +4 -4
  117. package/dist/packages/modal/modal-footer.js +3 -3
  118. package/dist/packages/modal/modal-footer.js.map +3 -3
  119. package/dist/packages/modal/modal-header.js +4 -4
  120. package/dist/packages/modal/modal-header.js.map +4 -4
  121. package/dist/packages/modal/modal-main.js.map +1 -1
  122. package/dist/packages/modal/modal.react.stories.d.ts +14 -0
  123. package/dist/packages/modal/modal.react.stories.js +27 -0
  124. package/dist/packages/modal/modal.stories.d.ts +1 -1
  125. package/dist/packages/modal/modal.stories.js +1 -1
  126. package/dist/packages/modal/react.d.ts +11 -3
  127. package/dist/packages/modal/react.js +19 -6
  128. package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +19 -0
  129. package/dist/packages/pageindicator/pageindicator.react.stories.js +20 -0
  130. package/dist/packages/pageindicator/pageindicator.stories.d.ts +1 -1
  131. package/dist/packages/pageindicator/pageindicator.stories.js +1 -1
  132. package/dist/packages/pageindicator/react.d.ts +1 -1
  133. package/dist/packages/pageindicator/react.js +6 -3
  134. package/dist/packages/pagination/index.js +9 -3
  135. package/dist/packages/pagination/index.js.map +3 -3
  136. package/dist/packages/pagination/pagination.react.stories.d.ts +21 -0
  137. package/dist/packages/pagination/pagination.react.stories.js +45 -0
  138. package/dist/packages/pagination/pagination.stories.js +6 -6
  139. package/dist/packages/pagination/pagination.test.js +1 -1
  140. package/dist/packages/pagination/react.d.ts +5 -2
  141. package/dist/packages/pagination/react.js +10 -3
  142. package/dist/packages/pill/index.js +1 -1
  143. package/dist/packages/pill/index.js.map +2 -2
  144. package/dist/packages/pill/pill.react.stories.d.ts +23 -0
  145. package/dist/packages/pill/pill.react.stories.js +22 -0
  146. package/dist/packages/pill/pill.stories.js +1 -1
  147. package/dist/packages/pill/pill.test.js +3 -1
  148. package/dist/packages/pill/react.d.ts +7 -0
  149. package/dist/packages/pill/react.js +17 -0
  150. package/dist/packages/pill/styles.js +1 -1
  151. package/dist/packages/rip-and-tear-checkbox/checkbox.js +5 -5
  152. package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +3 -3
  153. package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +8 -0
  154. package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +11 -0
  155. package/dist/packages/rip-and-tear-checkbox/index.js +5 -5
  156. package/dist/packages/rip-and-tear-checkbox/index.js.map +3 -3
  157. package/dist/packages/rip-and-tear-checkbox/react.d.ts +5 -0
  158. package/dist/packages/rip-and-tear-checkbox/react.js +15 -0
  159. package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +12 -0
  160. package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +10 -0
  161. package/dist/packages/rip-and-tear-radio/index.js +8 -8
  162. package/dist/packages/rip-and-tear-radio/index.js.map +3 -3
  163. package/dist/packages/rip-and-tear-radio/radio-group.js +8 -8
  164. package/dist/packages/rip-and-tear-radio/radio-group.js.map +3 -3
  165. package/dist/packages/rip-and-tear-radio/radio.js.map +2 -2
  166. package/dist/packages/rip-and-tear-radio/radio.stories.js +9 -9
  167. package/dist/packages/rip-and-tear-radio/radio.stories.js.map +3 -3
  168. package/dist/packages/rip-and-tear-radio/react.d.ts +9 -0
  169. package/dist/packages/rip-and-tear-radio/react.js +22 -0
  170. package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +9 -0
  171. package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +10 -0
  172. package/dist/packages/rip-and-tear-radio/slot.js +3 -3
  173. package/dist/packages/select/index.d.ts +4 -4
  174. package/dist/packages/select/index.js +12 -12
  175. package/dist/packages/select/index.js.map +3 -3
  176. package/dist/packages/select/react.d.ts +6 -2
  177. package/dist/packages/select/react.js +15 -3
  178. package/dist/packages/select/select.react.stories.d.ts +18 -0
  179. package/dist/packages/select/select.react.stories.js +28 -0
  180. package/dist/packages/select/select.stories.js +2 -2
  181. package/dist/packages/select/select.test.js +1 -1
  182. package/dist/packages/select/styles.js +1 -1
  183. package/dist/packages/slider/Slider.js +1 -1
  184. package/dist/packages/slider/SliderThumb.js +1 -1
  185. package/dist/packages/slider/index.js +6 -6
  186. package/dist/packages/slider/index.js.map +4 -4
  187. package/dist/packages/slider/react.d.ts +8 -0
  188. package/dist/packages/slider/react.js +20 -0
  189. package/dist/packages/slider/slider-thumb.js +3 -3
  190. package/dist/packages/slider/slider-thumb.js.map +4 -4
  191. package/dist/packages/slider/slider.js +2 -2
  192. package/dist/packages/slider/slider.js.map +4 -4
  193. package/dist/packages/slider/slider.react.stories.d.ts +18 -0
  194. package/dist/packages/slider/slider.react.stories.js +119 -0
  195. package/dist/packages/slider/slider.stories.js +2 -2
  196. package/dist/packages/slider/slider.test.js +1 -1
  197. package/dist/packages/slider/styles.js +1 -1
  198. package/dist/packages/steps/index.js +2 -2
  199. package/dist/packages/steps/index.js.map +4 -4
  200. package/dist/packages/steps/react.d.ts +1 -1
  201. package/dist/packages/steps/react.js +7 -4
  202. package/dist/packages/steps/steps.react.stories.d.ts +15 -0
  203. package/dist/packages/steps/steps.react.stories.js +112 -0
  204. package/dist/packages/switch/index.js +1 -1
  205. package/dist/packages/switch/index.js.map +4 -4
  206. package/dist/packages/switch/react.d.ts +5 -2
  207. package/dist/packages/switch/react.js +10 -3
  208. package/dist/packages/switch/switch.react.stories.d.ts +15 -0
  209. package/dist/packages/switch/switch.react.stories.js +29 -0
  210. package/dist/packages/tabs/index.d.ts +1 -1
  211. package/dist/packages/tabs/index.js +12 -12
  212. package/dist/packages/tabs/index.js.map +4 -4
  213. package/dist/packages/tabs/react.d.ts +11 -3
  214. package/dist/packages/tabs/react.js +18 -5
  215. package/dist/packages/tabs/tab-panel.js.map +2 -2
  216. package/dist/packages/tabs/tab.js +1 -1
  217. package/dist/packages/tabs/tab.js.map +4 -4
  218. package/dist/packages/tabs/tabs.d.ts +2 -0
  219. package/dist/packages/tabs/tabs.js +4 -4
  220. package/dist/packages/tabs/tabs.js.map +4 -4
  221. package/dist/packages/tabs/tabs.react.stories.d.ts +15 -0
  222. package/dist/packages/tabs/tabs.react.stories.js +51 -0
  223. package/dist/packages/tabs/tabs.stories.js +12 -12
  224. package/dist/packages/tabs/tabs.stories.js.map +4 -4
  225. package/dist/packages/textfield/index.js +2 -2
  226. package/dist/packages/textfield/index.js.map +4 -4
  227. package/dist/packages/textfield/react.d.ts +11 -2
  228. package/dist/packages/textfield/react.js +16 -3
  229. package/dist/packages/textfield/styles.js +1 -1
  230. package/dist/packages/textfield/textfield.react.stories.d.ts +37 -0
  231. package/dist/packages/textfield/textfield.react.stories.js +88 -0
  232. package/dist/packages/textfield/textfield.stories.js +1 -1
  233. package/dist/packages/textfield/textfield.test.js +1 -1
  234. package/dist/packages/toast/api.d.ts +1 -1
  235. package/dist/packages/toast/index.d.ts +1 -1
  236. package/dist/packages/toast/index.js +14 -14
  237. package/dist/packages/toast/index.js.map +4 -4
  238. package/dist/packages/toast/toast-container.d.ts +1 -1
  239. package/dist/packages/toast/toast-container.js +2454 -149
  240. package/dist/packages/toast/toast-container.js.map +7 -0
  241. package/dist/packages/toast/toast.js +2459 -193
  242. package/dist/packages/toast/toast.js.map +7 -0
  243. package/dist/packages/toast/toast.stories.js +1 -1
  244. package/dist/packages/utils/expand-transition.js +1 -1
  245. package/dist/vscode.html-custom-data.json +83 -78
  246. package/dist/web-types.json +135 -127
  247. package/package.json +22 -21
@@ -39,6 +39,74 @@
39
39
  ],
40
40
  "references": []
41
41
  },
42
+ {
43
+ "name": "w-link",
44
+ "description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)\n\n---\n\n",
45
+ "attributes": [
46
+ { "name": "autofocus", "values": [] },
47
+ {
48
+ "name": "variant",
49
+ "values": [
50
+ { "name": "negative" },
51
+ { "name": "primary" },
52
+ { "name": "secondary" },
53
+ { "name": "negativeQuiet" },
54
+ { "name": "utility" },
55
+ { "name": "pill" },
56
+ { "name": "link" },
57
+ { "name": "quiet" },
58
+ { "name": "utilityQuiet" }
59
+ ]
60
+ },
61
+ { "name": "quiet", "values": [] },
62
+ { "name": "small", "values": [] },
63
+ { "name": "href", "values": [] },
64
+ { "name": "disabled", "values": [] },
65
+ { "name": "target", "values": [] },
66
+ { "name": "rel", "values": [] },
67
+ { "name": "full-width", "values": [] },
68
+ { "name": "button-class", "values": [] },
69
+ { "name": "name", "values": [] }
70
+ ],
71
+ "references": []
72
+ },
73
+ {
74
+ "name": "w-button",
75
+ "description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)\n\n---\n\n",
76
+ "attributes": [
77
+ {
78
+ "name": "type",
79
+ "values": [
80
+ { "name": "button" },
81
+ { "name": "submit" },
82
+ { "name": "reset" }
83
+ ]
84
+ },
85
+ { "name": "autofocus", "values": [] },
86
+ {
87
+ "name": "variant",
88
+ "values": [
89
+ { "name": "negative" },
90
+ { "name": "primary" },
91
+ { "name": "secondary" },
92
+ { "name": "utility" },
93
+ { "name": "pill" },
94
+ { "name": "link" }
95
+ ]
96
+ },
97
+ { "name": "quiet", "values": [] },
98
+ { "name": "small", "values": [] },
99
+ { "name": "loading", "values": [] },
100
+ { "name": "href", "values": [] },
101
+ { "name": "target", "values": [] },
102
+ { "name": "rel", "values": [] },
103
+ { "name": "full-width", "values": [] },
104
+ { "name": "button-class", "values": [] },
105
+ { "name": "name", "values": [] },
106
+ { "name": "value", "values": [] }
107
+ ],
108
+ "references": []
109
+ },
42
110
  {
43
111
  "name": "w-attention",
44
112
  "description": "\n\n---\n\n",
@@ -109,74 +177,6 @@
109
177
  "attributes": [{ "name": "aria-label", "values": [] }],
110
178
  "references": []
111
179
  },
112
- {
113
- "name": "w-link",
114
- "description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)\n\n---\n\n",
115
- "attributes": [
116
- { "name": "autofocus", "values": [] },
117
- {
118
- "name": "variant",
119
- "values": [
120
- { "name": "negative" },
121
- { "name": "primary" },
122
- { "name": "secondary" },
123
- { "name": "negativeQuiet" },
124
- { "name": "utility" },
125
- { "name": "pill" },
126
- { "name": "link" },
127
- { "name": "quiet" },
128
- { "name": "utilityQuiet" }
129
- ]
130
- },
131
- { "name": "quiet", "values": [] },
132
- { "name": "small", "values": [] },
133
- { "name": "href", "values": [] },
134
- { "name": "disabled", "values": [] },
135
- { "name": "target", "values": [] },
136
- { "name": "rel", "values": [] },
137
- { "name": "full-width", "values": [] },
138
- { "name": "button-class", "values": [] },
139
- { "name": "name", "values": [] }
140
- ],
141
- "references": []
142
- },
143
- {
144
- "name": "w-button",
145
- "description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)\n\n---\n\n",
146
- "attributes": [
147
- {
148
- "name": "type",
149
- "values": [
150
- { "name": "button" },
151
- { "name": "submit" },
152
- { "name": "reset" }
153
- ]
154
- },
155
- { "name": "autofocus", "values": [] },
156
- {
157
- "name": "variant",
158
- "values": [
159
- { "name": "negative" },
160
- { "name": "primary" },
161
- { "name": "secondary" },
162
- { "name": "utility" },
163
- { "name": "pill" },
164
- { "name": "link" }
165
- ]
166
- },
167
- { "name": "quiet", "values": [] },
168
- { "name": "small", "values": [] },
169
- { "name": "loading", "values": [] },
170
- { "name": "href", "values": [] },
171
- { "name": "target", "values": [] },
172
- { "name": "rel", "values": [] },
173
- { "name": "full-width", "values": [] },
174
- { "name": "button-class", "values": [] },
175
- { "name": "name", "values": [] },
176
- { "name": "value", "values": [] }
177
- ],
178
- "references": []
179
- },
180
180
  {
181
181
  "name": "w-card",
182
182
  "description": "Card is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)\n\n---\n\n",
@@ -597,7 +597,6 @@
597
597
  "description": "Renders the field in a readonly state.",
598
598
  "values": []
599
599
  },
600
- { "name": "_options", "values": [] },
601
600
  { "name": "name", "values": [] },
602
601
  { "name": "value", "values": [] }
603
602
  ],
@@ -699,15 +698,6 @@
699
698
  ],
700
699
  "references": []
701
700
  },
702
- {
703
- "name": "w-tabs",
704
- "description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n\n---\n\n\n\n### **Events:**\n - **change**",
705
- "attributes": [
706
- { "name": "active", "values": [] },
707
- { "name": "tab-class", "values": [] }
708
- ],
709
- "references": []
710
- },
711
701
  {
712
702
  "name": "w-tab",
713
703
  "description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n\n---\n\n",
@@ -728,6 +718,21 @@
728
718
  { "name": "hidden", "values": [] }
729
719
  ],
730
720
  "references": []
721
+ },
722
+ {
723
+ "name": "w-tabs",
724
+ "description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n\n---\n\n\n\n### **Events:**\n - **change**",
725
+ "attributes": [
726
+ { "name": "active", "values": [] },
727
+ { "name": "tab-class", "values": [] }
728
+ ],
729
+ "references": []
730
+ },
731
+ {
732
+ "name": "w-toast-container",
733
+ "description": "\n\n---\n\n",
734
+ "attributes": [],
735
+ "references": []
731
736
  }
732
737
  ]
733
738
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@warp-ds/elements",
4
- "version": "2.2.0-next.19",
4
+ "version": "2.2.0-next.21",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -77,6 +77,106 @@
77
77
  "events": []
78
78
  }
79
79
  },
80
+ {
81
+ "name": "w-link",
82
+ "description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)\n---\n",
83
+ "doc-url": "",
84
+ "attributes": [
85
+ { "name": "autofocus", "value": { "type": "boolean" } },
86
+ {
87
+ "name": "variant",
88
+ "value": {
89
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'",
90
+ "default": "'secondary'"
91
+ }
92
+ },
93
+ { "name": "quiet", "value": { "type": "boolean" } },
94
+ { "name": "small", "value": { "type": "boolean" } },
95
+ { "name": "href", "value": { "type": "string" } },
96
+ { "name": "disabled", "value": { "type": "boolean" } },
97
+ { "name": "target", "value": { "type": "string" } },
98
+ { "name": "rel", "value": { "type": "string" } },
99
+ { "name": "full-width", "value": { "type": "boolean" } },
100
+ { "name": "button-class", "value": { "type": "string" } },
101
+ { "name": "name", "value": { "type": "string" } }
102
+ ],
103
+ "events": [],
104
+ "js": {
105
+ "properties": [
106
+ { "name": "autofocus", "type": "boolean" },
107
+ {
108
+ "name": "variant",
109
+ "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
110
+ },
111
+ { "name": "quiet", "type": "boolean" },
112
+ { "name": "small", "type": "boolean" },
113
+ { "name": "href", "type": "string" },
114
+ { "name": "disabled", "type": "boolean" },
115
+ { "name": "target", "type": "string" },
116
+ { "name": "rel", "type": "string" },
117
+ { "name": "fullWidth", "type": "boolean" },
118
+ { "name": "buttonClass", "type": "string" },
119
+ { "name": "name", "type": "string" },
120
+ { "name": "classes", "type": "string" }
121
+ ],
122
+ "events": []
123
+ }
124
+ },
125
+ {
126
+ "name": "w-button",
127
+ "description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)\n---\n",
128
+ "doc-url": "",
129
+ "attributes": [
130
+ {
131
+ "name": "type",
132
+ "value": {
133
+ "type": "'button' | 'submit' | 'reset'",
134
+ "default": "'button'"
135
+ }
136
+ },
137
+ { "name": "autofocus", "value": { "type": "boolean" } },
138
+ {
139
+ "name": "variant",
140
+ "value": {
141
+ "type": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'",
142
+ "default": "'secondary'"
143
+ }
144
+ },
145
+ { "name": "quiet", "value": { "type": "boolean" } },
146
+ { "name": "small", "value": { "type": "boolean" } },
147
+ { "name": "loading", "value": { "type": "boolean" } },
148
+ { "name": "href", "value": { "type": "string" } },
149
+ { "name": "target", "value": { "type": "string" } },
150
+ { "name": "rel", "value": { "type": "string" } },
151
+ { "name": "full-width", "value": { "type": "boolean" } },
152
+ { "name": "button-class", "value": { "type": "string" } },
153
+ { "name": "name", "value": { "type": "string" } },
154
+ { "name": "value", "value": { "type": "string" } }
155
+ ],
156
+ "events": [],
157
+ "js": {
158
+ "properties": [
159
+ { "name": "type", "type": "'button' | 'submit' | 'reset'" },
160
+ { "name": "autofocus", "type": "boolean" },
161
+ {
162
+ "name": "variant",
163
+ "type": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
164
+ },
165
+ { "name": "quiet", "type": "boolean" },
166
+ { "name": "small", "type": "boolean" },
167
+ { "name": "loading", "type": "boolean" },
168
+ { "name": "href", "type": "string" },
169
+ { "name": "target", "type": "string" },
170
+ { "name": "rel", "type": "string" },
171
+ { "name": "fullWidth", "type": "boolean" },
172
+ { "name": "buttonClass", "type": "string" },
173
+ { "name": "name", "type": "string" },
174
+ { "name": "value", "type": "string" },
175
+ { "name": "ariaValueTextLoading" }
176
+ ],
177
+ "events": []
178
+ }
179
+ },
80
180
  {
81
181
  "name": "w-attention",
82
182
  "description": "\n---\n",
@@ -227,106 +327,6 @@
227
327
  "events": []
228
328
  }
229
329
  },
230
- {
231
- "name": "w-link",
232
- "description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)\n---\n",
233
- "doc-url": "",
234
- "attributes": [
235
- { "name": "autofocus", "value": { "type": "boolean" } },
236
- {
237
- "name": "variant",
238
- "value": {
239
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'",
240
- "default": "'secondary'"
241
- }
242
- },
243
- { "name": "quiet", "value": { "type": "boolean" } },
244
- { "name": "small", "value": { "type": "boolean" } },
245
- { "name": "href", "value": { "type": "string" } },
246
- { "name": "disabled", "value": { "type": "boolean" } },
247
- { "name": "target", "value": { "type": "string" } },
248
- { "name": "rel", "value": { "type": "string" } },
249
- { "name": "full-width", "value": { "type": "boolean" } },
250
- { "name": "button-class", "value": { "type": "string" } },
251
- { "name": "name", "value": { "type": "string" } }
252
- ],
253
- "events": [],
254
- "js": {
255
- "properties": [
256
- { "name": "autofocus", "type": "boolean" },
257
- {
258
- "name": "variant",
259
- "type": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
260
- },
261
- { "name": "quiet", "type": "boolean" },
262
- { "name": "small", "type": "boolean" },
263
- { "name": "href", "type": "string" },
264
- { "name": "disabled", "type": "boolean" },
265
- { "name": "target", "type": "string" },
266
- { "name": "rel", "type": "string" },
267
- { "name": "fullWidth", "type": "boolean" },
268
- { "name": "buttonClass", "type": "string" },
269
- { "name": "name", "type": "string" },
270
- { "name": "classes", "type": "string" }
271
- ],
272
- "events": []
273
- }
274
- },
275
- {
276
- "name": "w-button",
277
- "description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)\n---\n",
278
- "doc-url": "",
279
- "attributes": [
280
- {
281
- "name": "type",
282
- "value": {
283
- "type": "'button' | 'submit' | 'reset'",
284
- "default": "'button'"
285
- }
286
- },
287
- { "name": "autofocus", "value": { "type": "boolean" } },
288
- {
289
- "name": "variant",
290
- "value": {
291
- "type": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'",
292
- "default": "'secondary'"
293
- }
294
- },
295
- { "name": "quiet", "value": { "type": "boolean" } },
296
- { "name": "small", "value": { "type": "boolean" } },
297
- { "name": "loading", "value": { "type": "boolean" } },
298
- { "name": "href", "value": { "type": "string" } },
299
- { "name": "target", "value": { "type": "string" } },
300
- { "name": "rel", "value": { "type": "string" } },
301
- { "name": "full-width", "value": { "type": "boolean" } },
302
- { "name": "button-class", "value": { "type": "string" } },
303
- { "name": "name", "value": { "type": "string" } },
304
- { "name": "value", "value": { "type": "string" } }
305
- ],
306
- "events": [],
307
- "js": {
308
- "properties": [
309
- { "name": "type", "type": "'button' | 'submit' | 'reset'" },
310
- { "name": "autofocus", "type": "boolean" },
311
- {
312
- "name": "variant",
313
- "type": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
314
- },
315
- { "name": "quiet", "type": "boolean" },
316
- { "name": "small", "type": "boolean" },
317
- { "name": "loading", "type": "boolean" },
318
- { "name": "href", "type": "string" },
319
- { "name": "target", "type": "string" },
320
- { "name": "rel", "type": "string" },
321
- { "name": "fullWidth", "type": "boolean" },
322
- { "name": "buttonClass", "type": "string" },
323
- { "name": "name", "type": "string" },
324
- { "name": "value", "type": "string" },
325
- { "name": "ariaValueTextLoading" }
326
- ],
327
- "events": []
328
- }
329
- },
330
330
  {
331
331
  "name": "w-card",
332
332
  "description": "Card is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-card--docs)\n---\n",
@@ -1264,7 +1264,6 @@
1264
1264
  "description": "Renders the field in a readonly state.",
1265
1265
  "value": { "type": "boolean" }
1266
1266
  },
1267
- { "name": "_options", "value": { "type": "string" } },
1268
1267
  { "name": "name", "value": { "type": "string" } },
1269
1268
  { "name": "value", "value": { "type": "string" } }
1270
1269
  ],
@@ -1312,8 +1311,7 @@
1312
1311
  "type": "boolean"
1313
1312
  },
1314
1313
  { "name": "name", "type": "string" },
1315
- { "name": "value", "type": "string" },
1316
- { "name": "_options" }
1314
+ { "name": "value", "type": "string" }
1317
1315
  ],
1318
1316
  "events": []
1319
1317
  }
@@ -1600,29 +1598,6 @@
1600
1598
  "events": [{ "name": "change", "type": "CustomEvent" }]
1601
1599
  }
1602
1600
  },
1603
- {
1604
- "name": "w-tabs",
1605
- "description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n\n\n### **Events:**\n - **change**",
1606
- "doc-url": "",
1607
- "attributes": [
1608
- {
1609
- "name": "active",
1610
- "value": { "type": "string", "default": "''" }
1611
- },
1612
- {
1613
- "name": "tab-class",
1614
- "value": { "type": "string", "default": "''" }
1615
- }
1616
- ],
1617
- "events": [{ "name": "change", "type": "CustomEvent" }],
1618
- "js": {
1619
- "properties": [
1620
- { "name": "active", "type": "string" },
1621
- { "name": "tabClass", "type": "string" }
1622
- ],
1623
- "events": [{ "name": "change", "type": "CustomEvent" }]
1624
- }
1625
- },
1626
1601
  {
1627
1602
  "name": "w-tab",
1628
1603
  "description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n",
@@ -1674,6 +1649,39 @@
1674
1649
  ],
1675
1650
  "events": []
1676
1651
  }
1652
+ },
1653
+ {
1654
+ "name": "w-tabs",
1655
+ "description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n\n\n### **Events:**\n - **change**",
1656
+ "doc-url": "",
1657
+ "attributes": [
1658
+ {
1659
+ "name": "active",
1660
+ "value": { "type": "string", "default": "''" }
1661
+ },
1662
+ {
1663
+ "name": "tab-class",
1664
+ "value": { "type": "string", "default": "''" }
1665
+ }
1666
+ ],
1667
+ "events": [{ "name": "change", "type": "CustomEvent" }],
1668
+ "js": {
1669
+ "properties": [
1670
+ { "name": "active", "type": "string" },
1671
+ { "name": "tabClass", "type": "string" },
1672
+ { "name": "tabs" },
1673
+ { "name": "activeTab" }
1674
+ ],
1675
+ "events": [{ "name": "change", "type": "CustomEvent" }]
1676
+ }
1677
+ },
1678
+ {
1679
+ "name": "w-toast-container",
1680
+ "description": "\n---\n",
1681
+ "doc-url": "",
1682
+ "attributes": [],
1683
+ "events": [],
1684
+ "js": { "properties": [], "events": [] }
1677
1685
  }
1678
1686
  ]
1679
1687
  },
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@warp-ds/elements",
3
3
  "type": "module",
4
- "version": "2.2.0-next.20",
5
- "packageManager": "pnpm@10.15.1",
4
+ "version": "2.2.0-next.22",
5
+ "packageManager": "pnpm@10.19.0",
6
6
  "description": "Custom elements for Warp",
7
7
  "exports": {
8
8
  ".": {
@@ -44,28 +44,31 @@
44
44
  "./dist/custom-elements.json"
45
45
  ],
46
46
  "scripts": {
47
- "clean": "rimraf .pnpm-store node_modules dist eik storybook-static entrypoint.js",
48
- "build:entrypoint": "node ./build/entrypoint.js",
49
- "build:storybook": "pnpm run messages:compile && tsc && pnpm run build:manifest && pnpm run build:entrypoint && storybook build && pnpm run build:polyfill && touch ./storybook-static/.nojekyll",
50
- "build:manifest": "custom-elements-manifest analyze --config .cem/custom-element-manifest.config.js",
51
- "build": "rimraf dist && rimraf eik && pnpm messages:compile && tsc && pnpm build:manifest && pnpm build:editor && pnpm build:components && pnpm run build:cloak && pnpm build:bundle && pnpm run build:polyfill",
47
+ "build:bundle": "tsc --project tsconfig.json --outDir .tmp --declaration false --sourceMap true && rollup -c ./build/bundle.js && rimraf .tmp",
52
48
  "build:cloak": "node ./build/cloak.js",
53
49
  "build:components": "node ./build/components.js",
54
50
  "build:editor": "node ./build/editor.js",
55
- "build:styles": "node ./build/styles.js",
51
+ "build:entrypoint": "node ./build/entrypoint.js",
52
+ "build:manifest": "custom-elements-manifest analyze --config .cem/custom-element-manifest.config.js",
56
53
  "build:polyfill": "node ./build/polyfill.js",
57
- "build:bundle": "tsc --project tsconfig.json --outDir .tmp --declaration false --sourceMap true && rollup -c ./build/bundle.js && rimraf .tmp",
54
+ "build:storybook": "pnpm run messages:compile && tsc && pnpm run build:manifest && pnpm run build:entrypoint && storybook build && pnpm run build:polyfill && touch ./storybook-static/.nojekyll",
55
+ "build:styles": "node ./build/styles.js",
56
+ "build": "rimraf dist && rimraf eik && pnpm messages:compile && tsc && pnpm build:manifest && pnpm build:editor && pnpm build:components && pnpm run build:cloak && pnpm build:bundle && pnpm run build:polyfill",
57
+ "check": "pnpm biome check --write .",
58
+ "clean": "rimraf .pnpm-store node_modules dist eik storybook-static entrypoint.js",
58
59
  "commit": "cz",
59
60
  "dev": "pnpm run storybook",
60
61
  "storybook": "storybook dev --port 63900",
61
- "lint:check": "eslint .",
62
- "lint": "eslint . --fix",
62
+ "storybook:react": "storybook dev -p 63901 -c .storybook-react",
63
+ "format": "pnpm biome format --write .",
64
+ "lint:check": "pnpm biome lint .",
65
+ "lint": "pnpm biome lint --write .",
63
66
  "messages:compile": "lingui compile",
64
67
  "messages:extract": "lingui extract",
68
+ "prepare": "husky",
65
69
  "semantic-release": "semantic-release",
66
70
  "test": "vitest",
67
- "watch:npm": "npx esbuild ./index.js --outdir=dist/ --target=es2017 --bundle --sourcemap --format=esm --minify --watch",
68
- "prepare": "husky"
71
+ "watch:npm": "npx esbuild ./index.js --outdir=dist/ --target=es2017 --bundle --sourcemap --format=esm --minify --watch"
69
72
  },
70
73
  "repository": {
71
74
  "type": "git",
@@ -73,11 +76,11 @@
73
76
  },
74
77
  "license": "Apache-2.0",
75
78
  "devDependencies": {
79
+ "@biomejs/biome": "2.2.6",
76
80
  "@chbphone55/classnames": "2.0.0",
77
81
  "@custom-elements-manifest/analyzer": "^0.10.5",
78
82
  "@eik/cli": "2.0.38",
79
83
  "@eik/esbuild-plugin": "1.1.47",
80
- "@eslint/js": "9.16.0",
81
84
  "@itsy/animate": "0.0.9",
82
85
  "@lingui/cli": "5.2.0",
83
86
  "@lingui/conf": "5.2.0",
@@ -85,8 +88,13 @@
85
88
  "@open-wc/lit-helpers": "^0.7.0",
86
89
  "@semantic-release/changelog": "6.0.3",
87
90
  "@semantic-release/git": "10.0.1",
91
+ "@storybook/addon-a11y": "^9.1.4",
88
92
  "@storybook/addon-docs": "^9.1.4",
93
+ "@storybook/addon-essentials": "^8.6.14",
94
+ "@storybook/addon-interactions": "^8.6.14",
89
95
  "@storybook/builder-vite": "^9.1.4",
96
+ "@storybook/react": "^9.1.10",
97
+ "@storybook/react-vite": "^9.1.10",
90
98
  "@storybook/web-components": "^9.1.4",
91
99
  "@storybook/web-components-vite": "^9.1.4",
92
100
  "@types/node": "20.14.10",
@@ -96,7 +104,6 @@
96
104
  "@vitejs/plugin-react": "^5.0.2",
97
105
  "@vitest/browser": "^3.2.4",
98
106
  "@vitest/utils": "^3.2.4",
99
- "@warp-ds/eslint-config": "1.1.0",
100
107
  "@warp-ds/uno": "2.1.0",
101
108
  "@wc-toolkit/cem-validator": "^1.0.3",
102
109
  "@wc-toolkit/jsx-types": "^1.4.2",
@@ -107,11 +114,6 @@
107
114
  "cz-conventional-changelog": "3.3.0",
108
115
  "element-collapse": "1.1.0",
109
116
  "esbuild": "0.25.10",
110
- "eslint": "9.16.0",
111
- "eslint-config-prettier": "9.1.0",
112
- "eslint-plugin-import": "2.31.0",
113
- "eslint-plugin-lit": "2.1.1",
114
- "eslint-plugin-prettier": "5.5.4",
115
117
  "express": "4.19.2",
116
118
  "glob": "11.0.0",
117
119
  "globals": "15.13.0",
@@ -128,7 +130,6 @@
128
130
  "semantic-release": "24.0.0",
129
131
  "storybook": "^9.1.4",
130
132
  "typescript": "5.5.3",
131
- "typescript-eslint": "^8.41.0",
132
133
  "unocss": "0.x",
133
134
  "vite": "^6.0.0",
134
135
  "vitest": "^3.2.4",