@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
package/README.md CHANGED
@@ -14,7 +14,7 @@ start by reviewing the [contributing guidelines](CONTRIBUTING.md).
14
14
 
15
15
  ### Installation
16
16
 
17
- Warp custom elements are supplied by the Eik CDN.
17
+ Warp custom elements are supplied by the Eik CDN.
18
18
  In addition, you can install the `@warp-ds/elements` package to get intellisense
19
19
  in your editor.
20
20
 
@@ -138,34 +138,19 @@ Add `@warp-ds/elements` to tsconfig types in compilerOptions.
138
138
 
139
139
  #### Visual Studio Code
140
140
 
141
- This module includes [Custom HTML and CSS data for Visual Studio Code](https://code.visualstudio.com/blogs/2020/02/24/custom-data-format).
141
+ Install the [Web Components Language Server](https://wc-toolkit.com/integrations/web-components-language-server/) extension. The extension automatically picks up the [Custom Element Manifest](https://wc-toolkit.com/getting-started/) that we ship with `@warp-ds/elements`.
142
142
 
143
143
  ##### Using Warp Elements in a plain HTML page
144
144
 
145
- When developing, install Warp Elements locally using npm
145
+ Install Warp Elements locally using npm:
146
146
 
147
147
  ```
148
148
  npm install @warp-ds/elements
149
149
  ```
150
150
 
151
- Add the following snippet to settings.json in vscode to tell it about Warp components
151
+ Install the [Web Components Language Server](https://wc-toolkit.com/integrations/web-components-language-server/) extension.
152
152
 
153
- .vscode/settings.json
154
-
155
- ```json
156
- {
157
- "html.customData": [
158
- "./node_modules/@warp-ds/elements/dist/vscode.html-custom-data.json"
159
- ],
160
- "css.customData": [
161
- "./node_modules/@warp-ds/elements/dist/vscode.css-custom-data.json"
162
- ]
163
- }
164
- ```
165
-
166
- restart vscode
167
-
168
- Now, inside any .html files, you will get intellisense when using Warp Elements
153
+ Now, inside any `.html` files, you will get IntelliSense when using Warp Elements:
169
154
 
170
155
  ```html
171
156
  <w-button variant=""><w-button>
@@ -177,28 +162,15 @@ IntelliSense in JavaScript strings is not supported without additional plugins a
177
162
 
178
163
  ##### Using Warp Elements in Lit html tagged template literals
179
164
 
180
- When developing, install Warp Elements locally using npm
165
+ Install Warp Elements locally using npm:
181
166
 
182
167
  ```
183
168
  npm install @warp-ds/elements
184
169
  ```
185
170
 
186
- Add the following snippet to settings.json in vscode to tell it about Warp components
171
+ Install the [Web Components Language Server](https://wc-toolkit.com/integrations/web-components-language-server/) extension.
187
172
 
188
- .vscode/settings.json
189
-
190
- ```json
191
- {
192
- "html.customData": [
193
- "./node_modules/@warp-ds/elements/dist/vscode.html-custom-data.json"
194
- ],
195
- "css.customData": [
196
- "./node_modules/@warp-ds/elements/dist/vscode.css-custom-data.json"
197
- ]
198
- }
199
- ```
200
-
201
- Install the lit-plugin vscode extension and restart vscode
173
+ Install the [lit-plugin](https://marketplace.visualstudio.com/items?itemName=runem.lit-plugin) extension.
202
174
 
203
175
  Now, inside any html`` tagged template literals, you will get intellisense when using Warp Elements.
204
176
 
@@ -222,7 +194,7 @@ Now, inside your react components, you will get intellisense when using Warp Ele
222
194
 
223
195
  React 18 and earlier do not support custom elements.
224
196
 
225
- If you are on React 18 or early, we strongly urge you to please consider upgrading to React v19.
197
+ If you are on React 18 or early, we strongly urge you to please consider upgrading to React v19.
226
198
 
227
199
  If you cannot upgrade right away, Warp supplies custom element wrappers to add backwards compatibility. Use them like so:
228
200
 
@@ -244,6 +216,23 @@ and use the component
244
216
 
245
217
  you should get intellisense when using Warp Elements.
246
218
 
219
+ #### CustomData fallback
220
+
221
+ `@warp-ds/elements` also includes [Custom HTML and CSS data for Visual Studio Code](https://code.visualstudio.com/blogs/2020/02/24/custom-data-format).
222
+
223
+ If you can't get the Web Components Language Server to work, add the following snippet to `.vscode/settings.json`, then restart VS Code.
224
+
225
+ ```json
226
+ {
227
+ "html.customData": [
228
+ "./node_modules/@warp-ds/elements/dist/vscode.html-custom-data.json"
229
+ ],
230
+ "css.customData": [
231
+ "./node_modules/@warp-ds/elements/dist/vscode.css-custom-data.json"
232
+ ]
233
+ }
234
+ ```
235
+
247
236
  #### JetBrains products
248
237
 
249
238
  We ship `web-types.json` which should get picked up automatically by JetBrains IDEA and similar products.
package/dist/api.js.map CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../packages/utils/window-exists.js", "../packages/toast/api.ts"],
4
- "sourcesContent": ["export const windowExists = typeof window !== 'undefined';\n", "import { windowExists } from '../utils/window-exists';\n\nimport { WarpToastContainer } from './toast-container';\nimport type { ToastOptions, ToastInternal } from './types';\n\nfunction getToastContainer() {\n const container = customElements.get('w-toast-container');\n return container as typeof WarpToastContainer;\n}\n\n/**\n * Creates a new toast\n */\nexport function toast(message: string, options?: ToastOptions) {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n\n const data: ToastOptions = {\n id: Date.now().toString(36) + Math.random().toString(36).slice(2, 5),\n text: message,\n duration: 5000,\n type: 'success',\n ...options,\n };\n\n toast.set(data);\n return data;\n}\n\n/**\n * Remove an existing toast\n */\nexport function removeToast(id: string | number): Promise<boolean> | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n return toast.del(id);\n}\n\n/**\n * Update an existing toast\n */\nexport function updateToast(id: string | number, options?: ToastOptions): ToastInternal | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n toast.set({ ...toast.get(id), ...options });\n return toast.get(id);\n}\n"],
4
+ "sourcesContent": ["export const windowExists = typeof window !== 'undefined';\n", "import { windowExists } from '../utils/window-exists';\n\nimport { WarpToastContainer } from './toast-container';\nimport type { ToastInternal, ToastOptions } from './types';\n\nfunction getToastContainer() {\n const container = customElements.get('w-toast-container');\n return container as typeof WarpToastContainer;\n}\n\n/**\n * Creates a new toast\n */\nexport function toast(message: string, options?: ToastOptions) {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n\n const data: ToastOptions = {\n id: Date.now().toString(36) + Math.random().toString(36).slice(2, 5),\n text: message,\n duration: 5000,\n type: 'success',\n ...options,\n };\n\n toast.set(data);\n return data;\n}\n\n/**\n * Remove an existing toast\n */\nexport function removeToast(id: string | number): Promise<boolean> | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n return toast.del(id);\n}\n\n/**\n * Update an existing toast\n */\nexport function updateToast(id: string | number, options?: ToastOptions): ToastInternal | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n toast.set({ ...toast.get(id), ...options });\n return toast.get(id);\n}\n"],
5
5
  "mappings": "AAAO,IAAMA,EAAe,OAAO,QAAW,YCK9C,SAASC,GAAoB,CAE3B,OADkB,eAAe,IAAI,mBAAmB,CAE1D,CAKO,SAASC,EAAMC,EAAiBC,EAAwB,CAC7D,GAAI,CAACC,EAAc,OAEnB,IAAMH,EAAQD,EAAkB,EAAE,KAAK,EAEjCK,EAAqB,CACzB,GAAI,KAAK,IAAI,EAAE,SAAS,EAAE,EAAI,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,EAAG,CAAC,EACnE,KAAMH,EACN,SAAU,IACV,KAAM,UACN,GAAGC,CACL,EAEA,OAAAF,EAAM,IAAII,CAAI,EACPA,CACT,CAKO,SAASC,EAAYC,EAAmD,CAC7E,OAAKH,EAESJ,EAAkB,EAAE,KAAK,EAC1B,IAAIO,CAAE,EAHA,MAIrB,CAKO,SAASC,EAAYD,EAAqBJ,EAAmD,CAClG,GAAI,CAACC,EAAc,OAEnB,IAAMH,EAAQD,EAAkB,EAAE,KAAK,EACvC,OAAAC,EAAM,IAAI,CAAE,GAAGA,EAAM,IAAIM,CAAE,EAAG,GAAGJ,CAAQ,CAAC,EACnCF,EAAM,IAAIM,CAAE,CACrB",
6
6
  "names": ["windowExists", "getToastContainer", "toast", "message", "options", "windowExists", "data", "removeToast", "id", "updateToast"]
7
7
  }