@warp-ds/elements 2.2.0-next.4 → 2.2.0-next.6

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 (196) hide show
  1. package/README.md +27 -17
  2. package/dist/.storybook/utilities.d.ts +28 -0
  3. package/dist/api.js +1 -49
  4. package/dist/api.js.map +2 -2
  5. package/dist/custom-elements.json +3312 -344
  6. package/dist/index.css +2 -0
  7. package/dist/index.css.map +7 -0
  8. package/dist/index.d.ts +5 -0
  9. package/dist/index.js +449 -7142
  10. package/dist/index.js.map +4 -4
  11. package/dist/packages/affix/affix.stories.d.ts +10 -0
  12. package/dist/packages/affix/affix.test.d.ts +1 -0
  13. package/dist/packages/affix/index.d.ts +52 -24
  14. package/dist/packages/affix/index.js +2448 -2241
  15. package/dist/packages/affix/index.js.map +4 -4
  16. package/dist/packages/affix/react.d.ts +2 -0
  17. package/dist/packages/affix/react.js +2482 -0
  18. package/dist/packages/affix/react.js.map +7 -0
  19. package/dist/packages/affix/styles.d.ts +1 -0
  20. package/dist/packages/alert/alert.stories.d.ts +15 -0
  21. package/dist/packages/alert/index.d.ts +16 -1
  22. package/dist/packages/alert/index.js +2472 -0
  23. package/dist/packages/alert/index.js.map +7 -0
  24. package/dist/packages/alert/react.d.ts +2 -0
  25. package/dist/packages/alert/react.js +2492 -0
  26. package/dist/packages/alert/react.js.map +7 -0
  27. package/dist/packages/alert/styles.d.ts +1 -0
  28. package/dist/packages/attention/attention.stories.d.ts +10 -0
  29. package/dist/packages/attention/index.d.ts +14 -1
  30. package/dist/packages/attention/index.js +17 -3977
  31. package/dist/packages/attention/index.js.map +4 -4
  32. package/dist/packages/badge/badge.stories.d.ts +17 -0
  33. package/dist/packages/badge/badge.test.d.ts +1 -0
  34. package/dist/packages/badge/index.d.ts +17 -12
  35. package/dist/packages/badge/index.js +2441 -300
  36. package/dist/packages/badge/index.js.map +4 -4
  37. package/dist/packages/badge/react.d.ts +2 -0
  38. package/dist/packages/badge/react.js +2465 -0
  39. package/dist/packages/badge/react.js.map +7 -0
  40. package/dist/packages/badge/styles.d.ts +1 -0
  41. package/dist/packages/box/box.stories.d.ts +14 -0
  42. package/dist/packages/box/box.test.d.ts +1 -0
  43. package/dist/packages/box/index.d.ts +21 -21
  44. package/dist/packages/box/index.js +2441 -304
  45. package/dist/packages/box/index.js.map +4 -4
  46. package/dist/packages/box/react.d.ts +2 -0
  47. package/dist/packages/box/react.js +2465 -0
  48. package/dist/packages/box/react.js.map +7 -0
  49. package/dist/packages/box/slot.test.d.ts +1 -0
  50. package/dist/packages/box/styles.d.ts +1 -0
  51. package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +12 -0
  52. package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -0
  53. package/dist/packages/breadcrumbs/index.d.ts +24 -16
  54. package/dist/packages/breadcrumbs/index.js +2402 -2049
  55. package/dist/packages/breadcrumbs/index.js.map +4 -4
  56. package/dist/packages/breadcrumbs/react.d.ts +2 -0
  57. package/dist/packages/breadcrumbs/react.js +2475 -0
  58. package/dist/packages/breadcrumbs/react.js.map +7 -0
  59. package/dist/packages/breadcrumbs/styles.d.ts +1 -0
  60. package/dist/packages/button/button.stories.d.ts +21 -0
  61. package/dist/packages/button/index.d.ts +85 -7
  62. package/dist/packages/button/index.js +2460 -0
  63. package/dist/packages/button/index.js.map +7 -0
  64. package/dist/packages/button/react.d.ts +2 -0
  65. package/dist/packages/button/react.js +2480 -0
  66. package/dist/packages/button/react.js.map +7 -0
  67. package/dist/packages/button/styles.d.ts +1 -0
  68. package/dist/packages/card/card.stories.d.ts +15 -0
  69. package/dist/packages/card/index.d.ts +27 -1
  70. package/dist/packages/card/index.js +2467 -0
  71. package/dist/packages/card/index.js.map +7 -0
  72. package/dist/packages/card/react.d.ts +2 -0
  73. package/dist/packages/card/react.js +2487 -0
  74. package/dist/packages/card/react.js.map +7 -0
  75. package/dist/packages/card/styles.d.ts +1 -0
  76. package/dist/packages/datepicker/datepicker.d.ts +89 -0
  77. package/dist/packages/datepicker/datepicker.stories.d.ts +11 -0
  78. package/dist/packages/datepicker/index.d.ts +1 -0
  79. package/dist/packages/datepicker/index.js +2782 -0
  80. package/dist/packages/datepicker/index.js.map +7 -0
  81. package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
  82. package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
  83. package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
  84. package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
  85. package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
  86. package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
  87. package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
  88. package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
  89. package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
  90. package/dist/packages/datepicker/utils.d.ts +13 -0
  91. package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +10 -0
  92. package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
  93. package/dist/packages/dead-toggle/index.d.ts +21 -0
  94. package/dist/packages/dead-toggle/index.js +2487 -0
  95. package/dist/packages/dead-toggle/index.js.map +7 -0
  96. package/dist/packages/dead-toggle/react.d.ts +2 -0
  97. package/dist/packages/dead-toggle/react.js +2507 -0
  98. package/dist/packages/dead-toggle/react.js.map +7 -0
  99. package/dist/packages/expandable/expandable.stories.d.ts +19 -0
  100. package/dist/packages/expandable/index.d.ts +43 -0
  101. package/dist/packages/expandable/index.js +2475 -0
  102. package/dist/packages/expandable/index.js.map +7 -0
  103. package/dist/packages/expandable/react.d.ts +2 -0
  104. package/dist/packages/expandable/react.js +2495 -0
  105. package/dist/packages/expandable/react.js.map +7 -0
  106. package/dist/packages/expandable/styles.d.ts +1 -0
  107. package/dist/packages/modal/index.d.ts +5 -6
  108. package/dist/packages/modal/index.js +2568 -2445
  109. package/dist/packages/modal/index.js.map +4 -4
  110. package/dist/packages/modal/modal-footer.d.ts +17 -10
  111. package/dist/packages/modal/modal-header.d.ts +20 -13
  112. package/dist/packages/modal/modal-main.d.ts +18 -7
  113. package/dist/packages/modal/modal.stories.d.ts +19 -0
  114. package/dist/packages/modal/react.d.ts +4 -0
  115. package/dist/packages/modal/react.js +2754 -0
  116. package/dist/packages/modal/react.js.map +7 -0
  117. package/dist/packages/modal/util.d.ts +7 -17
  118. package/dist/packages/pageindicator/index.d.ts +14 -0
  119. package/dist/packages/pageindicator/index.js +32 -0
  120. package/dist/packages/pageindicator/index.js.map +7 -0
  121. package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
  122. package/dist/packages/pageindicator/react.d.ts +2 -0
  123. package/dist/packages/pageindicator/react.js +52 -0
  124. package/dist/packages/pageindicator/react.js.map +7 -0
  125. package/dist/packages/pageindicator/style.d.ts +1 -0
  126. package/dist/packages/pagination/index.d.ts +37 -0
  127. package/dist/packages/pagination/index.js +2494 -0
  128. package/dist/packages/pagination/index.js.map +7 -0
  129. package/dist/packages/pagination/locales/da/messages.d.mts +1 -0
  130. package/dist/packages/pagination/locales/en/messages.d.mts +1 -0
  131. package/dist/packages/pagination/locales/fi/messages.d.mts +1 -0
  132. package/dist/packages/pagination/locales/nb/messages.d.mts +1 -0
  133. package/dist/packages/pagination/locales/sv/messages.d.mts +1 -0
  134. package/dist/packages/pagination/pagination.stories.d.ts +14 -0
  135. package/dist/packages/pagination/pagination.test.d.ts +1 -0
  136. package/dist/packages/pagination/react.d.ts +2 -0
  137. package/dist/packages/pagination/react.js +2514 -0
  138. package/dist/packages/pagination/react.js.map +7 -0
  139. package/dist/packages/pagination/styles.d.ts +1 -0
  140. package/dist/packages/pill/index.d.ts +44 -23
  141. package/dist/packages/pill/index.js +2408 -2173
  142. package/dist/packages/pill/index.js.map +4 -4
  143. package/dist/packages/pill/pill.stories.d.ts +12 -0
  144. package/dist/packages/pill/pill.test.d.ts +1 -0
  145. package/dist/packages/pill/styles.d.ts +1 -0
  146. package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +64 -0
  147. package/dist/packages/rip-and-tear-checkbox/index.css +2 -0
  148. package/dist/packages/rip-and-tear-checkbox/index.css.map +7 -0
  149. package/dist/packages/rip-and-tear-checkbox/index.d.ts +6 -0
  150. package/dist/packages/rip-and-tear-checkbox/index.js +36 -0
  151. package/dist/packages/rip-and-tear-checkbox/index.js.map +7 -0
  152. package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
  153. package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
  154. package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
  155. package/dist/packages/rip-and-tear-radio/index.css +2 -0
  156. package/dist/packages/rip-and-tear-radio/index.css.map +7 -0
  157. package/dist/packages/rip-and-tear-radio/index.d.ts +8 -0
  158. package/dist/packages/rip-and-tear-radio/index.js +34 -0
  159. package/dist/packages/rip-and-tear-radio/index.js.map +7 -0
  160. package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
  161. package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
  162. package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
  163. package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
  164. package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
  165. package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
  166. package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
  167. package/dist/packages/select/index.d.ts +59 -58
  168. package/dist/packages/select/index.js +2421 -2531
  169. package/dist/packages/select/index.js.map +4 -4
  170. package/dist/packages/select/react.d.ts +2 -0
  171. package/dist/packages/select/react.js +2494 -0
  172. package/dist/packages/select/react.js.map +7 -0
  173. package/dist/packages/select/select.stories.d.ts +10 -0
  174. package/dist/packages/select/select.test.d.ts +1 -0
  175. package/dist/packages/select/styles.d.ts +1 -0
  176. package/dist/packages/textfield/index.d.ts +70 -72
  177. package/dist/packages/textfield/index.js +2455 -701
  178. package/dist/packages/textfield/index.js.map +4 -4
  179. package/dist/packages/textfield/react.d.ts +2 -0
  180. package/dist/packages/textfield/react.js +2490 -0
  181. package/dist/packages/textfield/react.js.map +7 -0
  182. package/dist/packages/textfield/styles.d.ts +1 -0
  183. package/dist/packages/textfield/textfield.stories.d.ts +17 -0
  184. package/dist/packages/textfield/textfield.test.d.ts +1 -0
  185. package/dist/packages/toast/index.js +24 -2782
  186. package/dist/packages/toast/index.js.map +4 -4
  187. package/dist/packages/toast/toast-container.d.ts +16 -0
  188. package/dist/packages/toast/toast.d.ts +20 -0
  189. package/dist/packages/toast/toast.stories.d.ts +12 -0
  190. package/dist/packages/utils/index.d.ts +1 -1
  191. package/dist/packages/utils/unstyled-heading.d.ts +1 -1
  192. package/dist/setup-tests.d.ts +1 -0
  193. package/dist/vscode.css-custom-data.json +6 -0
  194. package/dist/vscode.html-custom-data.json +360 -0
  195. package/dist/web-types.json +831 -0
  196. package/package.json +48 -13
@@ -8,7 +8,7 @@
8
8
  "declarations": [
9
9
  {
10
10
  "kind": "class",
11
- "description": "",
11
+ "description": "Alert is an inline component used for displaying different types of messages.\n\nFor accessibility reasons, alert should appear close to the element that triggered it.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/feedback-alert--docs)",
12
12
  "name": "WarpAlert",
13
13
  "members": [
14
14
  {
@@ -19,7 +19,10 @@
19
19
  },
20
20
  "default": "'info'",
21
21
  "attribute": "variant",
22
- "reflects": true
22
+ "reflects": true,
23
+ "parsedType": {
24
+ "text": "'negative' | 'positive' | 'warning' | 'info'"
25
+ }
23
26
  },
24
27
  {
25
28
  "kind": "field",
@@ -40,21 +43,6 @@
40
43
  "default": "'alert'",
41
44
  "attribute": "role",
42
45
  "reflects": true
43
- },
44
- {
45
- "kind": "field",
46
- "name": "_wrapperClasses",
47
- "readonly": true
48
- },
49
- {
50
- "kind": "field",
51
- "name": "_iconClasses",
52
- "readonly": true
53
- },
54
- {
55
- "kind": "field",
56
- "name": "_icon",
57
- "readonly": true
58
46
  }
59
47
  ],
60
48
  "attributes": [
@@ -64,7 +52,10 @@
64
52
  "text": "AlertVariants"
65
53
  },
66
54
  "default": "'info'",
67
- "fieldName": "variant"
55
+ "fieldName": "variant",
56
+ "parsedType": {
57
+ "text": "'negative' | 'positive' | 'warning' | 'info'"
58
+ }
68
59
  },
69
60
  {
70
61
  "name": "show",
@@ -112,698 +103,3675 @@
112
103
  },
113
104
  {
114
105
  "kind": "javascript-module",
115
- "path": "packages/button/index.ts",
106
+ "path": "packages/affix/index.ts",
116
107
  "declarations": [
108
+ {
109
+ "kind": "variable",
110
+ "name": "ccSuffix",
111
+ "type": {
112
+ "text": "object"
113
+ },
114
+ "default": "{ wrapper: prefixSuffixWrapper + 'right-0', wrapperWithLabel: 'w-max pr-12', wrapperWithIcon: 'w-40', label: 'antialiased block relative cursor-default pb-0 font-bold text-xs s-text', }"
115
+ },
116
+ {
117
+ "kind": "variable",
118
+ "name": "ccPrefix",
119
+ "type": {
120
+ "text": "object"
121
+ },
122
+ "default": "{ wrapper: prefixSuffixWrapper + 'left-0', wrapperWithLabel: 'w-max pl-12', wrapperWithIcon: 'w-40', label: 'antialiased block relative cursor-default pb-0 font-bold text-xs s-text', }"
123
+ },
117
124
  {
118
125
  "kind": "class",
119
- "description": "",
120
- "name": "WarpButton",
126
+ "description": "This component is usually used in other components like form elements to show a prefix or suffix. See for example `w-textfield`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-affix--docs)",
127
+ "name": "WarpAffix",
121
128
  "members": [
122
129
  {
123
130
  "kind": "field",
124
- "name": "shadowRootOptions",
131
+ "name": "ariaLabel",
125
132
  "type": {
126
- "text": "object"
133
+ "text": "string"
127
134
  },
128
- "static": true,
129
- "default": "{ ...WarpElement.shadowRootOptions, delegatesFocus: true, }"
135
+ "attribute": "aria-label"
130
136
  },
131
137
  {
132
138
  "kind": "field",
133
- "name": "type",
139
+ "name": "clear",
134
140
  "type": {
135
- "text": "ButtonType"
141
+ "text": "boolean"
136
142
  },
137
- "default": "'button'",
138
- "attribute": "type",
139
- "reflects": true
143
+ "default": "false",
144
+ "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
145
+ "attribute": "clear"
140
146
  },
141
147
  {
142
148
  "kind": "field",
143
- "name": "autofocus",
149
+ "name": "search",
144
150
  "type": {
145
151
  "text": "boolean"
146
152
  },
147
- "attribute": "autofocus",
148
- "reflects": true
153
+ "default": "false",
154
+ "description": "Add this property to render a clickable Warp search icon.\n\nSet an `aria-label` that explains the action when using this.",
155
+ "attribute": "search"
149
156
  },
150
157
  {
151
158
  "kind": "field",
152
- "name": "variant",
159
+ "name": "label",
153
160
  "type": {
154
- "text": "ButtonVariant"
161
+ "text": "string"
155
162
  },
156
- "default": "'secondary'",
157
- "attribute": "variant",
158
- "reflects": true
159
- },
163
+ "attribute": "label"
164
+ }
165
+ ],
166
+ "attributes": [
160
167
  {
161
- "kind": "field",
162
- "name": "quiet",
168
+ "name": "aria-label",
163
169
  "type": {
164
- "text": "boolean"
170
+ "text": "string"
165
171
  },
166
- "attribute": "quiet",
167
- "reflects": true
172
+ "fieldName": "ariaLabel"
168
173
  },
169
174
  {
170
- "kind": "field",
171
- "name": "small",
175
+ "name": "clear",
172
176
  "type": {
173
177
  "text": "boolean"
174
178
  },
175
- "attribute": "small",
176
- "reflects": true
179
+ "default": "false",
180
+ "description": "Add this property to render a clickable Warp close icon.\n\nSet an `aria-label` that explains the action when using this.",
181
+ "fieldName": "clear"
177
182
  },
178
183
  {
179
- "kind": "field",
180
- "name": "loading",
184
+ "name": "search",
181
185
  "type": {
182
186
  "text": "boolean"
183
187
  },
184
- "attribute": "loading",
185
- "reflects": true
188
+ "default": "false",
189
+ "description": "Add this property to render a clickable Warp search icon.\n\nSet an `aria-label` that explains the action when using this.",
190
+ "fieldName": "search"
186
191
  },
187
192
  {
188
- "kind": "field",
189
- "name": "href",
193
+ "name": "label",
190
194
  "type": {
191
195
  "text": "string"
192
196
  },
193
- "attribute": "href",
194
- "reflects": true
195
- },
197
+ "fieldName": "label"
198
+ }
199
+ ],
200
+ "superclass": {
201
+ "name": "LitElement",
202
+ "package": "lit"
203
+ },
204
+ "tagName": "w-affix",
205
+ "customElement": true
206
+ }
207
+ ],
208
+ "exports": [
209
+ {
210
+ "kind": "js",
211
+ "name": "ccSuffix",
212
+ "declaration": {
213
+ "name": "ccSuffix",
214
+ "module": "packages/affix/index.ts"
215
+ }
216
+ },
217
+ {
218
+ "kind": "js",
219
+ "name": "ccPrefix",
220
+ "declaration": {
221
+ "name": "ccPrefix",
222
+ "module": "packages/affix/index.ts"
223
+ }
224
+ },
225
+ {
226
+ "kind": "custom-element-definition",
227
+ "name": "w-affix",
228
+ "declaration": {
229
+ "name": "WarpAffix",
230
+ "module": "packages/affix/index.ts"
231
+ }
232
+ },
233
+ {
234
+ "kind": "js",
235
+ "name": "WarpAffix",
236
+ "declaration": {
237
+ "name": "WarpAffix",
238
+ "module": "packages/affix/index.ts"
239
+ }
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "kind": "javascript-module",
245
+ "path": "packages/badge/index.ts",
246
+ "declarations": [
247
+ {
248
+ "kind": "class",
249
+ "description": "`w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)",
250
+ "name": "WarpBadge",
251
+ "members": [
196
252
  {
197
253
  "kind": "field",
198
- "name": "target",
254
+ "name": "variant",
199
255
  "type": {
200
- "text": "string"
256
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
201
257
  },
202
- "attribute": "target",
258
+ "default": "'neutral'",
259
+ "attribute": "variant",
203
260
  "reflects": true
204
261
  },
205
262
  {
206
263
  "kind": "field",
207
- "name": "rel",
264
+ "name": "position",
208
265
  "type": {
209
- "text": "string"
266
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
210
267
  },
211
- "attribute": "rel",
268
+ "attribute": "position",
212
269
  "reflects": true
213
- },
270
+ }
271
+ ],
272
+ "attributes": [
214
273
  {
215
- "kind": "field",
216
- "name": "fullWidth",
274
+ "name": "variant",
217
275
  "type": {
218
- "text": "boolean"
276
+ "text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
219
277
  },
220
- "attribute": "fullWidth",
221
- "reflects": true
278
+ "default": "'neutral'",
279
+ "fieldName": "variant"
222
280
  },
223
281
  {
224
- "kind": "field",
225
- "name": "buttonClass",
282
+ "name": "position",
226
283
  "type": {
227
- "text": "string"
284
+ "text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
228
285
  },
229
- "attribute": "buttonClass",
230
- "reflects": true
231
- },
286
+ "fieldName": "position"
287
+ }
288
+ ],
289
+ "superclass": {
290
+ "name": "LitElement",
291
+ "package": "lit"
292
+ },
293
+ "tagName": "w-badge",
294
+ "customElement": true
295
+ }
296
+ ],
297
+ "exports": [
298
+ {
299
+ "kind": "custom-element-definition",
300
+ "name": "w-badge",
301
+ "declaration": {
302
+ "name": "WarpBadge",
303
+ "module": "packages/badge/index.ts"
304
+ }
305
+ },
306
+ {
307
+ "kind": "js",
308
+ "name": "WarpBadge",
309
+ "declaration": {
310
+ "name": "WarpBadge",
311
+ "module": "packages/badge/index.ts"
312
+ }
313
+ }
314
+ ]
315
+ },
316
+ {
317
+ "kind": "javascript-module",
318
+ "path": "packages/box/index.ts",
319
+ "declarations": [
320
+ {
321
+ "kind": "class",
322
+ "description": "Box 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/layout-box--docs)",
323
+ "name": "WarpBox",
324
+ "members": [
232
325
  {
233
326
  "kind": "field",
234
- "name": "name",
327
+ "name": "bleed",
235
328
  "type": {
236
- "text": "string"
329
+ "text": "boolean"
237
330
  },
238
- "attribute": "name",
331
+ "attribute": "bleed",
239
332
  "reflects": true
240
333
  },
241
334
  {
242
335
  "kind": "field",
243
- "name": "value",
336
+ "name": "bordered",
244
337
  "type": {
245
- "text": "string"
338
+ "text": "boolean"
246
339
  },
247
- "attribute": "value",
340
+ "attribute": "bordered",
248
341
  "reflects": true
249
342
  },
250
343
  {
251
344
  "kind": "field",
252
- "name": "_primaryClasses",
253
- "readonly": true
254
- },
255
- {
256
- "kind": "field",
257
- "name": "_secondaryClasses",
258
- "readonly": true
259
- },
260
- {
261
- "kind": "field",
262
- "name": "_utilityClasses",
263
- "readonly": true
264
- },
265
- {
266
- "kind": "field",
267
- "name": "_negativeClasses",
268
- "readonly": true
269
- },
270
- {
271
- "kind": "field",
272
- "name": "_pillClasses",
273
- "readonly": true
274
- },
275
- {
276
- "kind": "field",
277
- "name": "_linkClasses",
278
- "readonly": true
279
- },
280
- {
281
- "kind": "field",
282
- "name": "_classes",
283
- "readonly": true
284
- },
285
- {
286
- "kind": "method",
287
- "name": "_handleButtonClick"
288
- },
289
- {
290
- "kind": "field",
291
- "name": "ariaValueTextLoading"
292
- }
293
- ],
294
- "attributes": [
295
- {
296
- "name": "type",
345
+ "name": "info",
297
346
  "type": {
298
- "text": "ButtonType"
347
+ "text": "boolean"
299
348
  },
300
- "default": "'button'",
301
- "fieldName": "type"
349
+ "attribute": "info",
350
+ "reflects": true
302
351
  },
303
352
  {
304
- "name": "autofocus",
353
+ "kind": "field",
354
+ "name": "neutral",
305
355
  "type": {
306
356
  "text": "boolean"
307
357
  },
308
- "fieldName": "autofocus"
358
+ "attribute": "neutral",
359
+ "reflects": true
309
360
  },
310
361
  {
311
- "name": "variant",
362
+ "kind": "field",
363
+ "name": "role",
312
364
  "type": {
313
- "text": "ButtonVariant"
365
+ "text": "string"
314
366
  },
315
- "default": "'secondary'",
316
- "fieldName": "variant"
317
- },
367
+ "attribute": "role",
368
+ "reflects": true
369
+ }
370
+ ],
371
+ "attributes": [
318
372
  {
319
- "name": "quiet",
373
+ "name": "bleed",
320
374
  "type": {
321
375
  "text": "boolean"
322
376
  },
323
- "fieldName": "quiet"
377
+ "fieldName": "bleed"
324
378
  },
325
379
  {
326
- "name": "small",
380
+ "name": "bordered",
327
381
  "type": {
328
382
  "text": "boolean"
329
383
  },
330
- "fieldName": "small"
384
+ "fieldName": "bordered"
331
385
  },
332
386
  {
333
- "name": "loading",
387
+ "name": "info",
334
388
  "type": {
335
389
  "text": "boolean"
336
390
  },
337
- "fieldName": "loading"
338
- },
339
- {
340
- "name": "href",
341
- "type": {
342
- "text": "string"
343
- },
344
- "fieldName": "href"
391
+ "fieldName": "info"
345
392
  },
346
393
  {
347
- "name": "target",
394
+ "name": "neutral",
348
395
  "type": {
349
- "text": "string"
396
+ "text": "boolean"
350
397
  },
351
- "fieldName": "target"
398
+ "fieldName": "neutral"
352
399
  },
353
400
  {
354
- "name": "rel",
401
+ "name": "role",
355
402
  "type": {
356
403
  "text": "string"
357
404
  },
358
- "fieldName": "rel"
359
- },
360
- {
361
- "name": "fullWidth",
362
- "type": {
363
- "text": "boolean"
364
- },
365
- "fieldName": "fullWidth"
366
- },
367
- {
368
- "name": "buttonClass",
369
- "type": {
370
- "text": "string"
371
- },
372
- "fieldName": "buttonClass"
373
- },
405
+ "fieldName": "role"
406
+ }
407
+ ],
408
+ "superclass": {
409
+ "name": "LitElement",
410
+ "package": "lit"
411
+ },
412
+ "tagName": "w-box",
413
+ "customElement": true
414
+ }
415
+ ],
416
+ "exports": [
417
+ {
418
+ "kind": "custom-element-definition",
419
+ "name": "w-box",
420
+ "declaration": {
421
+ "name": "WarpBox",
422
+ "module": "packages/box/index.ts"
423
+ }
424
+ },
425
+ {
426
+ "kind": "js",
427
+ "name": "WarpBox",
428
+ "declaration": {
429
+ "name": "WarpBox",
430
+ "module": "packages/box/index.ts"
431
+ }
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "kind": "javascript-module",
437
+ "path": "packages/breadcrumbs/index.ts",
438
+ "declarations": [
439
+ {
440
+ "kind": "variable",
441
+ "name": "ccBreadcrumbs",
442
+ "type": {
443
+ "text": "object"
444
+ },
445
+ "default": "{ wrapper: 'flex space-x-8', text: 's-text', link: 's-text-link', separator: 'select-none s-icon', a11y: 'sr-only', }"
446
+ },
447
+ {
448
+ "kind": "class",
449
+ "description": "Breadcrumbs show the navigation structure for the current location.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)",
450
+ "name": "WarpBreadcrumbs",
451
+ "members": [
374
452
  {
375
- "name": "name",
453
+ "kind": "field",
454
+ "name": "ariaLabel",
376
455
  "type": {
377
456
  "text": "string"
378
457
  },
379
- "fieldName": "name"
380
- },
458
+ "attribute": "aria-label"
459
+ }
460
+ ],
461
+ "attributes": [
381
462
  {
382
- "name": "value",
463
+ "name": "aria-label",
383
464
  "type": {
384
465
  "text": "string"
385
466
  },
386
- "fieldName": "value"
387
- }
388
- ],
389
- "mixins": [
390
- {
391
- "name": "FormControlMixin",
392
- "package": "@open-wc/form-control"
393
- },
394
- {
395
- "name": "kebabCaseAttributes",
396
- "module": "/packages/utils"
467
+ "fieldName": "ariaLabel"
397
468
  }
398
469
  ],
399
470
  "superclass": {
400
471
  "name": "LitElement",
401
472
  "package": "lit"
402
473
  },
403
- "tagName": "w-button",
474
+ "tagName": "w-breadcrumbs",
404
475
  "customElement": true
405
476
  }
406
477
  ],
407
478
  "exports": [
479
+ {
480
+ "kind": "js",
481
+ "name": "ccBreadcrumbs",
482
+ "declaration": {
483
+ "name": "ccBreadcrumbs",
484
+ "module": "packages/breadcrumbs/index.ts"
485
+ }
486
+ },
408
487
  {
409
488
  "kind": "custom-element-definition",
410
- "name": "w-button",
489
+ "name": "w-breadcrumbs",
411
490
  "declaration": {
412
- "name": "WarpButton",
413
- "module": "packages/button/index.ts"
491
+ "name": "WarpBreadcrumbs",
492
+ "module": "packages/breadcrumbs/index.ts"
414
493
  }
415
494
  },
416
495
  {
417
496
  "kind": "js",
418
- "name": "WarpButton",
497
+ "name": "WarpBreadcrumbs",
419
498
  "declaration": {
420
- "name": "WarpButton",
421
- "module": "packages/button/index.ts"
499
+ "name": "WarpBreadcrumbs",
500
+ "module": "packages/breadcrumbs/index.ts"
422
501
  }
423
502
  }
424
503
  ]
425
504
  },
426
505
  {
427
506
  "kind": "javascript-module",
428
- "path": "packages/card/index.ts",
507
+ "path": "packages/button/index.ts",
429
508
  "declarations": [
509
+ {
510
+ "kind": "variable",
511
+ "name": "ccButton",
512
+ "type": {
513
+ "text": "object"
514
+ },
515
+ "default": "{ // Buttontypes secondary: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, // .button--secondary, .button--default, .button secondaryHref: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondaryDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondarySmall: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondarySmallDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondaryQuiet: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondaryQuietDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondarySmallQuiet: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondarySmallQuietDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondaryLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallQuietLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, secondaryQuietLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, primary: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.primary} ${buttonColors.primary}`, // .button--primary, .button--cta primaryDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.isDisabled} ${buttonTypes.primary}`, primarySmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.primary} ${buttonColors.primary}`, primarySmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.isDisabled} ${buttonTypes.primary} `, primaryQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, primaryQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primarySmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, primarySmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primaryLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primaryQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, utility: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonColors.utility}`, // .button--utility utilityDisabled: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilityQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, // .button--utility-flat utilityQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilitySmall: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonColors.utility}`, utilitySmallDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilitySmallQuiet: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, utilitySmallQuietDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilityLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilitySmallLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilityQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, utilitySmallQuietLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, negative: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonColors.destructive}`, // .button--destructive negativeDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, // .button--destructive-flat negativeQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet}${buttonVariants.isDisabled}`, negativeSmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonColors.destructive}`, negativeSmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeSmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, negativeSmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.isDisabled}`, negativeLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.negative}`, negativeQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.inProgress}`, pill: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill}`, // .button--pill pillSmall: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonColors.pill}`, pillLoading: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonVariants.inProgress}`, pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`, link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`, linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`, linkAsButton: 'inline-block active:no-underline hover:no-underline focus:no-underline text-center', a11y: 'sr-only', fullWidth: 'w-full max-w-full', contentWidth: 'max-w-max', }"
516
+ },
430
517
  {
431
518
  "kind": "class",
432
- "description": "",
433
- "name": "WarpCard",
519
+ "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)",
520
+ "name": "WarpButton",
434
521
  "members": [
435
522
  {
436
523
  "kind": "field",
437
- "name": "selected",
524
+ "name": "shadowRootOptions",
525
+ "type": {
526
+ "text": "object"
527
+ },
528
+ "static": true,
529
+ "default": "{ ...WarpElement.shadowRootOptions, delegatesFocus: true, }"
530
+ },
531
+ {
532
+ "kind": "field",
533
+ "name": "type",
534
+ "type": {
535
+ "text": "ButtonType"
536
+ },
537
+ "default": "'button'",
538
+ "attribute": "type",
539
+ "reflects": true,
540
+ "parsedType": {
541
+ "text": "'button' | 'submit' | 'reset'"
542
+ }
543
+ },
544
+ {
545
+ "kind": "field",
546
+ "name": "autofocus",
438
547
  "type": {
439
548
  "text": "boolean"
440
549
  },
441
- "default": "false",
442
- "attribute": "selected",
550
+ "attribute": "autofocus",
443
551
  "reflects": true
444
552
  },
445
553
  {
446
554
  "kind": "field",
447
- "name": "flat",
555
+ "name": "variant",
556
+ "type": {
557
+ "text": "ButtonVariant"
558
+ },
559
+ "default": "'secondary'",
560
+ "attribute": "variant",
561
+ "reflects": true,
562
+ "parsedType": {
563
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
564
+ }
565
+ },
566
+ {
567
+ "kind": "field",
568
+ "name": "quiet",
448
569
  "type": {
449
570
  "text": "boolean"
450
571
  },
451
- "default": "false",
452
- "attribute": "flat"
572
+ "attribute": "quiet",
573
+ "reflects": true
453
574
  },
454
575
  {
455
576
  "kind": "field",
456
- "name": "clickable",
577
+ "name": "small",
457
578
  "type": {
458
579
  "text": "boolean"
459
580
  },
460
- "default": "false",
461
- "attribute": "clickable"
581
+ "attribute": "small",
582
+ "reflects": true
583
+ },
584
+ {
585
+ "kind": "field",
586
+ "name": "loading",
587
+ "type": {
588
+ "text": "boolean"
589
+ },
590
+ "attribute": "loading",
591
+ "reflects": true
462
592
  },
463
593
  {
464
594
  "kind": "field",
465
- "name": "buttonText",
595
+ "name": "href",
466
596
  "type": {
467
597
  "text": "string"
468
- }
598
+ },
599
+ "attribute": "href",
600
+ "reflects": true
469
601
  },
470
602
  {
471
603
  "kind": "field",
472
- "name": "_containerClasses",
473
- "readonly": true
604
+ "name": "target",
605
+ "type": {
606
+ "text": "string"
607
+ },
608
+ "attribute": "target",
609
+ "reflects": true
474
610
  },
475
611
  {
476
612
  "kind": "field",
477
- "name": "_outlineClasses",
478
- "readonly": true
613
+ "name": "rel",
614
+ "type": {
615
+ "text": "string"
616
+ },
617
+ "attribute": "rel",
618
+ "reflects": true
479
619
  },
480
620
  {
481
621
  "kind": "field",
482
- "name": "_interactiveElement",
483
- "readonly": true
622
+ "name": "fullWidth",
623
+ "type": {
624
+ "text": "boolean"
625
+ },
626
+ "attribute": "full-width",
627
+ "reflects": true
484
628
  },
485
629
  {
486
- "kind": "method",
487
- "name": "keypressed",
488
- "parameters": [
489
- {
490
- "name": "e",
491
- "type": {
492
- "text": "KeyboardEvent"
493
- }
494
- }
495
- ]
630
+ "kind": "field",
631
+ "name": "buttonClass",
632
+ "type": {
633
+ "text": "string"
634
+ },
635
+ "attribute": "button-class",
636
+ "reflects": true
637
+ },
638
+ {
639
+ "kind": "field",
640
+ "name": "name",
641
+ "type": {
642
+ "text": "string"
643
+ },
644
+ "attribute": "name",
645
+ "reflects": true
646
+ },
647
+ {
648
+ "kind": "field",
649
+ "name": "value",
650
+ "type": {
651
+ "text": "string"
652
+ },
653
+ "attribute": "value",
654
+ "reflects": true
655
+ },
656
+ {
657
+ "kind": "field",
658
+ "name": "ariaValueTextLoading"
496
659
  }
497
660
  ],
498
661
  "attributes": [
499
662
  {
500
- "name": "selected",
501
- "type": {
502
- "text": "boolean"
503
- },
504
- "default": "false",
505
- "fieldName": "selected"
506
- },
663
+ "name": "type",
664
+ "type": {
665
+ "text": "ButtonType"
666
+ },
667
+ "default": "'button'",
668
+ "fieldName": "type",
669
+ "parsedType": {
670
+ "text": "'button' | 'submit' | 'reset'"
671
+ }
672
+ },
673
+ {
674
+ "name": "autofocus",
675
+ "type": {
676
+ "text": "boolean"
677
+ },
678
+ "fieldName": "autofocus"
679
+ },
680
+ {
681
+ "name": "variant",
682
+ "type": {
683
+ "text": "ButtonVariant"
684
+ },
685
+ "default": "'secondary'",
686
+ "fieldName": "variant",
687
+ "parsedType": {
688
+ "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
689
+ }
690
+ },
691
+ {
692
+ "name": "quiet",
693
+ "type": {
694
+ "text": "boolean"
695
+ },
696
+ "fieldName": "quiet"
697
+ },
698
+ {
699
+ "name": "small",
700
+ "type": {
701
+ "text": "boolean"
702
+ },
703
+ "fieldName": "small"
704
+ },
705
+ {
706
+ "name": "loading",
707
+ "type": {
708
+ "text": "boolean"
709
+ },
710
+ "fieldName": "loading"
711
+ },
712
+ {
713
+ "name": "href",
714
+ "type": {
715
+ "text": "string"
716
+ },
717
+ "fieldName": "href"
718
+ },
719
+ {
720
+ "name": "target",
721
+ "type": {
722
+ "text": "string"
723
+ },
724
+ "fieldName": "target"
725
+ },
726
+ {
727
+ "name": "rel",
728
+ "type": {
729
+ "text": "string"
730
+ },
731
+ "fieldName": "rel"
732
+ },
733
+ {
734
+ "name": "full-width",
735
+ "type": {
736
+ "text": "boolean"
737
+ },
738
+ "fieldName": "fullWidth"
739
+ },
740
+ {
741
+ "name": "button-class",
742
+ "type": {
743
+ "text": "string"
744
+ },
745
+ "fieldName": "buttonClass"
746
+ },
747
+ {
748
+ "name": "name",
749
+ "type": {
750
+ "text": "string"
751
+ },
752
+ "fieldName": "name"
753
+ },
754
+ {
755
+ "name": "value",
756
+ "type": {
757
+ "text": "string"
758
+ },
759
+ "fieldName": "value"
760
+ }
761
+ ],
762
+ "mixins": [
763
+ {
764
+ "name": "FormControlMixin",
765
+ "package": "@open-wc/form-control"
766
+ }
767
+ ],
768
+ "superclass": {
769
+ "name": "LitElement",
770
+ "package": "lit"
771
+ },
772
+ "tagName": "w-button",
773
+ "customElement": true
774
+ }
775
+ ],
776
+ "exports": [
777
+ {
778
+ "kind": "js",
779
+ "name": "ccButton",
780
+ "declaration": {
781
+ "name": "ccButton",
782
+ "module": "packages/button/index.ts"
783
+ }
784
+ },
785
+ {
786
+ "kind": "custom-element-definition",
787
+ "name": "w-button",
788
+ "declaration": {
789
+ "name": "WarpButton",
790
+ "module": "packages/button/index.ts"
791
+ }
792
+ },
793
+ {
794
+ "kind": "js",
795
+ "name": "WarpButton",
796
+ "declaration": {
797
+ "name": "WarpButton",
798
+ "module": "packages/button/index.ts"
799
+ }
800
+ }
801
+ ]
802
+ },
803
+ {
804
+ "kind": "javascript-module",
805
+ "path": "packages/card/index.ts",
806
+ "declarations": [
807
+ {
808
+ "kind": "variable",
809
+ "name": "ccCard",
810
+ "type": {
811
+ "text": "object"
812
+ },
813
+ "default": "{ base: 'cursor-pointer overflow-hidden relative transition-all', shadow: 'group rounded-8 s-surface-elevated-200 hover:s-surface-elevated-200-hover active:s-surface-elevated-200-active', selected: '!s-bg-selected !hover:s-bg-selected-hover !active:s-bg-selected-active', outline: 'absolute border-2 rounded-8 inset-0 transition-all', outlineUnselected: 'border-transparent group-active:s-border-active', outlineSelected: 's-border-selected group-hover:s-border-selected-hover group-active:s-border-selected-active', flat: 'border-2 rounded-4', flatUnselected: 's-bg hover:s-bg-hover active:s-bg-active s-border hover:s-border-hover active:s-border-active', flatSelected: 's-bg-selected hover:s-bg-selected-hover active:s-bg-selected-active s-border-selected hover:s-border-selected-hover active:s-border-selected-active', a11y: 'sr-only', }"
814
+ },
815
+ {
816
+ "kind": "class",
817
+ "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)",
818
+ "name": "WarpCard",
819
+ "members": [
820
+ {
821
+ "kind": "field",
822
+ "name": "selected",
823
+ "type": {
824
+ "text": "boolean"
825
+ },
826
+ "default": "false",
827
+ "attribute": "selected",
828
+ "reflects": true
829
+ },
830
+ {
831
+ "kind": "field",
832
+ "name": "flat",
833
+ "type": {
834
+ "text": "boolean"
835
+ },
836
+ "default": "false",
837
+ "attribute": "flat"
838
+ },
839
+ {
840
+ "kind": "field",
841
+ "name": "clickable",
842
+ "type": {
843
+ "text": "boolean"
844
+ },
845
+ "default": "false",
846
+ "attribute": "clickable"
847
+ },
848
+ {
849
+ "kind": "method",
850
+ "name": "keypressed",
851
+ "parameters": [
852
+ {
853
+ "name": "e",
854
+ "type": {
855
+ "text": "KeyboardEvent"
856
+ }
857
+ }
858
+ ]
859
+ },
860
+ {
861
+ "kind": "field",
862
+ "name": "buttonText"
863
+ }
864
+ ],
865
+ "attributes": [
866
+ {
867
+ "name": "selected",
868
+ "type": {
869
+ "text": "boolean"
870
+ },
871
+ "default": "false",
872
+ "fieldName": "selected"
873
+ },
874
+ {
875
+ "name": "flat",
876
+ "type": {
877
+ "text": "boolean"
878
+ },
879
+ "default": "false",
880
+ "fieldName": "flat"
881
+ },
882
+ {
883
+ "name": "clickable",
884
+ "type": {
885
+ "text": "boolean"
886
+ },
887
+ "default": "false",
888
+ "fieldName": "clickable"
889
+ }
890
+ ],
891
+ "superclass": {
892
+ "name": "LitElement",
893
+ "package": "lit"
894
+ },
895
+ "tagName": "w-card",
896
+ "customElement": true
897
+ }
898
+ ],
899
+ "exports": [
900
+ {
901
+ "kind": "js",
902
+ "name": "ccCard",
903
+ "declaration": {
904
+ "name": "ccCard",
905
+ "module": "packages/card/index.ts"
906
+ }
907
+ },
908
+ {
909
+ "kind": "custom-element-definition",
910
+ "name": "w-card",
911
+ "declaration": {
912
+ "name": "WarpCard",
913
+ "module": "packages/card/index.ts"
914
+ }
915
+ },
916
+ {
917
+ "kind": "js",
918
+ "name": "WarpCard",
919
+ "declaration": {
920
+ "name": "WarpCard",
921
+ "module": "packages/card/index.ts"
922
+ }
923
+ }
924
+ ]
925
+ },
926
+ {
927
+ "kind": "javascript-module",
928
+ "path": "packages/datepicker/datepicker.ts",
929
+ "declarations": [
930
+ {
931
+ "kind": "class",
932
+ "description": "An input for dates.\n\nUses the `lang` attribute on either the element or on `<html>` to determine the locale options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)",
933
+ "name": "WarpDatepicker",
934
+ "members": [
935
+ {
936
+ "kind": "field",
937
+ "name": "shadowRootOptions",
938
+ "type": {
939
+ "text": "object"
940
+ },
941
+ "static": true,
942
+ "default": "{ ...WarpElement.shadowRootOptions, delegatesFocus: true, }"
943
+ },
944
+ {
945
+ "kind": "field",
946
+ "name": "label",
947
+ "type": {
948
+ "text": "string"
949
+ },
950
+ "attribute": "label",
951
+ "reflects": true
952
+ },
953
+ {
954
+ "kind": "field",
955
+ "name": "lang",
956
+ "type": {
957
+ "text": "string"
958
+ },
959
+ "description": "Takes precedence over the `<html>` lang attribute.",
960
+ "attribute": "lang",
961
+ "reflects": true
962
+ },
963
+ {
964
+ "kind": "field",
965
+ "name": "name",
966
+ "type": {
967
+ "text": "string"
968
+ },
969
+ "attribute": "name",
970
+ "reflects": true
971
+ },
972
+ {
973
+ "kind": "field",
974
+ "name": "value",
975
+ "type": {
976
+ "text": "string"
977
+ },
978
+ "attribute": "value",
979
+ "reflects": true
980
+ },
981
+ {
982
+ "kind": "field",
983
+ "name": "headerFormat",
984
+ "type": {
985
+ "text": "string"
986
+ },
987
+ "default": "'MMMM yyyy'",
988
+ "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
989
+ "attribute": "header-format"
990
+ },
991
+ {
992
+ "kind": "field",
993
+ "name": "weekdayFormat",
994
+ "type": {
995
+ "text": "string"
996
+ },
997
+ "default": "'EEEEEE'",
998
+ "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
999
+ "attribute": "weekday-format"
1000
+ },
1001
+ {
1002
+ "kind": "field",
1003
+ "name": "isDayDisabled",
1004
+ "type": {
1005
+ "text": "(day: Date) => boolean"
1006
+ },
1007
+ "description": "Lets you control if a date in the calendar should be disabled.\n\nThis needs to be set on the element instance in JavaScript, not as an HTML attribute."
1008
+ },
1009
+ {
1010
+ "kind": "field",
1011
+ "name": "dayFormat",
1012
+ "type": {
1013
+ "text": "string"
1014
+ },
1015
+ "default": "'PPPP'",
1016
+ "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1017
+ "attribute": "day-format"
1018
+ },
1019
+ {
1020
+ "kind": "field",
1021
+ "name": "isCalendarOpen",
1022
+ "type": {
1023
+ "text": "boolean"
1024
+ },
1025
+ "default": "false"
1026
+ },
1027
+ {
1028
+ "kind": "field",
1029
+ "name": "internalValue",
1030
+ "type": {
1031
+ "text": "string"
1032
+ },
1033
+ "default": "''",
1034
+ "description": "The current input value as a stringified date-like"
1035
+ },
1036
+ {
1037
+ "kind": "field",
1038
+ "name": "navigationDate",
1039
+ "type": {
1040
+ "text": "Date"
1041
+ }
1042
+ },
1043
+ {
1044
+ "kind": "field",
1045
+ "name": "selectedDate",
1046
+ "type": {
1047
+ "text": "Date | null"
1048
+ },
1049
+ "readonly": true
1050
+ },
1051
+ {
1052
+ "kind": "field",
1053
+ "name": "month",
1054
+ "readonly": true
1055
+ },
1056
+ {
1057
+ "kind": "field",
1058
+ "name": "weeks",
1059
+ "readonly": true
1060
+ },
1061
+ {
1062
+ "kind": "field",
1063
+ "name": "calendar",
1064
+ "type": {
1065
+ "text": "HTMLDivElement"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "field",
1070
+ "name": "input",
1071
+ "type": {
1072
+ "text": "HTMLInputElement"
1073
+ }
1074
+ },
1075
+ {
1076
+ "kind": "field",
1077
+ "name": "toggleButton",
1078
+ "type": {
1079
+ "text": "HTMLButtonElement"
1080
+ }
1081
+ },
1082
+ {
1083
+ "kind": "field",
1084
+ "name": "wrapper",
1085
+ "type": {
1086
+ "text": "HTMLDivElement"
1087
+ }
1088
+ },
1089
+ {
1090
+ "kind": "field",
1091
+ "name": "selectedCell",
1092
+ "type": {
1093
+ "text": "HTMLTableCellElement"
1094
+ }
1095
+ },
1096
+ {
1097
+ "kind": "method",
1098
+ "name": "#toggleCalendarOpen",
1099
+ "privacy": "private",
1100
+ "parameters": [
1101
+ {
1102
+ "name": "e",
1103
+ "type": {
1104
+ "text": "MouseEvent | KeyboardEvent"
1105
+ }
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "kind": "method",
1111
+ "name": "#nextMonth",
1112
+ "privacy": "private"
1113
+ },
1114
+ {
1115
+ "kind": "method",
1116
+ "name": "#previousMonth",
1117
+ "privacy": "private"
1118
+ },
1119
+ {
1120
+ "kind": "method",
1121
+ "name": "#dispatchChangeEvent",
1122
+ "privacy": "private"
1123
+ },
1124
+ {
1125
+ "kind": "method",
1126
+ "name": "#onClickOutside",
1127
+ "privacy": "private",
1128
+ "parameters": [
1129
+ {
1130
+ "name": "e",
1131
+ "type": {
1132
+ "text": "MouseEvent | FocusEvent"
1133
+ }
1134
+ }
1135
+ ]
1136
+ },
1137
+ {
1138
+ "kind": "method",
1139
+ "name": "#onInput",
1140
+ "privacy": "private",
1141
+ "parameters": [
1142
+ {
1143
+ "name": "e",
1144
+ "type": {
1145
+ "text": "InputEvent"
1146
+ }
1147
+ }
1148
+ ]
1149
+ },
1150
+ {
1151
+ "kind": "method",
1152
+ "name": "#onInputBlur",
1153
+ "privacy": "private",
1154
+ "parameters": [
1155
+ {
1156
+ "name": "e",
1157
+ "type": {
1158
+ "text": "FocusEvent"
1159
+ }
1160
+ }
1161
+ ]
1162
+ },
1163
+ {
1164
+ "kind": "method",
1165
+ "name": "#onInputKeyDown",
1166
+ "privacy": "private",
1167
+ "parameters": [
1168
+ {
1169
+ "name": "e",
1170
+ "type": {
1171
+ "text": "KeyboardEvent"
1172
+ }
1173
+ }
1174
+ ]
1175
+ },
1176
+ {
1177
+ "kind": "method",
1178
+ "name": "#onCalendarKeyDown",
1179
+ "privacy": "private",
1180
+ "parameters": [
1181
+ {
1182
+ "name": "e",
1183
+ "type": {
1184
+ "text": "KeyboardEvent"
1185
+ }
1186
+ }
1187
+ ]
1188
+ },
1189
+ {
1190
+ "kind": "method",
1191
+ "name": "#onCalendarSelect",
1192
+ "privacy": "private",
1193
+ "parameters": [
1194
+ {
1195
+ "name": "event",
1196
+ "type": {
1197
+ "text": "MouseEvent | KeyboardEvent"
1198
+ }
1199
+ }
1200
+ ]
1201
+ }
1202
+ ],
1203
+ "attributes": [
1204
+ {
1205
+ "name": "label",
1206
+ "type": {
1207
+ "text": "string"
1208
+ },
1209
+ "fieldName": "label"
1210
+ },
1211
+ {
1212
+ "name": "lang",
1213
+ "type": {
1214
+ "text": "string"
1215
+ },
1216
+ "description": "Takes precedence over the `<html>` lang attribute.",
1217
+ "fieldName": "lang"
1218
+ },
1219
+ {
1220
+ "name": "name",
1221
+ "type": {
1222
+ "text": "string"
1223
+ },
1224
+ "fieldName": "name"
1225
+ },
1226
+ {
1227
+ "name": "value",
1228
+ "type": {
1229
+ "text": "string"
1230
+ },
1231
+ "fieldName": "value"
1232
+ },
1233
+ {
1234
+ "name": "header-format",
1235
+ "type": {
1236
+ "text": "string"
1237
+ },
1238
+ "default": "'MMMM yyyy'",
1239
+ "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1240
+ "fieldName": "headerFormat"
1241
+ },
1242
+ {
1243
+ "name": "weekday-format",
1244
+ "type": {
1245
+ "text": "string"
1246
+ },
1247
+ "default": "'EEEEEE'",
1248
+ "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1249
+ "fieldName": "weekdayFormat"
1250
+ },
1251
+ {
1252
+ "name": "day-format",
1253
+ "type": {
1254
+ "text": "string"
1255
+ },
1256
+ "default": "'PPPP'",
1257
+ "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
1258
+ "fieldName": "dayFormat"
1259
+ }
1260
+ ],
1261
+ "mixins": [
1262
+ {
1263
+ "name": "FormControlMixin",
1264
+ "package": "@open-wc/form-control"
1265
+ }
1266
+ ],
1267
+ "superclass": {
1268
+ "name": "LitElement",
1269
+ "package": "lit"
1270
+ },
1271
+ "tagName": "w-datepicker",
1272
+ "customElement": true
1273
+ }
1274
+ ],
1275
+ "exports": [
1276
+ {
1277
+ "kind": "custom-element-definition",
1278
+ "name": "w-datepicker",
1279
+ "declaration": {
1280
+ "name": "WarpDatepicker",
1281
+ "module": "packages/datepicker/datepicker.ts"
1282
+ }
1283
+ },
1284
+ {
1285
+ "kind": "js",
1286
+ "name": "WarpDatepicker",
1287
+ "declaration": {
1288
+ "name": "WarpDatepicker",
1289
+ "module": "packages/datepicker/datepicker.ts"
1290
+ }
1291
+ }
1292
+ ]
1293
+ },
1294
+ {
1295
+ "kind": "javascript-module",
1296
+ "path": "packages/datepicker/index.ts",
1297
+ "declarations": [],
1298
+ "exports": [
1299
+ {
1300
+ "kind": "js",
1301
+ "name": "*",
1302
+ "declaration": {
1303
+ "name": "*",
1304
+ "package": "./datepicker.js"
1305
+ }
1306
+ }
1307
+ ]
1308
+ },
1309
+ {
1310
+ "kind": "javascript-module",
1311
+ "path": "packages/dead-toggle/index.ts",
1312
+ "declarations": [
1313
+ {
1314
+ "kind": "class",
1315
+ "description": "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.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)",
1316
+ "name": "WarpDeadToggle",
1317
+ "members": [
1318
+ {
1319
+ "kind": "field",
1320
+ "name": "type",
1321
+ "type": {
1322
+ "text": "'radio' | 'checkbox'"
1323
+ },
1324
+ "default": "'radio'",
1325
+ "attribute": "type"
1326
+ },
1327
+ {
1328
+ "kind": "field",
1329
+ "name": "checked",
1330
+ "type": {
1331
+ "text": "boolean"
1332
+ },
1333
+ "default": "false",
1334
+ "attribute": "checked",
1335
+ "reflects": true
1336
+ },
1337
+ {
1338
+ "kind": "field",
1339
+ "name": "indeterminate",
1340
+ "type": {
1341
+ "text": "boolean"
1342
+ },
1343
+ "default": "false",
1344
+ "attribute": "indeterminate",
1345
+ "reflects": true
1346
+ },
1347
+ {
1348
+ "kind": "field",
1349
+ "name": "invalid",
1350
+ "type": {
1351
+ "text": "boolean"
1352
+ },
1353
+ "default": "false",
1354
+ "attribute": "invalid",
1355
+ "reflects": true
1356
+ }
1357
+ ],
1358
+ "attributes": [
1359
+ {
1360
+ "name": "type",
1361
+ "type": {
1362
+ "text": "'radio' | 'checkbox'"
1363
+ },
1364
+ "default": "'radio'",
1365
+ "fieldName": "type"
1366
+ },
1367
+ {
1368
+ "name": "checked",
1369
+ "type": {
1370
+ "text": "boolean"
1371
+ },
1372
+ "default": "false",
1373
+ "fieldName": "checked"
1374
+ },
1375
+ {
1376
+ "name": "indeterminate",
1377
+ "type": {
1378
+ "text": "boolean"
1379
+ },
1380
+ "default": "false",
1381
+ "fieldName": "indeterminate"
1382
+ },
1383
+ {
1384
+ "name": "invalid",
1385
+ "type": {
1386
+ "text": "boolean"
1387
+ },
1388
+ "default": "false",
1389
+ "fieldName": "invalid"
1390
+ }
1391
+ ],
1392
+ "superclass": {
1393
+ "name": "LitElement",
1394
+ "package": "lit"
1395
+ },
1396
+ "tagName": "w-dead-toggle",
1397
+ "customElement": true
1398
+ }
1399
+ ],
1400
+ "exports": [
1401
+ {
1402
+ "kind": "js",
1403
+ "name": "WarpDeadToggle",
1404
+ "declaration": {
1405
+ "name": "WarpDeadToggle",
1406
+ "module": "packages/dead-toggle/index.ts"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "custom-element-definition",
1411
+ "name": "w-dead-toggle",
1412
+ "declaration": {
1413
+ "name": "WarpDeadToggle",
1414
+ "module": "packages/dead-toggle/index.ts"
1415
+ }
1416
+ }
1417
+ ]
1418
+ },
1419
+ {
1420
+ "kind": "javascript-module",
1421
+ "path": "packages/expandable/index.ts",
1422
+ "declarations": [
1423
+ {
1424
+ "kind": "variable",
1425
+ "name": "ccBox",
1426
+ "type": {
1427
+ "text": "object"
1428
+ },
1429
+ "default": "{ base: 'group block relative break-words last-child:mb-0 p-16 rounded-8', // Relative here enables w-clickable bleed: '-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8', // We target L and R to override the default rounded-8 info: 's-bg-info-subtle', neutral: 's-surface-sunken', bordered: 'border-2 s-border s-bg', }"
1430
+ },
1431
+ {
1432
+ "kind": "variable",
1433
+ "name": "ccExpandable",
1434
+ "type": {
1435
+ "text": "object"
1436
+ },
1437
+ "default": "{ wrapper: 'will-change-height s-text', box: 's-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 group block relative break-words last-child:mb-0 rounded-8', bleed: '-mx-16 rounded-l-0 rounded-r-0 sm:mx-0 sm:rounded-8', chevron: 'inline-block align-middle s-icon', chevronNonBox: 'ml-8', chevronTransform: 'transform transition-transform transform-gpu ease-in-out', chevronExpand: '-rotate-180', chevronCollapse: 'rotate-180', // These are web component specific classes, using the ::part-selector: elementsChevronDownTransform: 'part-[w-icon-chevron-down-16-part]:transform part-[w-icon-chevron-down-16-part]:transition-transform part-[w-icon-chevron-down-16-part]:transform-gpu part-[w-icon-chevron-down-16-part]:ease-in-out', elementsChevronUpTransform: 'part-[w-icon-chevron-up-16-part]:transform part-[w-icon-chevron-up-16-part]:transition-transform part-[w-icon-chevron-up-16-part]:transform-gpu part-[w-icon-chevron-up-16-part]:ease-in-out', elementsChevronExpand: 'part-[w-icon-chevron-down-16-part]:-rotate-180', elementsChevronCollapse: 'part-[w-icon-chevron-up-16-part]:rotate-180', expansion: 'overflow-hidden', expansionNotExpanded: 'h-0 invisible', button: 'focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 hover:underline focus-visible:underline', buttonBox: 'w-full text-left relative inline-flex items-center justify-between group relative break-words last-child:mb-0 p-16 rounded-8', contentWithTitle: 'pt-0', title: 'flex w-full justify-between items-center', titleType: 't4', }"
1438
+ },
1439
+ {
1440
+ "kind": "class",
1441
+ "description": "Expandable is a layout component used for creating expandable content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)",
1442
+ "name": "WarpExpandable",
1443
+ "slots": [
1444
+ {
1445
+ "description": "Alternative to the `title` attribute should you need to provide some additional markup.",
1446
+ "name": "title"
1447
+ }
1448
+ ],
1449
+ "members": [
1450
+ {
1451
+ "kind": "field",
1452
+ "name": "expanded",
1453
+ "type": {
1454
+ "text": "boolean"
1455
+ },
1456
+ "default": "false",
1457
+ "attribute": "expanded",
1458
+ "reflects": true
1459
+ },
1460
+ {
1461
+ "kind": "field",
1462
+ "name": "title",
1463
+ "type": {
1464
+ "text": "string"
1465
+ },
1466
+ "attribute": "title"
1467
+ },
1468
+ {
1469
+ "kind": "field",
1470
+ "name": "box",
1471
+ "type": {
1472
+ "text": "boolean"
1473
+ },
1474
+ "default": "false",
1475
+ "attribute": "box"
1476
+ },
1477
+ {
1478
+ "kind": "field",
1479
+ "name": "bleed",
1480
+ "type": {
1481
+ "text": "boolean"
1482
+ },
1483
+ "default": "false",
1484
+ "attribute": "bleed"
1485
+ },
1486
+ {
1487
+ "kind": "field",
1488
+ "name": "buttonClass",
1489
+ "type": {
1490
+ "text": "string"
1491
+ },
1492
+ "attribute": "button-class"
1493
+ },
1494
+ {
1495
+ "kind": "field",
1496
+ "name": "contentClass",
1497
+ "type": {
1498
+ "text": "string"
1499
+ },
1500
+ "attribute": "content-class"
1501
+ },
1502
+ {
1503
+ "kind": "field",
1504
+ "name": "noChevron",
1505
+ "type": {
1506
+ "text": "boolean"
1507
+ },
1508
+ "default": "false",
1509
+ "attribute": "no-chevron"
1510
+ },
1511
+ {
1512
+ "kind": "field",
1513
+ "name": "animated",
1514
+ "type": {
1515
+ "text": "boolean"
1516
+ },
1517
+ "default": "false",
1518
+ "attribute": "animated"
1519
+ },
1520
+ {
1521
+ "kind": "field",
1522
+ "name": "headingLevel",
1523
+ "type": {
1524
+ "text": "number"
1525
+ },
1526
+ "attribute": "heading-level"
1527
+ },
1528
+ {
1529
+ "kind": "field",
1530
+ "name": "_hasTitle",
1531
+ "type": {
1532
+ "text": "boolean"
1533
+ },
1534
+ "default": "true",
1535
+ "attribute": "_hasTitle"
1536
+ },
1537
+ {
1538
+ "kind": "field",
1539
+ "name": "_showChevronUp",
1540
+ "type": {
1541
+ "text": "boolean"
1542
+ },
1543
+ "default": "false",
1544
+ "attribute": "_showChevronUp"
1545
+ },
1546
+ {
1547
+ "kind": "field",
1548
+ "name": "#wrapperClasses",
1549
+ "privacy": "private",
1550
+ "readonly": true
1551
+ },
1552
+ {
1553
+ "kind": "field",
1554
+ "name": "#buttonClasses",
1555
+ "privacy": "private",
1556
+ "readonly": true
1557
+ },
1558
+ {
1559
+ "kind": "field",
1560
+ "name": "#chevronClasses",
1561
+ "privacy": "private",
1562
+ "readonly": true
1563
+ },
1564
+ {
1565
+ "kind": "field",
1566
+ "name": "#chevronIcon",
1567
+ "privacy": "private",
1568
+ "readonly": true
1569
+ },
1570
+ {
1571
+ "kind": "field",
1572
+ "name": "#contentClasses",
1573
+ "privacy": "private",
1574
+ "readonly": true
1575
+ },
1576
+ {
1577
+ "kind": "field",
1578
+ "name": "#expansionClasses",
1579
+ "privacy": "private",
1580
+ "readonly": true
1581
+ }
1582
+ ],
1583
+ "attributes": [
1584
+ {
1585
+ "name": "expanded",
1586
+ "type": {
1587
+ "text": "boolean"
1588
+ },
1589
+ "default": "false",
1590
+ "fieldName": "expanded"
1591
+ },
1592
+ {
1593
+ "name": "title",
1594
+ "type": {
1595
+ "text": "string"
1596
+ },
1597
+ "fieldName": "title"
1598
+ },
1599
+ {
1600
+ "name": "box",
1601
+ "type": {
1602
+ "text": "boolean"
1603
+ },
1604
+ "default": "false",
1605
+ "fieldName": "box"
1606
+ },
1607
+ {
1608
+ "name": "bleed",
1609
+ "type": {
1610
+ "text": "boolean"
1611
+ },
1612
+ "default": "false",
1613
+ "fieldName": "bleed"
1614
+ },
1615
+ {
1616
+ "name": "button-class",
1617
+ "type": {
1618
+ "text": "string"
1619
+ },
1620
+ "fieldName": "buttonClass"
1621
+ },
1622
+ {
1623
+ "name": "content-class",
1624
+ "type": {
1625
+ "text": "string"
1626
+ },
1627
+ "fieldName": "contentClass"
1628
+ },
1629
+ {
1630
+ "name": "no-chevron",
1631
+ "type": {
1632
+ "text": "boolean"
1633
+ },
1634
+ "default": "false",
1635
+ "fieldName": "noChevron"
1636
+ },
1637
+ {
1638
+ "name": "animated",
1639
+ "type": {
1640
+ "text": "boolean"
1641
+ },
1642
+ "default": "false",
1643
+ "fieldName": "animated"
1644
+ },
1645
+ {
1646
+ "name": "heading-level",
1647
+ "type": {
1648
+ "text": "number"
1649
+ },
1650
+ "fieldName": "headingLevel"
1651
+ },
1652
+ {
1653
+ "name": "_hasTitle",
1654
+ "type": {
1655
+ "text": "boolean"
1656
+ },
1657
+ "default": "true",
1658
+ "fieldName": "_hasTitle"
1659
+ },
1660
+ {
1661
+ "name": "_showChevronUp",
1662
+ "type": {
1663
+ "text": "boolean"
1664
+ },
1665
+ "default": "false",
1666
+ "fieldName": "_showChevronUp"
1667
+ }
1668
+ ],
1669
+ "superclass": {
1670
+ "name": "LitElement",
1671
+ "package": "lit"
1672
+ },
1673
+ "tagName": "w-expandable",
1674
+ "customElement": true
1675
+ }
1676
+ ],
1677
+ "exports": [
1678
+ {
1679
+ "kind": "js",
1680
+ "name": "ccBox",
1681
+ "declaration": {
1682
+ "name": "ccBox",
1683
+ "module": "packages/expandable/index.ts"
1684
+ }
1685
+ },
1686
+ {
1687
+ "kind": "js",
1688
+ "name": "ccExpandable",
1689
+ "declaration": {
1690
+ "name": "ccExpandable",
1691
+ "module": "packages/expandable/index.ts"
1692
+ }
1693
+ },
1694
+ {
1695
+ "kind": "custom-element-definition",
1696
+ "name": "w-expandable",
1697
+ "declaration": {
1698
+ "name": "WarpExpandable",
1699
+ "module": "packages/expandable/index.ts"
1700
+ }
1701
+ },
1702
+ {
1703
+ "kind": "js",
1704
+ "name": "WarpExpandable",
1705
+ "declaration": {
1706
+ "name": "WarpExpandable",
1707
+ "module": "packages/expandable/index.ts"
1708
+ }
1709
+ }
1710
+ ]
1711
+ },
1712
+ {
1713
+ "kind": "javascript-module",
1714
+ "path": "packages/modal/modal-footer.ts",
1715
+ "declarations": [
1716
+ {
1717
+ "kind": "class",
1718
+ "description": "The footer section of a modal, typically where you place actions.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
1719
+ "name": "ModalFooter",
1720
+ "members": [],
1721
+ "mixins": [
1722
+ {
1723
+ "name": "CanCloseMixin",
1724
+ "module": "/packages/modal/util"
1725
+ },
1726
+ {
1727
+ "name": "ProvidesCanCloseToSlotsMixin",
1728
+ "module": "/packages/modal/util"
1729
+ }
1730
+ ],
1731
+ "superclass": {
1732
+ "name": "LitElement",
1733
+ "package": "lit"
1734
+ },
1735
+ "tagName": "w-modal-footer",
1736
+ "customElement": true
1737
+ }
1738
+ ],
1739
+ "exports": [
1740
+ {
1741
+ "kind": "js",
1742
+ "name": "ModalFooter",
1743
+ "declaration": {
1744
+ "name": "ModalFooter",
1745
+ "module": "packages/modal/modal-footer.ts"
1746
+ }
1747
+ },
1748
+ {
1749
+ "kind": "custom-element-definition",
1750
+ "name": "w-modal-footer",
1751
+ "declaration": {
1752
+ "name": "ModalFooter",
1753
+ "module": "packages/modal/modal-footer.ts"
1754
+ }
1755
+ }
1756
+ ]
1757
+ },
1758
+ {
1759
+ "kind": "javascript-module",
1760
+ "path": "packages/modal/modal-header.ts",
1761
+ "declarations": [
1762
+ {
1763
+ "kind": "class",
1764
+ "description": "The header section of a modal, typically where you place the title and a close button.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
1765
+ "name": "ModalHeader",
1766
+ "slots": [
1767
+ {
1768
+ "description": "Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.",
1769
+ "name": "top"
1770
+ }
1771
+ ],
1772
+ "members": [
1773
+ {
1774
+ "kind": "field",
1775
+ "name": "title",
1776
+ "type": {
1777
+ "text": "string"
1778
+ },
1779
+ "attribute": "title"
1780
+ },
1781
+ {
1782
+ "kind": "field",
1783
+ "name": "back",
1784
+ "type": {
1785
+ "text": "boolean"
1786
+ },
1787
+ "attribute": "back"
1788
+ },
1789
+ {
1790
+ "kind": "field",
1791
+ "name": "noClose",
1792
+ "type": {
1793
+ "text": "boolean"
1794
+ },
1795
+ "attribute": "no-close"
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "titleEl",
1800
+ "type": {
1801
+ "text": "HTMLElement"
1802
+ }
1803
+ },
1804
+ {
1805
+ "kind": "field",
1806
+ "name": "titleClasses",
1807
+ "readonly": true
1808
+ },
1809
+ {
1810
+ "kind": "field",
1811
+ "name": "backButton",
1812
+ "readonly": true
1813
+ },
1814
+ {
1815
+ "kind": "field",
1816
+ "name": "closeButton",
1817
+ "readonly": true
1818
+ },
1819
+ {
1820
+ "kind": "method",
1821
+ "name": "emitBack"
1822
+ },
1823
+ {
1824
+ "kind": "method",
1825
+ "name": "handleTopSlotChange",
1826
+ "parameters": [
1827
+ {
1828
+ "name": "slotEvent"
1829
+ }
1830
+ ]
1831
+ }
1832
+ ],
1833
+ "events": [
1834
+ {
1835
+ "name": "backClicked",
1836
+ "type": {
1837
+ "text": "CustomEvent"
1838
+ }
1839
+ }
1840
+ ],
1841
+ "attributes": [
1842
+ {
1843
+ "name": "title",
1844
+ "type": {
1845
+ "text": "string"
1846
+ },
1847
+ "fieldName": "title"
1848
+ },
1849
+ {
1850
+ "name": "back",
1851
+ "type": {
1852
+ "text": "boolean"
1853
+ },
1854
+ "fieldName": "back"
1855
+ },
1856
+ {
1857
+ "name": "no-close",
1858
+ "type": {
1859
+ "text": "boolean"
1860
+ },
1861
+ "fieldName": "noClose"
1862
+ }
1863
+ ],
1864
+ "mixins": [
1865
+ {
1866
+ "name": "CanCloseMixin",
1867
+ "module": "/packages/modal/util.js"
1868
+ }
1869
+ ],
1870
+ "superclass": {
1871
+ "name": "LitElement",
1872
+ "package": "lit"
1873
+ },
1874
+ "tagName": "w-modal-header",
1875
+ "customElement": true
1876
+ }
1877
+ ],
1878
+ "exports": [
1879
+ {
1880
+ "kind": "js",
1881
+ "name": "ModalHeader",
1882
+ "declaration": {
1883
+ "name": "ModalHeader",
1884
+ "module": "packages/modal/modal-header.ts"
1885
+ }
1886
+ },
1887
+ {
1888
+ "kind": "custom-element-definition",
1889
+ "name": "w-modal-header",
1890
+ "declaration": {
1891
+ "name": "ModalHeader",
1892
+ "module": "packages/modal/modal-header.ts"
1893
+ }
1894
+ }
1895
+ ]
1896
+ },
1897
+ {
1898
+ "kind": "javascript-module",
1899
+ "path": "packages/modal/modal-main.ts",
1900
+ "declarations": [
1901
+ {
1902
+ "kind": "class",
1903
+ "description": "Modals (or dialogs) display important information that users need to acknowledge.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)",
1904
+ "name": "ModalMain",
1905
+ "slots": [
1906
+ {
1907
+ "description": "Typically where you would use the `w-modal-header` component.",
1908
+ "name": "header"
1909
+ },
1910
+ {
1911
+ "description": "The main content of the modal.",
1912
+ "name": "content"
1913
+ },
1914
+ {
1915
+ "description": "Typically where you would use the `w-modal-footer` component, for things like actions.",
1916
+ "name": "footer"
1917
+ }
1918
+ ],
1919
+ "members": [
1920
+ {
1921
+ "kind": "field",
1922
+ "name": "show",
1923
+ "type": {
1924
+ "text": "boolean"
1925
+ },
1926
+ "attribute": "show"
1927
+ },
1928
+ {
1929
+ "kind": "field",
1930
+ "name": "contentId",
1931
+ "type": {
1932
+ "text": "string"
1933
+ },
1934
+ "attribute": "content-id"
1935
+ },
1936
+ {
1937
+ "kind": "field",
1938
+ "name": "ignoreBackdropClicks",
1939
+ "type": {
1940
+ "text": "boolean"
1941
+ },
1942
+ "attribute": "ignore-backdrop-clicks"
1943
+ },
1944
+ {
1945
+ "kind": "field",
1946
+ "name": "dialogEl",
1947
+ "type": {
1948
+ "text": "HTMLDialogElement"
1949
+ }
1950
+ },
1951
+ {
1952
+ "kind": "field",
1953
+ "name": "dialogInnerEl",
1954
+ "type": {
1955
+ "text": "HTMLElement"
1956
+ }
1957
+ },
1958
+ {
1959
+ "kind": "field",
1960
+ "name": "contentEl",
1961
+ "type": {
1962
+ "text": "HTMLElement"
1963
+ }
1964
+ },
1965
+ {
1966
+ "kind": "method",
1967
+ "name": "open"
1968
+ },
1969
+ {
1970
+ "kind": "method",
1971
+ "name": "close"
1972
+ },
1973
+ {
1974
+ "kind": "method",
1975
+ "name": "handleListeners",
1976
+ "parameters": [
1977
+ {
1978
+ "name": "verb",
1979
+ "default": "'addEventListener'"
1980
+ }
1981
+ ]
1982
+ },
1983
+ {
1984
+ "kind": "method",
1985
+ "name": "eventPreventer",
1986
+ "parameters": [
1987
+ {
1988
+ "name": "evt",
1989
+ "type": {
1990
+ "text": "Event"
1991
+ }
1992
+ }
1993
+ ]
1994
+ },
1995
+ {
1996
+ "kind": "method",
1997
+ "name": "closeOnBackdropClick",
1998
+ "parameters": [
1999
+ {
2000
+ "name": "evt",
2001
+ "type": {
2002
+ "text": "MouseEvent"
2003
+ }
2004
+ }
2005
+ ]
2006
+ },
2007
+ {
2008
+ "kind": "method",
2009
+ "name": "interceptEscape",
2010
+ "parameters": [
2011
+ {
2012
+ "name": "evt",
2013
+ "type": {
2014
+ "text": "KeyboardEvent"
2015
+ }
2016
+ }
2017
+ ]
2018
+ },
2019
+ {
2020
+ "kind": "method",
2021
+ "name": "modifyBorderRadius"
2022
+ }
2023
+ ],
2024
+ "events": [
2025
+ {
2026
+ "name": "shown",
2027
+ "type": {
2028
+ "text": "CustomEvent"
2029
+ }
2030
+ },
2031
+ {
2032
+ "name": "hidden",
2033
+ "type": {
2034
+ "text": "CustomEvent"
2035
+ }
2036
+ }
2037
+ ],
2038
+ "attributes": [
2039
+ {
2040
+ "name": "show",
2041
+ "type": {
2042
+ "text": "boolean"
2043
+ },
2044
+ "fieldName": "show"
2045
+ },
2046
+ {
2047
+ "name": "content-id",
2048
+ "type": {
2049
+ "text": "string"
2050
+ },
2051
+ "fieldName": "contentId"
2052
+ },
2053
+ {
2054
+ "name": "ignore-backdrop-clicks",
2055
+ "type": {
2056
+ "text": "boolean"
2057
+ },
2058
+ "fieldName": "ignoreBackdropClicks"
2059
+ }
2060
+ ],
2061
+ "mixins": [
2062
+ {
2063
+ "name": "ProvidesCanCloseToSlotsMixin",
2064
+ "module": "/packages/modal/util.js"
2065
+ }
2066
+ ],
2067
+ "superclass": {
2068
+ "name": "LitElement",
2069
+ "package": "lit"
2070
+ },
2071
+ "tagName": "w-modal",
2072
+ "customElement": true
2073
+ }
2074
+ ],
2075
+ "exports": [
2076
+ {
2077
+ "kind": "js",
2078
+ "name": "ModalMain",
2079
+ "declaration": {
2080
+ "name": "ModalMain",
2081
+ "module": "packages/modal/modal-main.ts"
2082
+ }
2083
+ },
2084
+ {
2085
+ "kind": "custom-element-definition",
2086
+ "name": "w-modal",
2087
+ "declaration": {
2088
+ "name": "ModalMain",
2089
+ "module": "packages/modal/modal-main.ts"
2090
+ }
2091
+ }
2092
+ ]
2093
+ },
2094
+ {
2095
+ "kind": "javascript-module",
2096
+ "path": "packages/modal/index.ts",
2097
+ "declarations": [],
2098
+ "exports": [
2099
+ {
2100
+ "kind": "js",
2101
+ "name": "WarpModal",
2102
+ "declaration": {
2103
+ "name": "ModalMain",
2104
+ "module": "packages/modal/index.ts"
2105
+ }
2106
+ },
2107
+ {
2108
+ "kind": "js",
2109
+ "name": "WarpModalHeader",
2110
+ "declaration": {
2111
+ "name": "ModalHeader",
2112
+ "module": "packages/modal/index.ts"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "js",
2117
+ "name": "WarpModalFooter",
2118
+ "declaration": {
2119
+ "name": "ModalFooter",
2120
+ "module": "packages/modal/index.ts"
2121
+ }
2122
+ },
2123
+ {
2124
+ "kind": "js",
2125
+ "name": "ModalCanCloseMixin",
2126
+ "declaration": {
2127
+ "name": "CanCloseMixin",
2128
+ "module": "packages/modal/index.ts"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "js",
2133
+ "name": "ModalProvidesCanCloseToSlotsMixin",
2134
+ "declaration": {
2135
+ "name": "ProvidesCanCloseToSlotsMixin",
2136
+ "module": "packages/modal/index.ts"
2137
+ }
2138
+ }
2139
+ ]
2140
+ },
2141
+ {
2142
+ "kind": "javascript-module",
2143
+ "path": "packages/pageindicator/index.ts",
2144
+ "declarations": [
2145
+ {
2146
+ "kind": "class",
2147
+ "description": "",
2148
+ "name": "WarpPageIndicator",
2149
+ "members": [
2150
+ {
2151
+ "kind": "field",
2152
+ "name": "selectedPage",
2153
+ "type": {
2154
+ "text": "number"
2155
+ },
2156
+ "default": "1",
2157
+ "description": "Currently selected page (1-based index)",
2158
+ "attribute": "selected-page"
2159
+ },
2160
+ {
2161
+ "kind": "field",
2162
+ "name": "pageCount",
2163
+ "type": {
2164
+ "text": "number"
2165
+ },
2166
+ "default": "1",
2167
+ "description": "Total number of pages",
2168
+ "attribute": "page-count"
2169
+ }
2170
+ ],
2171
+ "attributes": [
2172
+ {
2173
+ "name": "selected-page",
2174
+ "type": {
2175
+ "text": "number"
2176
+ },
2177
+ "default": "1",
2178
+ "description": "Currently selected page (1-based index)",
2179
+ "fieldName": "selectedPage"
2180
+ },
2181
+ {
2182
+ "name": "page-count",
2183
+ "type": {
2184
+ "text": "number"
2185
+ },
2186
+ "default": "1",
2187
+ "description": "Total number of pages",
2188
+ "fieldName": "pageCount"
2189
+ }
2190
+ ],
2191
+ "superclass": {
2192
+ "name": "LitElement",
2193
+ "package": "lit"
2194
+ },
2195
+ "tagName": "w-pageindicator",
2196
+ "customElement": true
2197
+ }
2198
+ ],
2199
+ "exports": [
2200
+ {
2201
+ "kind": "js",
2202
+ "name": "WarpPageIndicator",
2203
+ "declaration": {
2204
+ "name": "WarpPageIndicator",
2205
+ "module": "packages/pageindicator/index.ts"
2206
+ }
2207
+ },
2208
+ {
2209
+ "kind": "custom-element-definition",
2210
+ "name": "w-pageindicator",
2211
+ "declaration": {
2212
+ "name": "WarpPageIndicator",
2213
+ "module": "packages/pageindicator/index.ts"
2214
+ }
2215
+ }
2216
+ ]
2217
+ },
2218
+ {
2219
+ "kind": "javascript-module",
2220
+ "path": "packages/pagination/index.ts",
2221
+ "declarations": [
2222
+ {
2223
+ "kind": "class",
2224
+ "description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)",
2225
+ "name": "WarpPagination",
2226
+ "members": [
2227
+ {
2228
+ "kind": "field",
2229
+ "name": "baseUrl",
2230
+ "type": {
2231
+ "text": "string"
2232
+ },
2233
+ "attribute": "base-url",
2234
+ "reflects": true
2235
+ },
2236
+ {
2237
+ "kind": "field",
2238
+ "name": "pages",
2239
+ "type": {
2240
+ "text": "number"
2241
+ },
2242
+ "attribute": "pages",
2243
+ "reflects": true
2244
+ },
2245
+ {
2246
+ "kind": "field",
2247
+ "name": "currentPageNumber",
2248
+ "type": {
2249
+ "text": "number"
2250
+ },
2251
+ "default": "1",
2252
+ "attribute": "current-page",
2253
+ "reflects": true
2254
+ },
2255
+ {
2256
+ "kind": "field",
2257
+ "name": "visiblePages",
2258
+ "type": {
2259
+ "text": "number"
2260
+ },
2261
+ "default": "7",
2262
+ "attribute": "visible-pages",
2263
+ "reflects": true
2264
+ },
2265
+ {
2266
+ "kind": "method",
2267
+ "name": "#dispatchClickPage",
2268
+ "privacy": "private",
2269
+ "parameters": [
2270
+ {
2271
+ "name": "e",
2272
+ "type": {
2273
+ "text": "PointerEvent"
2274
+ }
2275
+ }
2276
+ ]
2277
+ }
2278
+ ],
2279
+ "events": [
2280
+ {
2281
+ "name": "page-click",
2282
+ "type": {
2283
+ "text": "CustomEvent"
2284
+ },
2285
+ "description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
2286
+ }
2287
+ ],
2288
+ "attributes": [
2289
+ {
2290
+ "name": "base-url",
2291
+ "type": {
2292
+ "text": "string"
2293
+ },
2294
+ "fieldName": "baseUrl"
2295
+ },
2296
+ {
2297
+ "name": "pages",
2298
+ "type": {
2299
+ "text": "number"
2300
+ },
2301
+ "fieldName": "pages"
2302
+ },
2303
+ {
2304
+ "name": "current-page",
2305
+ "type": {
2306
+ "text": "number"
2307
+ },
2308
+ "default": "1",
2309
+ "fieldName": "currentPageNumber"
2310
+ },
2311
+ {
2312
+ "name": "visible-pages",
2313
+ "type": {
2314
+ "text": "number"
2315
+ },
2316
+ "default": "7",
2317
+ "fieldName": "visiblePages"
2318
+ }
2319
+ ],
2320
+ "superclass": {
2321
+ "name": "LitElement",
2322
+ "package": "lit"
2323
+ },
2324
+ "tagName": "w-pagination",
2325
+ "customElement": true
2326
+ }
2327
+ ],
2328
+ "exports": [
2329
+ {
2330
+ "kind": "custom-element-definition",
2331
+ "name": "w-pagination",
2332
+ "declaration": {
2333
+ "name": "WarpPagination",
2334
+ "module": "packages/pagination/index.ts"
2335
+ }
2336
+ },
2337
+ {
2338
+ "kind": "js",
2339
+ "name": "WarpPagination",
2340
+ "declaration": {
2341
+ "name": "WarpPagination",
2342
+ "module": "packages/pagination/index.ts"
2343
+ }
2344
+ }
2345
+ ]
2346
+ },
2347
+ {
2348
+ "kind": "javascript-module",
2349
+ "path": "packages/pill/index.ts",
2350
+ "declarations": [
2351
+ {
2352
+ "kind": "variable",
2353
+ "name": "pillStyles",
2354
+ "type": {
2355
+ "text": "object"
2356
+ },
2357
+ "default": "{ wrapper: 'flex items-center', button: 'inline-flex items-center focusable text-xs transition-all', suggestion: 'bg-[--w-color-pill-suggestion-background] hover:bg-[--w-color-pill-suggestion-background-hover] active:bg-[--w-color-pill-suggestion-background-active] s-text font-bold', filter: 's-bg-primary hover:s-bg-primary-hover active:s-bg-primary-active s-text-inverted', label: 'pl-12 py-8 rounded-l-full', labelWithoutClose: 'pr-12 rounded-r-full', labelWithClose: 'pr-2', close: 'pr-12 pl-4 py-8 rounded-r-full', closeIcon: 'h-16', a11y: 'sr-only', }"
2358
+ },
2359
+ {
2360
+ "kind": "class",
2361
+ "description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)",
2362
+ "name": "WarpPill",
2363
+ "members": [
2364
+ {
2365
+ "kind": "field",
2366
+ "name": "canClose",
2367
+ "type": {
2368
+ "text": "boolean"
2369
+ },
2370
+ "default": "false",
2371
+ "attribute": "can-close"
2372
+ },
2373
+ {
2374
+ "kind": "field",
2375
+ "name": "suggestion",
2376
+ "type": {
2377
+ "text": "boolean"
2378
+ },
2379
+ "default": "false",
2380
+ "attribute": "suggestion"
2381
+ },
2382
+ {
2383
+ "kind": "field",
2384
+ "name": "openSrLabel",
2385
+ "type": {
2386
+ "text": "string"
2387
+ },
2388
+ "deprecated": "Used \"open-arial-label\" instead.",
2389
+ "attribute": "open-sr-label"
2390
+ },
2391
+ {
2392
+ "kind": "field",
2393
+ "name": "openAriaLabel",
2394
+ "type": {
2395
+ "text": "string"
2396
+ },
2397
+ "attribute": "open-aria-label"
2398
+ },
2399
+ {
2400
+ "kind": "field",
2401
+ "name": "closeSrLabel",
2402
+ "type": {
2403
+ "text": "string"
2404
+ },
2405
+ "deprecated": "Used \"close-arial-label\" instead.",
2406
+ "attribute": "close-sr-label"
2407
+ },
2408
+ {
2409
+ "kind": "field",
2410
+ "name": "closeAriaLabel",
2411
+ "type": {
2412
+ "text": "string"
2413
+ },
2414
+ "attribute": "close-aria-label"
2415
+ },
2416
+ {
2417
+ "kind": "field",
2418
+ "name": "openFilterSrText"
2419
+ },
2420
+ {
2421
+ "kind": "field",
2422
+ "name": "removeFilterSrText"
2423
+ }
2424
+ ],
2425
+ "events": [
2426
+ {
2427
+ "name": "w-pill-click",
2428
+ "type": {
2429
+ "text": "CustomEvent"
2430
+ }
2431
+ },
2432
+ {
2433
+ "name": "w-pill-close",
2434
+ "type": {
2435
+ "text": "CustomEvent"
2436
+ }
2437
+ }
2438
+ ],
2439
+ "attributes": [
2440
+ {
2441
+ "name": "can-close",
2442
+ "type": {
2443
+ "text": "boolean"
2444
+ },
2445
+ "default": "false",
2446
+ "fieldName": "canClose"
2447
+ },
2448
+ {
2449
+ "name": "suggestion",
2450
+ "type": {
2451
+ "text": "boolean"
2452
+ },
2453
+ "default": "false",
2454
+ "fieldName": "suggestion"
2455
+ },
2456
+ {
2457
+ "name": "open-sr-label",
2458
+ "type": {
2459
+ "text": "string"
2460
+ },
2461
+ "deprecated": "Used \"open-arial-label\" instead.",
2462
+ "fieldName": "openSrLabel"
2463
+ },
2464
+ {
2465
+ "name": "open-aria-label",
2466
+ "type": {
2467
+ "text": "string"
2468
+ },
2469
+ "fieldName": "openAriaLabel"
2470
+ },
2471
+ {
2472
+ "name": "close-sr-label",
2473
+ "type": {
2474
+ "text": "string"
2475
+ },
2476
+ "deprecated": "Used \"close-arial-label\" instead.",
2477
+ "fieldName": "closeSrLabel"
2478
+ },
2479
+ {
2480
+ "name": "close-aria-label",
2481
+ "type": {
2482
+ "text": "string"
2483
+ },
2484
+ "fieldName": "closeAriaLabel"
2485
+ }
2486
+ ],
2487
+ "superclass": {
2488
+ "name": "LitElement",
2489
+ "package": "lit"
2490
+ },
2491
+ "tagName": "w-pill",
2492
+ "customElement": true
2493
+ }
2494
+ ],
2495
+ "exports": [
2496
+ {
2497
+ "kind": "js",
2498
+ "name": "pillStyles",
2499
+ "declaration": {
2500
+ "name": "pillStyles",
2501
+ "module": "packages/pill/index.ts"
2502
+ }
2503
+ },
2504
+ {
2505
+ "kind": "custom-element-definition",
2506
+ "name": "w-pill",
2507
+ "declaration": {
2508
+ "name": "WarpPill",
2509
+ "module": "packages/pill/index.ts"
2510
+ }
2511
+ },
2512
+ {
2513
+ "kind": "js",
2514
+ "name": "WarpPill",
2515
+ "declaration": {
2516
+ "name": "WarpPill",
2517
+ "module": "packages/pill/index.ts"
2518
+ }
2519
+ }
2520
+ ]
2521
+ },
2522
+ {
2523
+ "kind": "javascript-module",
2524
+ "path": "packages/rip-and-tear-checkbox/index.ts",
2525
+ "declarations": [],
2526
+ "exports": [
2527
+ {
2528
+ "kind": "custom-element-definition",
2529
+ "name": "w-checkbox",
2530
+ "declaration": {
2531
+ "name": "WCheckbox",
2532
+ "module": "/packages/rip-and-tear-checkbox/checkbox"
2533
+ }
2534
+ }
2535
+ ]
2536
+ },
2537
+ {
2538
+ "kind": "javascript-module",
2539
+ "path": "packages/rip-and-tear-radio/index.ts",
2540
+ "declarations": [],
2541
+ "exports": [
2542
+ {
2543
+ "kind": "custom-element-definition",
2544
+ "name": "w-radio",
2545
+ "declaration": {
2546
+ "name": "WRadio",
2547
+ "module": "/packages/rip-and-tear-radio/radio"
2548
+ }
2549
+ },
2550
+ {
2551
+ "kind": "custom-element-definition",
2552
+ "name": "w-radio-group",
2553
+ "declaration": {
2554
+ "name": "WRadioGroup",
2555
+ "module": "/packages/rip-and-tear-radio/radio-group"
2556
+ }
2557
+ }
2558
+ ]
2559
+ },
2560
+ {
2561
+ "kind": "javascript-module",
2562
+ "path": "packages/select/index.ts",
2563
+ "declarations": [
2564
+ {
2565
+ "kind": "variable",
2566
+ "name": "ccSelect",
2567
+ "type": {
2568
+ "text": "object"
2569
+ },
2570
+ "default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border hover:s-border-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper: `relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none `, chevron: 'block absolute top-[30%] right-0 bottom-0 w-32 h-full s-icon pointer-events-none cursor-pointer', chevronDisabled: 'opacity-25', }"
2571
+ },
2572
+ {
2573
+ "kind": "variable",
2574
+ "name": "ccLabel",
2575
+ "type": {
2576
+ "text": "object"
2577
+ },
2578
+ "default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
2579
+ },
2580
+ {
2581
+ "kind": "variable",
2582
+ "name": "ccHelpText",
2583
+ "type": {
2584
+ "text": "object"
2585
+ },
2586
+ "default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
2587
+ },
2588
+ {
2589
+ "kind": "class",
2590
+ "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)",
2591
+ "name": "WarpSelect",
2592
+ "members": [
2593
+ {
2594
+ "kind": "field",
2595
+ "name": "autoFocus",
2596
+ "type": {
2597
+ "text": "boolean"
2598
+ },
2599
+ "description": "Whether the element should receive focus on render",
2600
+ "attribute": "auto-focus",
2601
+ "reflects": true
2602
+ },
2603
+ {
2604
+ "kind": "field",
2605
+ "name": "invalid",
2606
+ "type": {
2607
+ "text": "boolean"
2608
+ },
2609
+ "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
2610
+ "attribute": "invalid",
2611
+ "reflects": true
2612
+ },
2613
+ {
2614
+ "kind": "field",
2615
+ "name": "always",
2616
+ "type": {
2617
+ "text": "boolean"
2618
+ },
2619
+ "description": "Whether to always show a hint",
2620
+ "attribute": "always",
2621
+ "reflects": true
2622
+ },
2623
+ {
2624
+ "kind": "field",
2625
+ "name": "hint",
2626
+ "type": {
2627
+ "text": "string"
2628
+ },
2629
+ "description": "The content displayed as the help text",
2630
+ "attribute": "hint",
2631
+ "reflects": true
2632
+ },
2633
+ {
2634
+ "kind": "field",
2635
+ "name": "label",
2636
+ "type": {
2637
+ "text": "string"
2638
+ },
2639
+ "description": "The content to disply as the label",
2640
+ "attribute": "label",
2641
+ "reflects": true
2642
+ },
2643
+ {
2644
+ "kind": "field",
2645
+ "name": "optional",
2646
+ "type": {
2647
+ "text": "boolean"
2648
+ },
2649
+ "description": "Whether to show optional text",
2650
+ "attribute": "optional",
2651
+ "reflects": true
2652
+ },
2653
+ {
2654
+ "kind": "field",
2655
+ "name": "disabled",
2656
+ "type": {
2657
+ "text": "boolean"
2658
+ },
2659
+ "description": "Renders the field in a disabled state.",
2660
+ "attribute": "disabled",
2661
+ "reflects": true
2662
+ },
2663
+ {
2664
+ "kind": "field",
2665
+ "name": "readOnly",
2666
+ "type": {
2667
+ "text": "boolean"
2668
+ },
2669
+ "description": "Renders the field in a readonly state.",
2670
+ "attribute": "read-only",
2671
+ "reflects": true
2672
+ },
2673
+ {
2674
+ "kind": "field",
2675
+ "name": "name",
2676
+ "type": {
2677
+ "text": "string"
2678
+ },
2679
+ "attribute": "name",
2680
+ "reflects": true
2681
+ },
2682
+ {
2683
+ "kind": "field",
2684
+ "name": "value",
2685
+ "type": {
2686
+ "text": "string"
2687
+ },
2688
+ "attribute": "value",
2689
+ "reflects": true
2690
+ },
2691
+ {
2692
+ "kind": "method",
2693
+ "name": "handleKeyDown",
2694
+ "parameters": [
2695
+ {
2696
+ "name": "event",
2697
+ "type": {
2698
+ "text": "KeyboardEvent"
2699
+ }
2700
+ }
2701
+ ]
2702
+ },
2703
+ {
2704
+ "kind": "field",
2705
+ "name": "#classes",
2706
+ "privacy": "private",
2707
+ "readonly": true
2708
+ },
2709
+ {
2710
+ "kind": "field",
2711
+ "name": "#helpTextClasses",
2712
+ "privacy": "private",
2713
+ "readonly": true
2714
+ },
2715
+ {
2716
+ "kind": "field",
2717
+ "name": "#chevronClasses",
2718
+ "privacy": "private",
2719
+ "readonly": true
2720
+ },
2721
+ {
2722
+ "kind": "field",
2723
+ "name": "#id",
2724
+ "privacy": "private",
2725
+ "readonly": true
2726
+ },
2727
+ {
2728
+ "kind": "field",
2729
+ "name": "#helpId",
2730
+ "privacy": "private",
2731
+ "readonly": true
2732
+ },
2733
+ {
2734
+ "kind": "method",
2735
+ "name": "onChange",
2736
+ "parameters": [
2737
+ {
2738
+ "name": "{ target }"
2739
+ }
2740
+ ]
2741
+ },
2742
+ {
2743
+ "kind": "field",
2744
+ "name": "_options",
2745
+ "attribute": "_options"
2746
+ }
2747
+ ],
2748
+ "attributes": [
2749
+ {
2750
+ "name": "auto-focus",
2751
+ "type": {
2752
+ "text": "boolean"
2753
+ },
2754
+ "description": "Whether the element should receive focus on render",
2755
+ "fieldName": "autoFocus"
2756
+ },
2757
+ {
2758
+ "name": "invalid",
2759
+ "type": {
2760
+ "text": "boolean"
2761
+ },
2762
+ "description": "Renders the field in an invalid state. Often paired with `hint` to provide feedback about the error",
2763
+ "fieldName": "invalid"
2764
+ },
2765
+ {
2766
+ "name": "always",
2767
+ "type": {
2768
+ "text": "boolean"
2769
+ },
2770
+ "description": "Whether to always show a hint",
2771
+ "fieldName": "always"
2772
+ },
2773
+ {
2774
+ "name": "hint",
2775
+ "type": {
2776
+ "text": "string"
2777
+ },
2778
+ "description": "The content displayed as the help text",
2779
+ "fieldName": "hint"
2780
+ },
2781
+ {
2782
+ "name": "label",
2783
+ "type": {
2784
+ "text": "string"
2785
+ },
2786
+ "description": "The content to disply as the label",
2787
+ "fieldName": "label"
2788
+ },
2789
+ {
2790
+ "name": "optional",
2791
+ "type": {
2792
+ "text": "boolean"
2793
+ },
2794
+ "description": "Whether to show optional text",
2795
+ "fieldName": "optional"
2796
+ },
2797
+ {
2798
+ "name": "disabled",
2799
+ "type": {
2800
+ "text": "boolean"
2801
+ },
2802
+ "description": "Renders the field in a disabled state.",
2803
+ "fieldName": "disabled"
2804
+ },
2805
+ {
2806
+ "name": "read-only",
2807
+ "type": {
2808
+ "text": "boolean"
2809
+ },
2810
+ "description": "Renders the field in a readonly state.",
2811
+ "fieldName": "readOnly"
2812
+ },
2813
+ {
2814
+ "name": "_options",
2815
+ "fieldName": "_options"
2816
+ },
2817
+ {
2818
+ "name": "name",
2819
+ "type": {
2820
+ "text": "string"
2821
+ },
2822
+ "fieldName": "name"
2823
+ },
2824
+ {
2825
+ "name": "value",
2826
+ "type": {
2827
+ "text": "string"
2828
+ },
2829
+ "fieldName": "value"
2830
+ }
2831
+ ],
2832
+ "mixins": [
2833
+ {
2834
+ "name": "FormControlMixin",
2835
+ "package": "@open-wc/form-control"
2836
+ }
2837
+ ],
2838
+ "superclass": {
2839
+ "name": "LitElement",
2840
+ "package": "lit"
2841
+ },
2842
+ "tagName": "w-select",
2843
+ "customElement": true
2844
+ }
2845
+ ],
2846
+ "exports": [
2847
+ {
2848
+ "kind": "js",
2849
+ "name": "ccSelect",
2850
+ "declaration": {
2851
+ "name": "ccSelect",
2852
+ "module": "packages/select/index.ts"
2853
+ }
2854
+ },
2855
+ {
2856
+ "kind": "js",
2857
+ "name": "ccLabel",
2858
+ "declaration": {
2859
+ "name": "ccLabel",
2860
+ "module": "packages/select/index.ts"
2861
+ }
2862
+ },
2863
+ {
2864
+ "kind": "js",
2865
+ "name": "ccHelpText",
2866
+ "declaration": {
2867
+ "name": "ccHelpText",
2868
+ "module": "packages/select/index.ts"
2869
+ }
2870
+ },
2871
+ {
2872
+ "kind": "js",
2873
+ "name": "WarpSelect",
2874
+ "declaration": {
2875
+ "name": "WarpSelect",
2876
+ "module": "packages/select/index.ts"
2877
+ }
2878
+ },
2879
+ {
2880
+ "kind": "custom-element-definition",
2881
+ "name": "w-select",
2882
+ "declaration": {
2883
+ "name": "WarpSelect",
2884
+ "module": "packages/select/index.ts"
2885
+ }
2886
+ }
2887
+ ]
2888
+ },
2889
+ {
2890
+ "kind": "javascript-module",
2891
+ "path": "packages/textfield/index.ts",
2892
+ "declarations": [
2893
+ {
2894
+ "kind": "variable",
2895
+ "name": "ccinput",
2896
+ "type": {
2897
+ "text": "object"
2898
+ },
2899
+ "default": "{ // wrapper classes wrapper: 'relative', // input classes base: 'block text-m leading-m mb-0 px-8 py-12 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] caret-current', // true default: 'border-1 s-text s-bg s-border hover:s-border-hover active:s-border-selected', // !isInvalid && !isDisabled && !isReadOnly disabled: 'border-1 s-text-disabled s-bg-disabled-subtle s-border-disabled pointer-events-none', // !isInvalid && isDisabled && !isReadOnly invalid: 'border-1 s-text-negative s-bg s-border-negative hover:s-border-negative-hover outline-[--w-s-color-border-negative]!', // isInvalid && !isDisabled && !isReadOnly readOnly: 'pl-0 bg-transparent pointer-events-none', // !isInvalid && !isDisabled && isReadOnly placeholder: 'placeholder:s-text-placeholder', suffix: 'pr-40', prefix: 'pl-[var(--w-prefix-width,_40px)]', // textarea classes textArea: 'min-h-[42] sm:min-h-[45]', }"
2900
+ },
2901
+ {
2902
+ "kind": "variable",
2903
+ "name": "ccLabel",
2904
+ "type": {
2905
+ "text": "object"
2906
+ },
2907
+ "default": "{ base: 'antialiased block relative text-s font-bold pb-4 cursor-pointer s-text', optional: 'pl-8 font-normal text-s s-text-subtle', }"
2908
+ },
2909
+ {
2910
+ "kind": "variable",
2911
+ "name": "ccHelpText",
2912
+ "type": {
2913
+ "text": "object"
2914
+ },
2915
+ "default": "{ base: 'text-xs mt-4 block', color: 's-text-subtle', colorInvalid: 's-text-negative', }"
2916
+ },
2917
+ {
2918
+ "kind": "class",
2919
+ "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)",
2920
+ "name": "WarpTextField",
2921
+ "members": [
2922
+ {
2923
+ "kind": "field",
2924
+ "name": "shadowRootOptions",
2925
+ "type": {
2926
+ "text": "object"
2927
+ },
2928
+ "static": true,
2929
+ "default": "{ ...WarpElement.shadowRootOptions, delegatesFocus: true, }"
2930
+ },
2931
+ {
2932
+ "kind": "field",
2933
+ "name": "disabled",
2934
+ "type": {
2935
+ "text": "boolean"
2936
+ },
2937
+ "attribute": "disabled",
2938
+ "reflects": true
2939
+ },
2940
+ {
2941
+ "kind": "field",
2942
+ "name": "invalid",
2943
+ "type": {
2944
+ "text": "boolean"
2945
+ },
2946
+ "attribute": "invalid",
2947
+ "reflects": true
2948
+ },
2949
+ {
2950
+ "kind": "field",
2951
+ "name": "id",
2952
+ "type": {
2953
+ "text": "string"
2954
+ },
2955
+ "attribute": "id",
2956
+ "reflects": true
2957
+ },
2958
+ {
2959
+ "kind": "field",
2960
+ "name": "label",
2961
+ "type": {
2962
+ "text": "string"
2963
+ },
2964
+ "attribute": "label",
2965
+ "reflects": true
2966
+ },
2967
+ {
2968
+ "kind": "field",
2969
+ "name": "helpText",
2970
+ "type": {
2971
+ "text": "string"
2972
+ },
2973
+ "attribute": "helpText",
2974
+ "reflects": true
2975
+ },
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "size",
2979
+ "type": {
2980
+ "text": "string"
2981
+ },
2982
+ "attribute": "size",
2983
+ "reflects": true
2984
+ },
2985
+ {
2986
+ "kind": "field",
2987
+ "name": "max",
2988
+ "type": {
2989
+ "text": "number"
2990
+ },
2991
+ "attribute": "max",
2992
+ "reflects": true
2993
+ },
2994
+ {
2995
+ "kind": "field",
2996
+ "name": "min",
2997
+ "type": {
2998
+ "text": "number"
2999
+ },
3000
+ "attribute": "min",
3001
+ "reflects": true
3002
+ },
3003
+ {
3004
+ "kind": "field",
3005
+ "name": "minLength",
3006
+ "type": {
3007
+ "text": "number"
3008
+ },
3009
+ "attribute": "min-length",
3010
+ "reflects": true
3011
+ },
3012
+ {
3013
+ "kind": "field",
3014
+ "name": "maxLength",
3015
+ "type": {
3016
+ "text": "number"
3017
+ },
3018
+ "attribute": "max-length",
3019
+ "reflects": true
3020
+ },
3021
+ {
3022
+ "kind": "field",
3023
+ "name": "pattern",
3024
+ "type": {
3025
+ "text": "string"
3026
+ },
3027
+ "attribute": "pattern",
3028
+ "reflects": true
3029
+ },
3030
+ {
3031
+ "kind": "field",
3032
+ "name": "placeholder",
3033
+ "type": {
3034
+ "text": "string"
3035
+ },
3036
+ "attribute": "placeholder",
3037
+ "reflects": true
3038
+ },
3039
+ {
3040
+ "kind": "field",
3041
+ "name": "readOnly",
3042
+ "type": {
3043
+ "text": "boolean"
3044
+ },
3045
+ "attribute": "read-only",
3046
+ "reflects": true
3047
+ },
3048
+ {
3049
+ "kind": "field",
3050
+ "name": "required",
3051
+ "type": {
3052
+ "text": "boolean"
3053
+ },
3054
+ "attribute": "required",
3055
+ "reflects": true
3056
+ },
3057
+ {
3058
+ "kind": "field",
3059
+ "name": "type",
3060
+ "type": {
3061
+ "text": "string"
3062
+ },
3063
+ "default": "'text'",
3064
+ "attribute": "type",
3065
+ "reflects": true
3066
+ },
3067
+ {
3068
+ "kind": "field",
3069
+ "name": "value",
3070
+ "type": {
3071
+ "text": "string"
3072
+ },
3073
+ "attribute": "value",
3074
+ "reflects": true
3075
+ },
3076
+ {
3077
+ "kind": "field",
3078
+ "name": "name",
3079
+ "type": {
3080
+ "text": "string"
3081
+ },
3082
+ "attribute": "name",
3083
+ "reflects": true
3084
+ },
3085
+ {
3086
+ "kind": "method",
3087
+ "name": "handler",
3088
+ "parameters": [
3089
+ {
3090
+ "name": "e",
3091
+ "type": {
3092
+ "text": "Event"
3093
+ }
3094
+ }
3095
+ ]
3096
+ },
3097
+ {
3098
+ "kind": "method",
3099
+ "name": "prefixSlotChange"
3100
+ },
3101
+ {
3102
+ "kind": "method",
3103
+ "name": "suffixSlotChange"
3104
+ }
3105
+ ],
3106
+ "attributes": [
3107
+ {
3108
+ "name": "disabled",
3109
+ "type": {
3110
+ "text": "boolean"
3111
+ },
3112
+ "fieldName": "disabled"
3113
+ },
3114
+ {
3115
+ "name": "invalid",
3116
+ "type": {
3117
+ "text": "boolean"
3118
+ },
3119
+ "fieldName": "invalid"
3120
+ },
3121
+ {
3122
+ "name": "id",
3123
+ "type": {
3124
+ "text": "string"
3125
+ },
3126
+ "fieldName": "id"
3127
+ },
3128
+ {
3129
+ "name": "label",
3130
+ "type": {
3131
+ "text": "string"
3132
+ },
3133
+ "fieldName": "label"
3134
+ },
3135
+ {
3136
+ "name": "helpText",
3137
+ "type": {
3138
+ "text": "string"
3139
+ },
3140
+ "fieldName": "helpText"
3141
+ },
3142
+ {
3143
+ "name": "size",
3144
+ "type": {
3145
+ "text": "string"
3146
+ },
3147
+ "fieldName": "size"
3148
+ },
3149
+ {
3150
+ "name": "max",
3151
+ "type": {
3152
+ "text": "number"
3153
+ },
3154
+ "fieldName": "max"
3155
+ },
3156
+ {
3157
+ "name": "min",
3158
+ "type": {
3159
+ "text": "number"
3160
+ },
3161
+ "fieldName": "min"
3162
+ },
3163
+ {
3164
+ "name": "min-length",
3165
+ "type": {
3166
+ "text": "number"
3167
+ },
3168
+ "fieldName": "minLength"
3169
+ },
3170
+ {
3171
+ "name": "max-length",
3172
+ "type": {
3173
+ "text": "number"
3174
+ },
3175
+ "fieldName": "maxLength"
3176
+ },
3177
+ {
3178
+ "name": "pattern",
3179
+ "type": {
3180
+ "text": "string"
3181
+ },
3182
+ "fieldName": "pattern"
3183
+ },
3184
+ {
3185
+ "name": "placeholder",
3186
+ "type": {
3187
+ "text": "string"
3188
+ },
3189
+ "fieldName": "placeholder"
3190
+ },
3191
+ {
3192
+ "name": "read-only",
3193
+ "type": {
3194
+ "text": "boolean"
3195
+ },
3196
+ "fieldName": "readOnly"
3197
+ },
3198
+ {
3199
+ "name": "required",
3200
+ "type": {
3201
+ "text": "boolean"
3202
+ },
3203
+ "fieldName": "required"
3204
+ },
3205
+ {
3206
+ "name": "type",
3207
+ "type": {
3208
+ "text": "string"
3209
+ },
3210
+ "default": "'text'",
3211
+ "fieldName": "type"
3212
+ },
3213
+ {
3214
+ "name": "value",
3215
+ "type": {
3216
+ "text": "string"
3217
+ },
3218
+ "fieldName": "value"
3219
+ },
3220
+ {
3221
+ "name": "name",
3222
+ "type": {
3223
+ "text": "string"
3224
+ },
3225
+ "fieldName": "name"
3226
+ }
3227
+ ],
3228
+ "mixins": [
3229
+ {
3230
+ "name": "FormControlMixin",
3231
+ "package": "@open-wc/form-control"
3232
+ }
3233
+ ],
3234
+ "superclass": {
3235
+ "name": "LitElement",
3236
+ "package": "lit"
3237
+ },
3238
+ "tagName": "w-textfield",
3239
+ "customElement": true
3240
+ }
3241
+ ],
3242
+ "exports": [
3243
+ {
3244
+ "kind": "js",
3245
+ "name": "ccinput",
3246
+ "declaration": {
3247
+ "name": "ccinput",
3248
+ "module": "packages/textfield/index.ts"
3249
+ }
3250
+ },
3251
+ {
3252
+ "kind": "js",
3253
+ "name": "ccLabel",
3254
+ "declaration": {
3255
+ "name": "ccLabel",
3256
+ "module": "packages/textfield/index.ts"
3257
+ }
3258
+ },
3259
+ {
3260
+ "kind": "js",
3261
+ "name": "ccHelpText",
3262
+ "declaration": {
3263
+ "name": "ccHelpText",
3264
+ "module": "packages/textfield/index.ts"
3265
+ }
3266
+ },
3267
+ {
3268
+ "kind": "custom-element-definition",
3269
+ "name": "w-textfield",
3270
+ "declaration": {
3271
+ "name": "WarpTextField",
3272
+ "module": "packages/textfield/index.ts"
3273
+ }
3274
+ },
3275
+ {
3276
+ "kind": "js",
3277
+ "name": "WarpTextField",
3278
+ "declaration": {
3279
+ "name": "WarpTextField",
3280
+ "module": "packages/textfield/index.ts"
3281
+ }
3282
+ }
3283
+ ]
3284
+ },
3285
+ {
3286
+ "kind": "javascript-module",
3287
+ "path": "packages/utils/index.js",
3288
+ "declarations": [
3289
+ {
3290
+ "kind": "mixin",
3291
+ "description": "",
3292
+ "name": "kebabCaseAttributes",
3293
+ "members": [
3294
+ {
3295
+ "kind": "method",
3296
+ "name": "createProperty",
3297
+ "static": true,
3298
+ "parameters": [
3299
+ {
3300
+ "name": "name"
3301
+ },
3302
+ {
3303
+ "name": "options"
3304
+ }
3305
+ ]
3306
+ }
3307
+ ],
3308
+ "parameters": [
3309
+ {
3310
+ "name": "constructor"
3311
+ }
3312
+ ]
3313
+ },
3314
+ {
3315
+ "kind": "function",
3316
+ "name": "classes",
3317
+ "parameters": [
507
3318
  {
508
- "name": "flat",
509
- "type": {
510
- "text": "boolean"
511
- },
512
- "default": "false",
513
- "fieldName": "flat"
514
- },
3319
+ "name": "defn"
3320
+ }
3321
+ ]
3322
+ },
3323
+ {
3324
+ "kind": "function",
3325
+ "name": "fclasses",
3326
+ "parameters": [
515
3327
  {
516
- "name": "clickable",
517
- "type": {
518
- "text": "boolean"
519
- },
520
- "default": "false",
521
- "fieldName": "clickable"
3328
+ "name": "definition"
522
3329
  }
523
- ],
524
- "superclass": {
525
- "name": "LitElement",
526
- "package": "lit"
527
- },
528
- "tagName": "w-card",
529
- "customElement": true
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "function",
3334
+ "name": "generateRandomId"
530
3335
  }
531
3336
  ],
532
3337
  "exports": [
533
3338
  {
534
- "kind": "custom-element-definition",
535
- "name": "w-card",
3339
+ "kind": "js",
3340
+ "name": "kebabCaseAttributes",
536
3341
  "declaration": {
537
- "name": "WarpCard",
538
- "module": "packages/card/index.ts"
3342
+ "name": "kebabCaseAttributes",
3343
+ "module": "packages/utils/index.js"
539
3344
  }
540
3345
  },
541
3346
  {
542
3347
  "kind": "js",
543
- "name": "WarpCard",
3348
+ "name": "classes",
544
3349
  "declaration": {
545
- "name": "WarpCard",
546
- "module": "packages/card/index.ts"
3350
+ "name": "classes",
3351
+ "module": "packages/utils/index.js"
3352
+ }
3353
+ },
3354
+ {
3355
+ "kind": "js",
3356
+ "name": "fclasses",
3357
+ "declaration": {
3358
+ "name": "fclasses",
3359
+ "module": "packages/utils/index.js"
3360
+ }
3361
+ },
3362
+ {
3363
+ "kind": "js",
3364
+ "name": "generateRandomId",
3365
+ "declaration": {
3366
+ "name": "generateRandomId",
3367
+ "module": "packages/utils/index.js"
547
3368
  }
548
3369
  }
549
3370
  ]
550
3371
  },
551
3372
  {
552
3373
  "kind": "javascript-module",
553
- "path": "packages/expandable/index.ts",
3374
+ "path": "packages/attention/index.js",
554
3375
  "declarations": [
555
3376
  {
556
3377
  "kind": "class",
557
3378
  "description": "",
558
- "name": "WarpExpandable",
3379
+ "name": "WarpAttention",
559
3380
  "members": [
3381
+ {
3382
+ "kind": "method",
3383
+ "name": "handleDone"
3384
+ },
3385
+ {
3386
+ "kind": "method",
3387
+ "name": "pointingAtDirection"
3388
+ },
3389
+ {
3390
+ "kind": "method",
3391
+ "name": "activeAttentionType"
3392
+ },
3393
+ {
3394
+ "kind": "method",
3395
+ "name": "defaultAriaLabel"
3396
+ },
3397
+ {
3398
+ "kind": "method",
3399
+ "name": "setAriaLabels"
3400
+ },
3401
+ {
3402
+ "kind": "method",
3403
+ "name": "close"
3404
+ },
3405
+ {
3406
+ "kind": "method",
3407
+ "name": "keypressed",
3408
+ "parameters": [
3409
+ {
3410
+ "name": "e"
3411
+ }
3412
+ ]
3413
+ },
560
3414
  {
561
3415
  "kind": "field",
562
- "name": "expanded",
3416
+ "name": "show",
3417
+ "privacy": "public",
563
3418
  "type": {
564
3419
  "text": "boolean"
565
3420
  },
566
3421
  "default": "false",
567
- "attribute": "expanded",
3422
+ "attribute": "show",
568
3423
  "reflects": true
569
3424
  },
570
3425
  {
571
3426
  "kind": "field",
572
- "name": "title",
3427
+ "name": "placement",
3428
+ "privacy": "public",
573
3429
  "type": {
574
3430
  "text": "string"
575
3431
  },
576
- "attribute": "title"
3432
+ "default": "'bottom'",
3433
+ "attribute": "placement",
3434
+ "reflects": true
577
3435
  },
578
3436
  {
579
3437
  "kind": "field",
580
- "name": "box",
3438
+ "name": "tooltip",
3439
+ "privacy": "public",
581
3440
  "type": {
582
3441
  "text": "boolean"
583
3442
  },
584
3443
  "default": "false",
585
- "attribute": "box"
3444
+ "attribute": "tooltip",
3445
+ "reflects": true
586
3446
  },
587
3447
  {
588
3448
  "kind": "field",
589
- "name": "bleed",
3449
+ "name": "callout",
3450
+ "privacy": "public",
590
3451
  "type": {
591
3452
  "text": "boolean"
592
3453
  },
593
3454
  "default": "false",
594
- "attribute": "bleed"
3455
+ "attribute": "callout",
3456
+ "reflects": true
595
3457
  },
596
3458
  {
597
3459
  "kind": "field",
598
- "name": "buttonClass",
3460
+ "name": "popover",
3461
+ "privacy": "public",
599
3462
  "type": {
600
- "text": "string"
3463
+ "text": "boolean"
601
3464
  },
602
- "attribute": "button-class"
3465
+ "default": "false",
3466
+ "attribute": "popover",
3467
+ "reflects": true
603
3468
  },
604
3469
  {
605
3470
  "kind": "field",
606
- "name": "contentClass",
3471
+ "name": "highlight",
3472
+ "privacy": "public",
607
3473
  "type": {
608
- "text": "string"
3474
+ "text": "boolean"
609
3475
  },
610
- "attribute": "content-class"
3476
+ "default": "false",
3477
+ "attribute": "highlight",
3478
+ "reflects": true
611
3479
  },
612
3480
  {
613
3481
  "kind": "field",
614
- "name": "noChevron",
3482
+ "name": "canClose",
3483
+ "privacy": "public",
615
3484
  "type": {
616
3485
  "text": "boolean"
617
3486
  },
618
3487
  "default": "false",
619
- "attribute": "no-chevron"
3488
+ "attribute": "canClose",
3489
+ "reflects": true
620
3490
  },
621
3491
  {
622
3492
  "kind": "field",
623
- "name": "animated",
3493
+ "name": "noArrow",
3494
+ "privacy": "public",
624
3495
  "type": {
625
3496
  "text": "boolean"
626
3497
  },
627
3498
  "default": "false",
628
- "attribute": "animated"
3499
+ "attribute": "noArrow",
3500
+ "reflects": true
629
3501
  },
630
3502
  {
631
3503
  "kind": "field",
632
- "name": "headingLevel",
3504
+ "name": "distance",
3505
+ "privacy": "public",
633
3506
  "type": {
634
3507
  "text": "number"
635
3508
  },
636
- "attribute": "heading-level"
3509
+ "default": "8",
3510
+ "attribute": "distance",
3511
+ "reflects": true
637
3512
  },
638
3513
  {
639
3514
  "kind": "field",
640
- "name": "_hasTitle",
3515
+ "name": "skidding",
3516
+ "privacy": "public",
641
3517
  "type": {
642
- "text": "boolean"
3518
+ "text": "number"
643
3519
  },
644
- "default": "true",
645
- "attribute": "_hasTitle"
3520
+ "default": "0",
3521
+ "attribute": "skidding",
3522
+ "reflects": true
646
3523
  },
647
3524
  {
648
3525
  "kind": "field",
649
- "name": "_showChevronUp",
3526
+ "name": "flip",
3527
+ "privacy": "public",
650
3528
  "type": {
651
3529
  "text": "boolean"
652
3530
  },
653
3531
  "default": "false",
654
- "attribute": "_showChevronUp"
655
- },
656
- {
657
- "kind": "field",
658
- "name": "#wrapperClasses",
659
- "privacy": "private",
660
- "readonly": true
661
- },
662
- {
663
- "kind": "field",
664
- "name": "#buttonClasses",
665
- "privacy": "private",
666
- "readonly": true
3532
+ "attribute": "flip",
3533
+ "reflects": true
667
3534
  },
668
3535
  {
669
3536
  "kind": "field",
670
- "name": "#chevronClasses",
671
- "privacy": "private",
672
- "readonly": true
3537
+ "name": "crossAxis",
3538
+ "privacy": "public",
3539
+ "type": {
3540
+ "text": "boolean"
3541
+ },
3542
+ "default": "false",
3543
+ "attribute": "crossAxis",
3544
+ "reflects": true
673
3545
  },
674
3546
  {
675
3547
  "kind": "field",
676
- "name": "#chevronIcon",
677
- "privacy": "private",
678
- "readonly": true
3548
+ "name": "_initialPlacement"
679
3549
  },
680
3550
  {
681
3551
  "kind": "field",
682
- "name": "#contentClasses",
683
- "privacy": "private",
684
- "readonly": true
3552
+ "name": "_actualDirection"
685
3553
  },
686
3554
  {
687
3555
  "kind": "field",
688
- "name": "#expansionClasses",
689
- "privacy": "private",
690
- "readonly": true
3556
+ "name": "fallbackPlacements",
3557
+ "privacy": "public",
3558
+ "type": {
3559
+ "text": "array"
3560
+ },
3561
+ "attribute": "fallbackPlacements",
3562
+ "reflects": true
691
3563
  },
692
3564
  {
693
- "kind": "field",
694
- "name": "_expandableSlot",
695
- "readonly": true
3565
+ "kind": "method",
3566
+ "name": "createProperty",
3567
+ "static": true,
3568
+ "parameters": [
3569
+ {
3570
+ "name": "name"
3571
+ },
3572
+ {
3573
+ "name": "options"
3574
+ }
3575
+ ],
3576
+ "inheritedFrom": {
3577
+ "name": "kebabCaseAttributes",
3578
+ "module": "packages/utils/index.js"
3579
+ }
696
3580
  }
697
3581
  ],
698
3582
  "attributes": [
699
3583
  {
700
- "name": "expanded",
3584
+ "name": "show",
701
3585
  "type": {
702
3586
  "text": "boolean"
703
3587
  },
704
3588
  "default": "false",
705
- "fieldName": "expanded"
3589
+ "fieldName": "show"
706
3590
  },
707
3591
  {
708
- "name": "title",
3592
+ "name": "placement",
709
3593
  "type": {
710
3594
  "text": "string"
711
3595
  },
712
- "fieldName": "title"
3596
+ "default": "'bottom'",
3597
+ "fieldName": "placement"
713
3598
  },
714
3599
  {
715
- "name": "box",
3600
+ "name": "tooltip",
716
3601
  "type": {
717
3602
  "text": "boolean"
718
3603
  },
719
3604
  "default": "false",
720
- "fieldName": "box"
3605
+ "fieldName": "tooltip"
721
3606
  },
722
3607
  {
723
- "name": "bleed",
3608
+ "name": "callout",
724
3609
  "type": {
725
3610
  "text": "boolean"
726
3611
  },
727
3612
  "default": "false",
728
- "fieldName": "bleed"
3613
+ "fieldName": "callout"
729
3614
  },
730
3615
  {
731
- "name": "button-class",
3616
+ "name": "popover",
732
3617
  "type": {
733
- "text": "string"
3618
+ "text": "boolean"
734
3619
  },
735
- "fieldName": "buttonClass"
3620
+ "default": "false",
3621
+ "fieldName": "popover"
736
3622
  },
737
3623
  {
738
- "name": "content-class",
3624
+ "name": "highlight",
739
3625
  "type": {
740
- "text": "string"
3626
+ "text": "boolean"
741
3627
  },
742
- "fieldName": "contentClass"
3628
+ "default": "false",
3629
+ "fieldName": "highlight"
743
3630
  },
744
3631
  {
745
- "name": "no-chevron",
3632
+ "name": "canClose",
746
3633
  "type": {
747
3634
  "text": "boolean"
748
3635
  },
749
3636
  "default": "false",
750
- "fieldName": "noChevron"
3637
+ "fieldName": "canClose"
751
3638
  },
752
3639
  {
753
- "name": "animated",
3640
+ "name": "noArrow",
754
3641
  "type": {
755
3642
  "text": "boolean"
756
3643
  },
757
3644
  "default": "false",
758
- "fieldName": "animated"
3645
+ "fieldName": "noArrow"
759
3646
  },
760
3647
  {
761
- "name": "heading-level",
3648
+ "name": "distance",
762
3649
  "type": {
763
3650
  "text": "number"
764
3651
  },
765
- "fieldName": "headingLevel"
3652
+ "default": "8",
3653
+ "fieldName": "distance"
766
3654
  },
767
3655
  {
768
- "name": "_hasTitle",
3656
+ "name": "skidding",
3657
+ "type": {
3658
+ "text": "number"
3659
+ },
3660
+ "default": "0",
3661
+ "fieldName": "skidding"
3662
+ },
3663
+ {
3664
+ "name": "flip",
769
3665
  "type": {
770
3666
  "text": "boolean"
771
3667
  },
772
- "default": "true",
773
- "fieldName": "_hasTitle"
3668
+ "default": "false",
3669
+ "fieldName": "flip"
774
3670
  },
775
3671
  {
776
- "name": "_showChevronUp",
3672
+ "name": "crossAxis",
777
3673
  "type": {
778
3674
  "text": "boolean"
779
3675
  },
780
3676
  "default": "false",
781
- "fieldName": "_showChevronUp"
3677
+ "fieldName": "crossAxis"
3678
+ },
3679
+ {
3680
+ "name": "fallbackPlacements",
3681
+ "type": {
3682
+ "text": "array"
3683
+ },
3684
+ "fieldName": "fallbackPlacements"
3685
+ }
3686
+ ],
3687
+ "mixins": [
3688
+ {
3689
+ "name": "kebabCaseAttributes",
3690
+ "module": "/packages/utils/index.js"
782
3691
  }
783
3692
  ],
784
3693
  "superclass": {
785
- "name": "LitElement",
786
- "package": "lit"
3694
+ "name": "WarpElement",
3695
+ "package": "@warp-ds/elements-core"
787
3696
  },
788
- "tagName": "w-expandable",
3697
+ "tagName": "w-attention",
789
3698
  "customElement": true
790
3699
  }
791
3700
  ],
792
3701
  "exports": [
793
3702
  {
794
3703
  "kind": "custom-element-definition",
795
- "name": "w-expandable",
3704
+ "name": "w-attention",
796
3705
  "declaration": {
797
- "name": "WarpExpandable",
798
- "module": "packages/expandable/index.ts"
3706
+ "name": "WarpAttention",
3707
+ "module": "packages/attention/index.js"
799
3708
  }
800
3709
  },
801
3710
  {
802
3711
  "kind": "js",
803
- "name": "WarpExpandable",
3712
+ "name": "WarpAttention",
804
3713
  "declaration": {
805
- "name": "WarpExpandable",
806
- "module": "packages/expandable/index.ts"
3714
+ "name": "WarpAttention",
3715
+ "module": "packages/attention/index.js"
3716
+ }
3717
+ }
3718
+ ]
3719
+ },
3720
+ {
3721
+ "kind": "javascript-module",
3722
+ "path": "packages/toast/toast.js",
3723
+ "declarations": [],
3724
+ "exports": []
3725
+ },
3726
+ {
3727
+ "kind": "javascript-module",
3728
+ "path": "packages/toast/toast-container.js",
3729
+ "declarations": [],
3730
+ "exports": []
3731
+ },
3732
+ {
3733
+ "kind": "javascript-module",
3734
+ "path": "packages/toast/index.js",
3735
+ "declarations": [],
3736
+ "exports": [
3737
+ {
3738
+ "kind": "js",
3739
+ "name": "WarpToast",
3740
+ "declaration": {
3741
+ "name": "WarpToast",
3742
+ "module": "./toast"
3743
+ }
3744
+ },
3745
+ {
3746
+ "kind": "js",
3747
+ "name": "WarpToastContainer",
3748
+ "declaration": {
3749
+ "name": "WarpToastContainer",
3750
+ "module": "./toast-container"
3751
+ }
3752
+ },
3753
+ {
3754
+ "kind": "js",
3755
+ "name": "toast",
3756
+ "declaration": {
3757
+ "name": "toast",
3758
+ "module": "./api"
3759
+ }
3760
+ },
3761
+ {
3762
+ "kind": "js",
3763
+ "name": "updateToast",
3764
+ "declaration": {
3765
+ "name": "updateToast",
3766
+ "module": "./api"
3767
+ }
3768
+ },
3769
+ {
3770
+ "kind": "js",
3771
+ "name": "removeToast",
3772
+ "declaration": {
3773
+ "name": "removeToast",
3774
+ "module": "./api"
807
3775
  }
808
3776
  }
809
3777
  ]