@warp-ds/elements 2.3.0-next.1 → 2.3.0-next.3
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.
- package/dist/custom-elements.json +3295 -403
- package/dist/index.d.ts +484 -0
- package/dist/packages/combobox/combobox.react.stories.d.ts +28 -0
- package/dist/packages/combobox/combobox.react.stories.js +90 -0
- package/dist/packages/combobox/combobox.stories.d.ts +18 -0
- package/dist/packages/combobox/combobox.stories.js +117 -0
- package/dist/packages/combobox/index.d.ts +85 -0
- package/dist/packages/combobox/index.js +2492 -0
- package/dist/packages/combobox/index.js.map +7 -0
- package/dist/packages/combobox/locales/da/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/da/messages.mjs +1 -0
- package/dist/packages/combobox/locales/en/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/en/messages.mjs +1 -0
- package/dist/packages/combobox/locales/fi/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/fi/messages.mjs +1 -0
- package/dist/packages/combobox/locales/nb/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/nb/messages.mjs +1 -0
- package/dist/packages/combobox/locales/sv/messages.d.mts +1 -0
- package/dist/packages/combobox/locales/sv/messages.mjs +1 -0
- package/dist/packages/combobox/react.d.ts +7 -0
- package/dist/packages/combobox/react.js +17 -0
- package/dist/packages/combobox/styles.d.ts +1 -0
- package/dist/packages/combobox/styles.js +2 -0
- package/dist/packages/datepicker/DatePicker.test.d.ts +2 -0
- package/dist/packages/datepicker/DatePicker.test.js +69 -0
- package/dist/packages/datepicker/datepicker.d.ts +102 -0
- package/dist/packages/datepicker/datepicker.js +2785 -0
- package/dist/packages/datepicker/datepicker.js.map +7 -0
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +18 -0
- package/dist/packages/datepicker/datepicker.react.stories.js +26 -0
- package/dist/packages/datepicker/datepicker.stories.d.ts +12 -0
- package/dist/packages/datepicker/datepicker.stories.js +51 -0
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
- package/dist/packages/datepicker/datepicker.test.js +62 -0
- package/dist/packages/datepicker/index.d.ts +1 -0
- package/dist/packages/datepicker/index.js +1 -0
- package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/da/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/en/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/fi/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/nb/messages.mjs +1 -0
- package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
- package/dist/packages/datepicker/locales/sv/messages.mjs +1 -0
- package/dist/packages/datepicker/react.d.ts +5 -0
- package/dist/packages/datepicker/react.js +15 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.js +15 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-day.styles.js +64 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker-month.styles.js +72 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
- package/dist/packages/datepicker/styles/w-datepicker.styles.js +101 -0
- package/dist/packages/datepicker/utils.d.ts +13 -0
- package/dist/packages/datepicker/utils.js +28 -0
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +15 -0
- package/dist/packages/dead-toggle/dead-toggle.react.stories.js +34 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +14 -0
- package/dist/packages/dead-toggle/dead-toggle.stories.js +45 -0
- package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
- package/dist/packages/dead-toggle/dead-toggle.test.js +9 -0
- package/dist/packages/dead-toggle/index.d.ts +17 -0
- package/dist/packages/dead-toggle/index.js +2548 -0
- package/dist/packages/dead-toggle/index.js.map +7 -0
- package/dist/packages/dead-toggle/react.d.ts +2 -0
- package/dist/packages/dead-toggle/react.js +11 -0
- package/dist/packages/link/index.js +2640 -93
- package/dist/packages/link/index.js.map +7 -0
- package/dist/packages/link/link.react.stories.d.ts +21 -0
- package/dist/packages/link/link.react.stories.js +96 -0
- package/dist/packages/link/link.stories.d.ts +20 -0
- package/dist/packages/link/link.stories.js +110 -0
- package/dist/packages/link/link.test.d.ts +1 -0
- package/dist/packages/link/link.test.js +9 -0
- package/dist/packages/link/react.d.ts +2 -0
- package/dist/packages/link/react.js +11 -0
- package/dist/packages/pageindicator/index.d.ts +10 -0
- package/dist/packages/pageindicator/index.js +32 -0
- package/dist/packages/pageindicator/index.js.map +7 -0
- package/dist/packages/pageindicator/pageindicator.react.stories.d.ts +19 -0
- package/dist/packages/pageindicator/pageindicator.react.stories.js +20 -0
- package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
- package/dist/packages/pageindicator/pageindicator.stories.js +71 -0
- package/dist/packages/pageindicator/react.d.ts +2 -0
- package/dist/packages/pageindicator/react.js +11 -0
- package/dist/packages/pageindicator/style.d.ts +1 -0
- package/dist/packages/pageindicator/style.js +26 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +66 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +2592 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +7 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +8 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +11 -0
- package/dist/packages/rip-and-tear-checkbox/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-checkbox/index.js +4 -0
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +5 -0
- package/dist/packages/rip-and-tear-checkbox/react.js +15 -0
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.d.ts +12 -0
- package/dist/packages/rip-and-tear-checkbox/rip-and-tear-checkbox.react.stories.js +10 -0
- package/dist/packages/rip-and-tear-checkbox/styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-checkbox/styles.js +0 -0
- package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
- package/dist/packages/rip-and-tear-radio/base-element.js +100 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
- package/dist/packages/rip-and-tear-radio/custom-error-validator.js +22 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
- package/dist/packages/rip-and-tear-radio/form-associated-element.js +282 -0
- package/dist/packages/rip-and-tear-radio/host-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/host-styles.js +12 -0
- package/dist/packages/rip-and-tear-radio/index.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/index.js +6 -0
- package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/invalid.js +5 -0
- package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/math.js +4 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.d.ts +1 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js +59 -0
- package/dist/packages/rip-and-tear-radio/radio-group-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +2649 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.d.ts +0 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js +1 -0
- package/dist/packages/rip-and-tear-radio/radio-styles.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
- package/dist/packages/rip-and-tear-radio/radio.js +2563 -0
- package/dist/packages/rip-and-tear-radio/radio.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.d.ts +8 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js +2654 -0
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +7 -0
- package/dist/packages/rip-and-tear-radio/react.d.ts +9 -0
- package/dist/packages/rip-and-tear-radio/react.js +22 -0
- package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
- package/dist/packages/rip-and-tear-radio/required-validator.js +34 -0
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.d.ts +9 -0
- package/dist/packages/rip-and-tear-radio/rip-and-tear-radio.react.stories.js +10 -0
- package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
- package/dist/packages/rip-and-tear-radio/slot.js +71 -0
- package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
- package/dist/packages/rip-and-tear-radio/watch.js +39 -0
- package/dist/packages/steps/index.d.ts +36 -0
- package/dist/packages/steps/index.js +2465 -0
- package/dist/packages/steps/index.js.map +7 -0
- package/dist/packages/steps/locales/da/messages.d.mts +1 -0
- package/dist/packages/steps/locales/da/messages.mjs +1 -0
- package/dist/packages/steps/locales/en/messages.d.mts +1 -0
- package/dist/packages/steps/locales/en/messages.mjs +1 -0
- package/dist/packages/steps/locales/fi/messages.d.mts +1 -0
- package/dist/packages/steps/locales/fi/messages.mjs +1 -0
- package/dist/packages/steps/locales/nb/messages.d.mts +1 -0
- package/dist/packages/steps/locales/nb/messages.mjs +1 -0
- package/dist/packages/steps/locales/sv/messages.d.mts +1 -0
- package/dist/packages/steps/locales/sv/messages.mjs +1 -0
- package/dist/packages/steps/react.d.ts +3 -0
- package/dist/packages/steps/react.js +16 -0
- package/dist/packages/steps/steps.react.stories.d.ts +15 -0
- package/dist/packages/steps/steps.react.stories.js +112 -0
- package/dist/packages/steps/steps.stories.d.ts +12 -0
- package/dist/packages/steps/steps.stories.js +172 -0
- package/dist/packages/steps/styles.d.ts +1 -0
- package/dist/packages/steps/styles.js +2 -0
- package/dist/packages/switch/index.d.ts +15 -0
- package/dist/packages/switch/index.js +2455 -0
- package/dist/packages/switch/index.js.map +7 -0
- package/dist/packages/switch/react.d.ts +5 -0
- package/dist/packages/switch/react.js +15 -0
- package/dist/packages/switch/styles.d.ts +1 -0
- package/dist/packages/switch/styles.js +2 -0
- package/dist/packages/switch/switch.react.stories.d.ts +15 -0
- package/dist/packages/switch/switch.react.stories.js +29 -0
- package/dist/packages/switch/switch.stories.d.ts +9 -0
- package/dist/packages/switch/switch.stories.js +34 -0
- package/dist/packages/tabs/index.d.ts +4 -0
- package/dist/packages/tabs/index.js +3 -0
- package/dist/packages/tabs/react.d.ts +12 -0
- package/dist/packages/tabs/react.js +31 -0
- package/dist/packages/tabs/styles.d.ts +1 -0
- package/dist/packages/tabs/styles.js +2 -0
- package/dist/packages/tabs/tab-panel.d.ts +20 -0
- package/dist/packages/tabs/tab-panel.js +51 -0
- package/dist/packages/tabs/tab.d.ts +18 -0
- package/dist/packages/tabs/tab.js +2463 -0
- package/dist/packages/tabs/tab.js.map +7 -0
- package/dist/packages/tabs/tabs.d.ts +40 -0
- package/dist/packages/tabs/tabs.js +2448 -0
- package/dist/packages/tabs/tabs.js.map +7 -0
- package/dist/packages/tabs/tabs.react.stories.d.ts +15 -0
- package/dist/packages/tabs/tabs.react.stories.js +51 -0
- package/dist/packages/tabs/tabs.stories.d.ts +8 -0
- package/dist/packages/tabs/tabs.stories.js +84 -0
- package/dist/packages/toggle-styles.d.ts +1 -0
- package/dist/packages/toggle-styles.js +109 -0
- package/dist/web-types.json +496 -1
- package/package.json +184 -3
|
@@ -212,6 +212,253 @@
|
|
|
212
212
|
}
|
|
213
213
|
]
|
|
214
214
|
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "javascript-module",
|
|
217
|
+
"path": "packages/link/index.ts",
|
|
218
|
+
"declarations": [
|
|
219
|
+
{
|
|
220
|
+
"kind": "class",
|
|
221
|
+
"description": "Buttons are used to perform actions, with different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-link--docs)",
|
|
222
|
+
"name": "WarpLink",
|
|
223
|
+
"members": [
|
|
224
|
+
{
|
|
225
|
+
"kind": "field",
|
|
226
|
+
"name": "shadowRootOptions",
|
|
227
|
+
"type": {
|
|
228
|
+
"text": "object"
|
|
229
|
+
},
|
|
230
|
+
"static": true,
|
|
231
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"kind": "field",
|
|
235
|
+
"name": "autofocus",
|
|
236
|
+
"type": {
|
|
237
|
+
"text": "boolean"
|
|
238
|
+
},
|
|
239
|
+
"attribute": "autofocus",
|
|
240
|
+
"reflects": true
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "field",
|
|
244
|
+
"name": "variant",
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "ButtonVariant"
|
|
247
|
+
},
|
|
248
|
+
"default": "'secondary'",
|
|
249
|
+
"attribute": "variant",
|
|
250
|
+
"reflects": true,
|
|
251
|
+
"parsedType": {
|
|
252
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "field",
|
|
257
|
+
"name": "quiet",
|
|
258
|
+
"type": {
|
|
259
|
+
"text": "boolean"
|
|
260
|
+
},
|
|
261
|
+
"attribute": "quiet",
|
|
262
|
+
"reflects": true
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "field",
|
|
266
|
+
"name": "small",
|
|
267
|
+
"type": {
|
|
268
|
+
"text": "boolean"
|
|
269
|
+
},
|
|
270
|
+
"attribute": "small",
|
|
271
|
+
"reflects": true
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "field",
|
|
275
|
+
"name": "href",
|
|
276
|
+
"type": {
|
|
277
|
+
"text": "string"
|
|
278
|
+
},
|
|
279
|
+
"attribute": "href",
|
|
280
|
+
"reflects": true
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "field",
|
|
284
|
+
"name": "disabled",
|
|
285
|
+
"type": {
|
|
286
|
+
"text": "boolean"
|
|
287
|
+
},
|
|
288
|
+
"attribute": "disabled",
|
|
289
|
+
"reflects": true
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"kind": "field",
|
|
293
|
+
"name": "target",
|
|
294
|
+
"type": {
|
|
295
|
+
"text": "string"
|
|
296
|
+
},
|
|
297
|
+
"attribute": "target",
|
|
298
|
+
"reflects": true
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"kind": "field",
|
|
302
|
+
"name": "rel",
|
|
303
|
+
"type": {
|
|
304
|
+
"text": "string"
|
|
305
|
+
},
|
|
306
|
+
"attribute": "rel",
|
|
307
|
+
"reflects": true
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"kind": "field",
|
|
311
|
+
"name": "fullWidth",
|
|
312
|
+
"type": {
|
|
313
|
+
"text": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"attribute": "full-width",
|
|
316
|
+
"reflects": true
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"kind": "field",
|
|
320
|
+
"name": "buttonClass",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "string"
|
|
323
|
+
},
|
|
324
|
+
"attribute": "button-class",
|
|
325
|
+
"reflects": true
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "name",
|
|
330
|
+
"type": {
|
|
331
|
+
"text": "string"
|
|
332
|
+
},
|
|
333
|
+
"attribute": "name",
|
|
334
|
+
"reflects": true
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"kind": "field",
|
|
338
|
+
"name": "classes",
|
|
339
|
+
"type": {
|
|
340
|
+
"text": "string"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"attributes": [
|
|
345
|
+
{
|
|
346
|
+
"name": "autofocus",
|
|
347
|
+
"type": {
|
|
348
|
+
"text": "boolean"
|
|
349
|
+
},
|
|
350
|
+
"fieldName": "autofocus"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "variant",
|
|
354
|
+
"type": {
|
|
355
|
+
"text": "ButtonVariant"
|
|
356
|
+
},
|
|
357
|
+
"default": "'secondary'",
|
|
358
|
+
"fieldName": "variant",
|
|
359
|
+
"parsedType": {
|
|
360
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "quiet",
|
|
365
|
+
"type": {
|
|
366
|
+
"text": "boolean"
|
|
367
|
+
},
|
|
368
|
+
"fieldName": "quiet"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "small",
|
|
372
|
+
"type": {
|
|
373
|
+
"text": "boolean"
|
|
374
|
+
},
|
|
375
|
+
"fieldName": "small"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "href",
|
|
379
|
+
"type": {
|
|
380
|
+
"text": "string"
|
|
381
|
+
},
|
|
382
|
+
"fieldName": "href"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "disabled",
|
|
386
|
+
"type": {
|
|
387
|
+
"text": "boolean"
|
|
388
|
+
},
|
|
389
|
+
"fieldName": "disabled"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "target",
|
|
393
|
+
"type": {
|
|
394
|
+
"text": "string"
|
|
395
|
+
},
|
|
396
|
+
"fieldName": "target"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "rel",
|
|
400
|
+
"type": {
|
|
401
|
+
"text": "string"
|
|
402
|
+
},
|
|
403
|
+
"fieldName": "rel"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "full-width",
|
|
407
|
+
"type": {
|
|
408
|
+
"text": "boolean"
|
|
409
|
+
},
|
|
410
|
+
"fieldName": "fullWidth"
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "button-class",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "string"
|
|
416
|
+
},
|
|
417
|
+
"fieldName": "buttonClass"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "name",
|
|
421
|
+
"type": {
|
|
422
|
+
"text": "string"
|
|
423
|
+
},
|
|
424
|
+
"fieldName": "name"
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"mixins": [
|
|
428
|
+
{
|
|
429
|
+
"name": "FormControlMixin",
|
|
430
|
+
"package": "@open-wc/form-control"
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"superclass": {
|
|
434
|
+
"name": "LitElement",
|
|
435
|
+
"package": "lit"
|
|
436
|
+
},
|
|
437
|
+
"tagName": "w-link",
|
|
438
|
+
"customElement": true,
|
|
439
|
+
"modulePath": "packages/link/index.ts",
|
|
440
|
+
"definitionPath": "packages/link/index.ts"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"exports": [
|
|
444
|
+
{
|
|
445
|
+
"kind": "custom-element-definition",
|
|
446
|
+
"name": "w-link",
|
|
447
|
+
"declaration": {
|
|
448
|
+
"name": "WarpLink",
|
|
449
|
+
"module": "packages/link/index.ts"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "js",
|
|
454
|
+
"name": "WarpLink",
|
|
455
|
+
"declaration": {
|
|
456
|
+
"name": "WarpLink",
|
|
457
|
+
"module": "packages/link/index.ts"
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
]
|
|
461
|
+
},
|
|
215
462
|
{
|
|
216
463
|
"kind": "javascript-module",
|
|
217
464
|
"path": "packages/button/index.ts",
|
|
@@ -2911,180 +3158,3030 @@
|
|
|
2911
3158
|
},
|
|
2912
3159
|
{
|
|
2913
3160
|
"kind": "javascript-module",
|
|
2914
|
-
"path": "packages/
|
|
3161
|
+
"path": "packages/combobox/index.ts",
|
|
2915
3162
|
"declarations": [
|
|
2916
3163
|
{
|
|
2917
3164
|
"kind": "class",
|
|
2918
|
-
"description": "
|
|
2919
|
-
"name": "
|
|
3165
|
+
"description": "A combobox element for text input with selectable options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)",
|
|
3166
|
+
"name": "WarpCombobox",
|
|
2920
3167
|
"members": [
|
|
2921
3168
|
{
|
|
2922
3169
|
"kind": "field",
|
|
2923
|
-
"name": "
|
|
3170
|
+
"name": "options",
|
|
2924
3171
|
"type": {
|
|
2925
|
-
"text": "
|
|
3172
|
+
"text": "ComboboxOption[]"
|
|
2926
3173
|
},
|
|
2927
|
-
"
|
|
2928
|
-
"
|
|
3174
|
+
"default": "[]",
|
|
3175
|
+
"description": "The available options to select from",
|
|
3176
|
+
"attribute": "options"
|
|
2929
3177
|
},
|
|
2930
3178
|
{
|
|
2931
3179
|
"kind": "field",
|
|
2932
|
-
"name": "
|
|
3180
|
+
"name": "label",
|
|
2933
3181
|
"type": {
|
|
2934
|
-
"text": "
|
|
3182
|
+
"text": "string | undefined"
|
|
2935
3183
|
},
|
|
2936
|
-
"
|
|
3184
|
+
"description": "Label above input",
|
|
3185
|
+
"attribute": "label",
|
|
2937
3186
|
"reflects": true
|
|
2938
3187
|
},
|
|
2939
3188
|
{
|
|
2940
3189
|
"kind": "field",
|
|
2941
|
-
"name": "
|
|
3190
|
+
"name": "placeholder",
|
|
2942
3191
|
"type": {
|
|
2943
|
-
"text": "
|
|
3192
|
+
"text": "string | undefined"
|
|
2944
3193
|
},
|
|
2945
|
-
"
|
|
2946
|
-
"attribute": "
|
|
3194
|
+
"description": "Input placeholder",
|
|
3195
|
+
"attribute": "placeholder",
|
|
2947
3196
|
"reflects": true
|
|
2948
3197
|
},
|
|
2949
3198
|
{
|
|
2950
3199
|
"kind": "field",
|
|
2951
|
-
"name": "
|
|
3200
|
+
"name": "value",
|
|
2952
3201
|
"type": {
|
|
2953
|
-
"text": "
|
|
3202
|
+
"text": "string"
|
|
2954
3203
|
},
|
|
2955
|
-
"default": "
|
|
2956
|
-
"
|
|
3204
|
+
"default": "''",
|
|
3205
|
+
"description": "The input value",
|
|
3206
|
+
"attribute": "value",
|
|
3207
|
+
"reflects": true
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"kind": "field",
|
|
3211
|
+
"name": "openOnFocus",
|
|
3212
|
+
"type": {
|
|
3213
|
+
"text": "boolean"
|
|
3214
|
+
},
|
|
3215
|
+
"default": "false",
|
|
3216
|
+
"description": "Whether the popover opens when focus is on the text field",
|
|
3217
|
+
"attribute": "open-on-focus"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
"kind": "field",
|
|
3221
|
+
"name": "selectOnBlur",
|
|
3222
|
+
"type": {
|
|
3223
|
+
"text": "boolean"
|
|
3224
|
+
},
|
|
3225
|
+
"default": "true",
|
|
3226
|
+
"description": "Select active option on blur",
|
|
3227
|
+
"attribute": "select-on-blur"
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"kind": "field",
|
|
3231
|
+
"name": "matchTextSegments",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"default": "false",
|
|
3236
|
+
"description": "Whether the matching text segments in the options should be highlighted",
|
|
3237
|
+
"attribute": "match-text-segments"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "field",
|
|
3241
|
+
"name": "disableStaticFiltering",
|
|
3242
|
+
"type": {
|
|
3243
|
+
"text": "boolean"
|
|
3244
|
+
},
|
|
3245
|
+
"default": "false",
|
|
3246
|
+
"description": "Disable client-side static filtering",
|
|
3247
|
+
"attribute": "disable-static-filtering"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "field",
|
|
3251
|
+
"name": "invalid",
|
|
3252
|
+
"type": {
|
|
3253
|
+
"text": "boolean"
|
|
3254
|
+
},
|
|
3255
|
+
"default": "false",
|
|
3256
|
+
"description": "Renders the input field in an invalid state",
|
|
3257
|
+
"attribute": "invalid",
|
|
3258
|
+
"reflects": true
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "field",
|
|
3262
|
+
"name": "helpText",
|
|
3263
|
+
"type": {
|
|
3264
|
+
"text": "string | undefined"
|
|
3265
|
+
},
|
|
3266
|
+
"description": "The content to display as the help text",
|
|
3267
|
+
"attribute": "help-text",
|
|
3268
|
+
"reflects": true
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"kind": "field",
|
|
3272
|
+
"name": "disabled",
|
|
3273
|
+
"type": {
|
|
3274
|
+
"text": "boolean"
|
|
3275
|
+
},
|
|
3276
|
+
"default": "false",
|
|
3277
|
+
"description": "Whether the element is disabled",
|
|
3278
|
+
"attribute": "disabled",
|
|
3279
|
+
"reflects": true
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
"kind": "field",
|
|
3283
|
+
"name": "required",
|
|
3284
|
+
"type": {
|
|
3285
|
+
"text": "boolean"
|
|
3286
|
+
},
|
|
3287
|
+
"default": "false",
|
|
3288
|
+
"description": "Whether the element is required",
|
|
3289
|
+
"attribute": "required",
|
|
3290
|
+
"reflects": true
|
|
3291
|
+
},
|
|
3292
|
+
{
|
|
3293
|
+
"kind": "field",
|
|
3294
|
+
"name": "optional",
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "boolean"
|
|
3297
|
+
},
|
|
3298
|
+
"default": "false",
|
|
3299
|
+
"description": "Whether to show optional text",
|
|
3300
|
+
"attribute": "optional",
|
|
3301
|
+
"reflects": true
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"kind": "field",
|
|
3305
|
+
"name": "containerClassName",
|
|
3306
|
+
"type": {
|
|
3307
|
+
"text": "string | undefined"
|
|
3308
|
+
},
|
|
3309
|
+
"description": "Additional container styling",
|
|
3310
|
+
"attribute": "class-name",
|
|
3311
|
+
"reflects": true
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"kind": "field",
|
|
3315
|
+
"name": "listClassName",
|
|
3316
|
+
"type": {
|
|
3317
|
+
"text": "string | undefined"
|
|
3318
|
+
},
|
|
3319
|
+
"description": "Additional list styling",
|
|
3320
|
+
"attribute": "list-class-name",
|
|
3321
|
+
"reflects": true
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"kind": "field",
|
|
3325
|
+
"name": "name",
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "string | undefined"
|
|
3328
|
+
},
|
|
3329
|
+
"description": "Name attribute for form submission",
|
|
3330
|
+
"attribute": "name",
|
|
3331
|
+
"reflects": true
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"kind": "field",
|
|
3335
|
+
"name": "_listboxId",
|
|
3336
|
+
"privacy": "private",
|
|
3337
|
+
"readonly": true
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"kind": "field",
|
|
3341
|
+
"name": "_id",
|
|
3342
|
+
"privacy": "private",
|
|
3343
|
+
"readonly": true
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"kind": "field",
|
|
3347
|
+
"name": "_helpId",
|
|
3348
|
+
"privacy": "private",
|
|
3349
|
+
"readonly": true
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"kind": "field",
|
|
3353
|
+
"name": "_navigationValueOrInputValue",
|
|
3354
|
+
"privacy": "private",
|
|
3355
|
+
"readonly": true
|
|
3356
|
+
},
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "method",
|
|
3359
|
+
"name": "_createOptionsWithIdAndMatch",
|
|
3360
|
+
"privacy": "private",
|
|
3361
|
+
"return": {
|
|
3362
|
+
"type": {
|
|
3363
|
+
"text": "OptionWithIdAndMatch[]"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3366
|
+
"parameters": [
|
|
3367
|
+
{
|
|
3368
|
+
"name": "options",
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "ComboboxOption[]"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "currentInputValue",
|
|
3375
|
+
"type": {
|
|
3376
|
+
"text": "string"
|
|
3377
|
+
}
|
|
3378
|
+
}
|
|
3379
|
+
],
|
|
3380
|
+
"description": "Generate options with unique IDs and match information"
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"kind": "method",
|
|
3384
|
+
"name": "_getAriaText",
|
|
3385
|
+
"privacy": "private",
|
|
3386
|
+
"parameters": [
|
|
3387
|
+
{
|
|
3388
|
+
"name": "options",
|
|
3389
|
+
"type": {
|
|
3390
|
+
"text": "OptionWithIdAndMatch[]"
|
|
3391
|
+
}
|
|
3392
|
+
},
|
|
3393
|
+
{
|
|
3394
|
+
"name": "value",
|
|
3395
|
+
"type": {
|
|
3396
|
+
"text": "string"
|
|
3397
|
+
}
|
|
3398
|
+
}
|
|
3399
|
+
],
|
|
3400
|
+
"description": "Get ARIA text for screen readers"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "method",
|
|
3404
|
+
"name": "_getOptionClasses",
|
|
3405
|
+
"privacy": "private",
|
|
3406
|
+
"parameters": [
|
|
3407
|
+
{
|
|
3408
|
+
"name": "option",
|
|
3409
|
+
"type": {
|
|
3410
|
+
"text": "OptionWithIdAndMatch"
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
],
|
|
3414
|
+
"description": "Get option classes"
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "method",
|
|
3418
|
+
"name": "_handleKeyDown",
|
|
3419
|
+
"privacy": "private",
|
|
3420
|
+
"parameters": [
|
|
3421
|
+
{
|
|
3422
|
+
"name": "e",
|
|
3423
|
+
"type": {
|
|
3424
|
+
"text": "KeyboardEvent"
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
],
|
|
3428
|
+
"description": "Handle keyboard navigation"
|
|
3429
|
+
},
|
|
3430
|
+
{
|
|
3431
|
+
"kind": "method",
|
|
3432
|
+
"name": "_findAndSetActiveOption",
|
|
3433
|
+
"privacy": "private",
|
|
3434
|
+
"parameters": [
|
|
3435
|
+
{
|
|
3436
|
+
"name": "e",
|
|
3437
|
+
"type": {
|
|
3438
|
+
"text": "KeyboardEvent"
|
|
3439
|
+
}
|
|
3440
|
+
}
|
|
3441
|
+
],
|
|
3442
|
+
"description": "Find and set active option based on keyboard navigation"
|
|
3443
|
+
},
|
|
3444
|
+
{
|
|
3445
|
+
"kind": "method",
|
|
3446
|
+
"name": "_handleSelect",
|
|
3447
|
+
"privacy": "private",
|
|
3448
|
+
"parameters": [
|
|
3449
|
+
{
|
|
3450
|
+
"name": "option",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "OptionWithIdAndMatch"
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
],
|
|
3456
|
+
"description": "Handle option selection"
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"kind": "method",
|
|
3460
|
+
"name": "_handleChange",
|
|
3461
|
+
"privacy": "private",
|
|
3462
|
+
"parameters": [
|
|
3463
|
+
{
|
|
3464
|
+
"name": "newValue",
|
|
3465
|
+
"type": {
|
|
3466
|
+
"text": "string"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
],
|
|
3470
|
+
"description": "Handle input change"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "method",
|
|
3474
|
+
"name": "_handleFocus",
|
|
3475
|
+
"privacy": "private",
|
|
3476
|
+
"description": "Handle input focus"
|
|
3477
|
+
},
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "method",
|
|
3480
|
+
"name": "_handleBlur",
|
|
3481
|
+
"privacy": "private",
|
|
3482
|
+
"parameters": [
|
|
3483
|
+
{
|
|
3484
|
+
"name": "e",
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "FocusEvent"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
"description": "Handle input blur"
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"kind": "method",
|
|
3494
|
+
"name": "_handleOptionClick",
|
|
3495
|
+
"privacy": "private",
|
|
3496
|
+
"parameters": [
|
|
3497
|
+
{
|
|
3498
|
+
"name": "e",
|
|
3499
|
+
"type": {
|
|
3500
|
+
"text": "MouseEvent"
|
|
3501
|
+
}
|
|
3502
|
+
},
|
|
3503
|
+
{
|
|
3504
|
+
"name": "option",
|
|
3505
|
+
"type": {
|
|
3506
|
+
"text": "OptionWithIdAndMatch"
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
],
|
|
3510
|
+
"description": "Handle option click"
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
"kind": "method",
|
|
3514
|
+
"name": "_handleContainerBlur",
|
|
3515
|
+
"privacy": "private",
|
|
3516
|
+
"parameters": [
|
|
3517
|
+
{
|
|
3518
|
+
"name": "e",
|
|
3519
|
+
"type": {
|
|
3520
|
+
"text": "FocusEvent"
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
],
|
|
3524
|
+
"description": "Handle container blur"
|
|
3525
|
+
},
|
|
3526
|
+
{
|
|
3527
|
+
"kind": "method",
|
|
3528
|
+
"name": "_renderTextMatch",
|
|
3529
|
+
"privacy": "private",
|
|
3530
|
+
"parameters": [
|
|
3531
|
+
{
|
|
3532
|
+
"name": "display",
|
|
3533
|
+
"type": {
|
|
3534
|
+
"text": "string"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "option",
|
|
3539
|
+
"type": {
|
|
3540
|
+
"text": "OptionWithIdAndMatch"
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
],
|
|
3544
|
+
"description": "Render highlighted text match"
|
|
3545
|
+
}
|
|
3546
|
+
],
|
|
3547
|
+
"attributes": [
|
|
3548
|
+
{
|
|
3549
|
+
"name": "options",
|
|
3550
|
+
"type": {
|
|
3551
|
+
"text": "ComboboxOption[]"
|
|
3552
|
+
},
|
|
3553
|
+
"default": "[]",
|
|
3554
|
+
"description": "The available options to select from",
|
|
3555
|
+
"fieldName": "options"
|
|
3556
|
+
},
|
|
3557
|
+
{
|
|
3558
|
+
"name": "label",
|
|
3559
|
+
"type": {
|
|
3560
|
+
"text": "string | undefined"
|
|
3561
|
+
},
|
|
3562
|
+
"description": "Label above input",
|
|
3563
|
+
"fieldName": "label"
|
|
3564
|
+
},
|
|
3565
|
+
{
|
|
3566
|
+
"name": "placeholder",
|
|
3567
|
+
"type": {
|
|
3568
|
+
"text": "string | undefined"
|
|
3569
|
+
},
|
|
3570
|
+
"description": "Input placeholder",
|
|
3571
|
+
"fieldName": "placeholder"
|
|
3572
|
+
},
|
|
3573
|
+
{
|
|
3574
|
+
"name": "value",
|
|
3575
|
+
"type": {
|
|
3576
|
+
"text": "string"
|
|
3577
|
+
},
|
|
3578
|
+
"default": "''",
|
|
3579
|
+
"description": "The input value",
|
|
3580
|
+
"fieldName": "value"
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"name": "open-on-focus",
|
|
3584
|
+
"type": {
|
|
3585
|
+
"text": "boolean"
|
|
3586
|
+
},
|
|
3587
|
+
"default": "false",
|
|
3588
|
+
"description": "Whether the popover opens when focus is on the text field",
|
|
3589
|
+
"fieldName": "openOnFocus"
|
|
3590
|
+
},
|
|
3591
|
+
{
|
|
3592
|
+
"name": "select-on-blur",
|
|
3593
|
+
"type": {
|
|
3594
|
+
"text": "boolean"
|
|
3595
|
+
},
|
|
3596
|
+
"default": "true",
|
|
3597
|
+
"description": "Select active option on blur",
|
|
3598
|
+
"fieldName": "selectOnBlur"
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"name": "match-text-segments",
|
|
3602
|
+
"type": {
|
|
3603
|
+
"text": "boolean"
|
|
3604
|
+
},
|
|
3605
|
+
"default": "false",
|
|
3606
|
+
"description": "Whether the matching text segments in the options should be highlighted",
|
|
3607
|
+
"fieldName": "matchTextSegments"
|
|
3608
|
+
},
|
|
3609
|
+
{
|
|
3610
|
+
"name": "disable-static-filtering",
|
|
3611
|
+
"type": {
|
|
3612
|
+
"text": "boolean"
|
|
3613
|
+
},
|
|
3614
|
+
"default": "false",
|
|
3615
|
+
"description": "Disable client-side static filtering",
|
|
3616
|
+
"fieldName": "disableStaticFiltering"
|
|
3617
|
+
},
|
|
3618
|
+
{
|
|
3619
|
+
"name": "invalid",
|
|
3620
|
+
"type": {
|
|
3621
|
+
"text": "boolean"
|
|
3622
|
+
},
|
|
3623
|
+
"default": "false",
|
|
3624
|
+
"description": "Renders the input field in an invalid state",
|
|
3625
|
+
"fieldName": "invalid"
|
|
3626
|
+
},
|
|
3627
|
+
{
|
|
3628
|
+
"name": "help-text",
|
|
3629
|
+
"type": {
|
|
3630
|
+
"text": "string | undefined"
|
|
3631
|
+
},
|
|
3632
|
+
"description": "The content to display as the help text",
|
|
3633
|
+
"fieldName": "helpText"
|
|
3634
|
+
},
|
|
3635
|
+
{
|
|
3636
|
+
"name": "disabled",
|
|
3637
|
+
"type": {
|
|
3638
|
+
"text": "boolean"
|
|
3639
|
+
},
|
|
3640
|
+
"default": "false",
|
|
3641
|
+
"description": "Whether the element is disabled",
|
|
3642
|
+
"fieldName": "disabled"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
"name": "required",
|
|
3646
|
+
"type": {
|
|
3647
|
+
"text": "boolean"
|
|
3648
|
+
},
|
|
3649
|
+
"default": "false",
|
|
3650
|
+
"description": "Whether the element is required",
|
|
3651
|
+
"fieldName": "required"
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"name": "optional",
|
|
3655
|
+
"type": {
|
|
3656
|
+
"text": "boolean"
|
|
3657
|
+
},
|
|
3658
|
+
"default": "false",
|
|
3659
|
+
"description": "Whether to show optional text",
|
|
3660
|
+
"fieldName": "optional"
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
"name": "class-name",
|
|
3664
|
+
"type": {
|
|
3665
|
+
"text": "string | undefined"
|
|
3666
|
+
},
|
|
3667
|
+
"description": "Additional container styling",
|
|
3668
|
+
"fieldName": "containerClassName"
|
|
3669
|
+
},
|
|
3670
|
+
{
|
|
3671
|
+
"name": "list-class-name",
|
|
3672
|
+
"type": {
|
|
3673
|
+
"text": "string | undefined"
|
|
3674
|
+
},
|
|
3675
|
+
"description": "Additional list styling",
|
|
3676
|
+
"fieldName": "listClassName"
|
|
3677
|
+
},
|
|
3678
|
+
{
|
|
3679
|
+
"name": "name",
|
|
3680
|
+
"type": {
|
|
3681
|
+
"text": "string | undefined"
|
|
3682
|
+
},
|
|
3683
|
+
"description": "Name attribute for form submission",
|
|
3684
|
+
"fieldName": "name"
|
|
3685
|
+
}
|
|
3686
|
+
],
|
|
3687
|
+
"superclass": {
|
|
3688
|
+
"name": "LitElement",
|
|
3689
|
+
"package": "lit"
|
|
3690
|
+
},
|
|
3691
|
+
"tagName": "w-combobox",
|
|
3692
|
+
"customElement": true,
|
|
3693
|
+
"modulePath": "packages/combobox/index.ts",
|
|
3694
|
+
"definitionPath": "packages/combobox/index.ts"
|
|
3695
|
+
}
|
|
3696
|
+
],
|
|
3697
|
+
"exports": [
|
|
3698
|
+
{
|
|
3699
|
+
"kind": "js",
|
|
3700
|
+
"name": "WarpCombobox",
|
|
3701
|
+
"declaration": {
|
|
3702
|
+
"name": "WarpCombobox",
|
|
3703
|
+
"module": "packages/combobox/index.ts"
|
|
3704
|
+
}
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"kind": "custom-element-definition",
|
|
3708
|
+
"name": "w-combobox",
|
|
3709
|
+
"declaration": {
|
|
3710
|
+
"name": "WarpCombobox",
|
|
3711
|
+
"module": "packages/combobox/index.ts"
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
]
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"kind": "javascript-module",
|
|
3718
|
+
"path": "packages/datepicker/datepicker.ts",
|
|
3719
|
+
"declarations": [
|
|
3720
|
+
{
|
|
3721
|
+
"kind": "class",
|
|
3722
|
+
"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)",
|
|
3723
|
+
"name": "WarpDatepicker",
|
|
3724
|
+
"members": [
|
|
3725
|
+
{
|
|
3726
|
+
"kind": "field",
|
|
3727
|
+
"name": "shadowRootOptions",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "object"
|
|
3730
|
+
},
|
|
3731
|
+
"static": true,
|
|
3732
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"kind": "field",
|
|
3736
|
+
"name": "label",
|
|
3737
|
+
"type": {
|
|
3738
|
+
"text": "string"
|
|
3739
|
+
},
|
|
3740
|
+
"attribute": "label",
|
|
3741
|
+
"reflects": true
|
|
3742
|
+
},
|
|
3743
|
+
{
|
|
3744
|
+
"kind": "field",
|
|
3745
|
+
"name": "lang",
|
|
3746
|
+
"type": {
|
|
3747
|
+
"text": "string"
|
|
3748
|
+
},
|
|
3749
|
+
"description": "Takes precedence over the `<html>` lang attribute.",
|
|
3750
|
+
"attribute": "lang",
|
|
3751
|
+
"reflects": true
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
"kind": "field",
|
|
3755
|
+
"name": "name",
|
|
3756
|
+
"type": {
|
|
3757
|
+
"text": "string"
|
|
3758
|
+
},
|
|
3759
|
+
"attribute": "name",
|
|
3760
|
+
"reflects": true
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"kind": "field",
|
|
3764
|
+
"name": "value",
|
|
3765
|
+
"type": {
|
|
3766
|
+
"text": "string"
|
|
3767
|
+
},
|
|
3768
|
+
"attribute": "value",
|
|
3769
|
+
"reflects": true
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
"kind": "field",
|
|
3773
|
+
"name": "headerFormat",
|
|
3774
|
+
"type": {
|
|
3775
|
+
"text": "string"
|
|
3776
|
+
},
|
|
3777
|
+
"default": "'MMMM yyyy'",
|
|
3778
|
+
"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).",
|
|
3779
|
+
"attribute": "header-format"
|
|
3780
|
+
},
|
|
3781
|
+
{
|
|
3782
|
+
"kind": "field",
|
|
3783
|
+
"name": "weekdayFormat",
|
|
3784
|
+
"type": {
|
|
3785
|
+
"text": "string"
|
|
3786
|
+
},
|
|
3787
|
+
"default": "'EEEEEE'",
|
|
3788
|
+
"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).",
|
|
3789
|
+
"attribute": "weekday-format"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"kind": "field",
|
|
3793
|
+
"name": "isDayDisabled",
|
|
3794
|
+
"type": {
|
|
3795
|
+
"text": "(day: Date) => boolean"
|
|
3796
|
+
},
|
|
3797
|
+
"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."
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"kind": "field",
|
|
3801
|
+
"name": "dayFormat",
|
|
3802
|
+
"type": {
|
|
3803
|
+
"text": "string"
|
|
3804
|
+
},
|
|
3805
|
+
"default": "'PPPP'",
|
|
3806
|
+
"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).",
|
|
3807
|
+
"attribute": "day-format"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"kind": "field",
|
|
3811
|
+
"name": "isCalendarOpen",
|
|
3812
|
+
"type": {
|
|
3813
|
+
"text": "boolean"
|
|
3814
|
+
},
|
|
3815
|
+
"default": "false"
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"kind": "field",
|
|
3819
|
+
"name": "navigationDate",
|
|
3820
|
+
"type": {
|
|
3821
|
+
"text": "Date"
|
|
3822
|
+
}
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
"kind": "field",
|
|
3826
|
+
"name": "selectedDate",
|
|
3827
|
+
"type": {
|
|
3828
|
+
"text": "Date | null"
|
|
3829
|
+
},
|
|
3830
|
+
"readonly": true
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"kind": "field",
|
|
3834
|
+
"name": "month",
|
|
3835
|
+
"readonly": true
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"kind": "field",
|
|
3839
|
+
"name": "weeks",
|
|
3840
|
+
"readonly": true
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"kind": "field",
|
|
3844
|
+
"name": "calendar",
|
|
3845
|
+
"type": {
|
|
3846
|
+
"text": "HTMLDivElement"
|
|
3847
|
+
}
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "field",
|
|
3851
|
+
"name": "input",
|
|
3852
|
+
"type": {
|
|
3853
|
+
"text": "HTMLInputElement"
|
|
3854
|
+
}
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"kind": "field",
|
|
3858
|
+
"name": "toggleButton",
|
|
3859
|
+
"type": {
|
|
3860
|
+
"text": "HTMLButtonElement"
|
|
3861
|
+
}
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "field",
|
|
3865
|
+
"name": "wrapper",
|
|
3866
|
+
"type": {
|
|
3867
|
+
"text": "HTMLDivElement"
|
|
3868
|
+
}
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"kind": "field",
|
|
3872
|
+
"name": "previousMonthButton",
|
|
3873
|
+
"type": {
|
|
3874
|
+
"text": "HTMLButtonElement"
|
|
3875
|
+
},
|
|
3876
|
+
"description": "This is the first focusable element, needed for the modal focus trap.\n\nDon't cache this and other `@query` fields from inside the calendar modal.\nThey work the first time, but once the calendar is closed and reopened\nthe query will point to an element that doesn't exist anymore."
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"kind": "field",
|
|
3880
|
+
"name": "todayCell",
|
|
3881
|
+
"type": {
|
|
3882
|
+
"text": "HTMLTableCellElement"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "field",
|
|
3887
|
+
"name": "selectedCell",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "HTMLTableCellElement"
|
|
3890
|
+
}
|
|
3891
|
+
},
|
|
3892
|
+
{
|
|
3893
|
+
"kind": "method",
|
|
3894
|
+
"name": "#toggleCalendarOpen",
|
|
3895
|
+
"privacy": "private",
|
|
3896
|
+
"parameters": [
|
|
3897
|
+
{
|
|
3898
|
+
"name": "e",
|
|
3899
|
+
"type": {
|
|
3900
|
+
"text": "MouseEvent | KeyboardEvent"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
]
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "method",
|
|
3907
|
+
"name": "#nextMonth",
|
|
3908
|
+
"privacy": "private"
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
"kind": "method",
|
|
3912
|
+
"name": "#previousMonth",
|
|
3913
|
+
"privacy": "private"
|
|
3914
|
+
},
|
|
3915
|
+
{
|
|
3916
|
+
"kind": "method",
|
|
3917
|
+
"name": "#dispatchChangeEvent",
|
|
3918
|
+
"privacy": "private"
|
|
3919
|
+
},
|
|
3920
|
+
{
|
|
3921
|
+
"kind": "method",
|
|
3922
|
+
"name": "#onInput",
|
|
3923
|
+
"privacy": "private",
|
|
3924
|
+
"parameters": [
|
|
3925
|
+
{
|
|
3926
|
+
"name": "e",
|
|
3927
|
+
"type": {
|
|
3928
|
+
"text": "InputEvent"
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
]
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
"kind": "method",
|
|
3935
|
+
"name": "#onInputClick",
|
|
3936
|
+
"privacy": "private",
|
|
3937
|
+
"parameters": [
|
|
3938
|
+
{
|
|
3939
|
+
"name": "e",
|
|
3940
|
+
"type": {
|
|
3941
|
+
"text": "PointerEvent"
|
|
3942
|
+
}
|
|
3943
|
+
}
|
|
3944
|
+
]
|
|
3945
|
+
},
|
|
3946
|
+
{
|
|
3947
|
+
"kind": "method",
|
|
3948
|
+
"name": "#onInputKeyDown",
|
|
3949
|
+
"privacy": "private",
|
|
3950
|
+
"parameters": [
|
|
3951
|
+
{
|
|
3952
|
+
"name": "e",
|
|
3953
|
+
"type": {
|
|
3954
|
+
"text": "KeyboardEvent"
|
|
3955
|
+
}
|
|
3956
|
+
}
|
|
3957
|
+
]
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"kind": "method",
|
|
3961
|
+
"name": "#onCalendarKeyDown",
|
|
3962
|
+
"privacy": "private",
|
|
3963
|
+
"parameters": [
|
|
3964
|
+
{
|
|
3965
|
+
"name": "e",
|
|
3966
|
+
"type": {
|
|
3967
|
+
"text": "KeyboardEvent"
|
|
3968
|
+
}
|
|
3969
|
+
}
|
|
3970
|
+
]
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"kind": "method",
|
|
3974
|
+
"name": "#onCalendarSelect",
|
|
3975
|
+
"privacy": "private",
|
|
3976
|
+
"parameters": [
|
|
3977
|
+
{
|
|
3978
|
+
"name": "event",
|
|
3979
|
+
"type": {
|
|
3980
|
+
"text": "MouseEvent | KeyboardEvent"
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3983
|
+
]
|
|
3984
|
+
}
|
|
3985
|
+
],
|
|
3986
|
+
"attributes": [
|
|
3987
|
+
{
|
|
3988
|
+
"name": "label",
|
|
3989
|
+
"type": {
|
|
3990
|
+
"text": "string"
|
|
3991
|
+
},
|
|
3992
|
+
"fieldName": "label"
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
"name": "lang",
|
|
3996
|
+
"type": {
|
|
3997
|
+
"text": "string"
|
|
3998
|
+
},
|
|
3999
|
+
"description": "Takes precedence over the `<html>` lang attribute.",
|
|
4000
|
+
"fieldName": "lang"
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
"name": "name",
|
|
4004
|
+
"type": {
|
|
4005
|
+
"text": "string"
|
|
4006
|
+
},
|
|
4007
|
+
"fieldName": "name"
|
|
4008
|
+
},
|
|
4009
|
+
{
|
|
4010
|
+
"name": "value",
|
|
4011
|
+
"type": {
|
|
4012
|
+
"text": "string"
|
|
4013
|
+
},
|
|
4014
|
+
"fieldName": "value"
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"name": "header-format",
|
|
4018
|
+
"type": {
|
|
4019
|
+
"text": "string"
|
|
4020
|
+
},
|
|
4021
|
+
"default": "'MMMM yyyy'",
|
|
4022
|
+
"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).",
|
|
4023
|
+
"fieldName": "headerFormat"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"name": "weekday-format",
|
|
4027
|
+
"type": {
|
|
4028
|
+
"text": "string"
|
|
4029
|
+
},
|
|
4030
|
+
"default": "'EEEEEE'",
|
|
4031
|
+
"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).",
|
|
4032
|
+
"fieldName": "weekdayFormat"
|
|
4033
|
+
},
|
|
4034
|
+
{
|
|
4035
|
+
"name": "day-format",
|
|
4036
|
+
"type": {
|
|
4037
|
+
"text": "string"
|
|
4038
|
+
},
|
|
4039
|
+
"default": "'PPPP'",
|
|
4040
|
+
"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).",
|
|
4041
|
+
"fieldName": "dayFormat"
|
|
4042
|
+
}
|
|
4043
|
+
],
|
|
4044
|
+
"mixins": [
|
|
4045
|
+
{
|
|
4046
|
+
"name": "FormControlMixin",
|
|
4047
|
+
"package": "@open-wc/form-control"
|
|
4048
|
+
}
|
|
4049
|
+
],
|
|
4050
|
+
"superclass": {
|
|
4051
|
+
"name": "LitElement",
|
|
4052
|
+
"package": "lit"
|
|
4053
|
+
},
|
|
4054
|
+
"tagName": "w-datepicker",
|
|
4055
|
+
"customElement": true,
|
|
4056
|
+
"modulePath": "packages/datepicker/datepicker.ts",
|
|
4057
|
+
"definitionPath": "packages/datepicker/datepicker.ts"
|
|
4058
|
+
}
|
|
4059
|
+
],
|
|
4060
|
+
"exports": [
|
|
4061
|
+
{
|
|
4062
|
+
"kind": "custom-element-definition",
|
|
4063
|
+
"name": "w-datepicker",
|
|
4064
|
+
"declaration": {
|
|
4065
|
+
"name": "WarpDatepicker",
|
|
4066
|
+
"module": "packages/datepicker/datepicker.ts"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
"kind": "js",
|
|
4071
|
+
"name": "WarpDatepicker",
|
|
4072
|
+
"declaration": {
|
|
4073
|
+
"name": "WarpDatepicker",
|
|
4074
|
+
"module": "packages/datepicker/datepicker.ts"
|
|
4075
|
+
}
|
|
4076
|
+
}
|
|
4077
|
+
]
|
|
4078
|
+
},
|
|
4079
|
+
{
|
|
4080
|
+
"kind": "javascript-module",
|
|
4081
|
+
"path": "packages/dead-toggle/index.ts",
|
|
4082
|
+
"declarations": [
|
|
4083
|
+
{
|
|
4084
|
+
"kind": "class",
|
|
4085
|
+
"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)",
|
|
4086
|
+
"name": "WarpDeadToggle",
|
|
4087
|
+
"members": [
|
|
4088
|
+
{
|
|
4089
|
+
"kind": "field",
|
|
4090
|
+
"name": "type",
|
|
4091
|
+
"type": {
|
|
4092
|
+
"text": "'radio' | 'checkbox'"
|
|
4093
|
+
},
|
|
4094
|
+
"default": "'radio'",
|
|
4095
|
+
"attribute": "type",
|
|
4096
|
+
"reflects": true
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
"kind": "field",
|
|
4100
|
+
"name": "checked",
|
|
4101
|
+
"type": {
|
|
4102
|
+
"text": "boolean"
|
|
4103
|
+
},
|
|
4104
|
+
"default": "false",
|
|
4105
|
+
"attribute": "checked",
|
|
4106
|
+
"reflects": true
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
"kind": "field",
|
|
4110
|
+
"name": "indeterminate",
|
|
4111
|
+
"type": {
|
|
4112
|
+
"text": "boolean"
|
|
4113
|
+
},
|
|
4114
|
+
"default": "false",
|
|
4115
|
+
"attribute": "indeterminate",
|
|
4116
|
+
"reflects": true
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
"kind": "field",
|
|
4120
|
+
"name": "invalid",
|
|
4121
|
+
"type": {
|
|
4122
|
+
"text": "boolean"
|
|
4123
|
+
},
|
|
4124
|
+
"default": "false",
|
|
4125
|
+
"attribute": "invalid",
|
|
4126
|
+
"reflects": true
|
|
4127
|
+
},
|
|
4128
|
+
{
|
|
4129
|
+
"kind": "field",
|
|
4130
|
+
"name": "disabled",
|
|
4131
|
+
"type": {
|
|
4132
|
+
"text": "boolean"
|
|
4133
|
+
},
|
|
4134
|
+
"default": "false",
|
|
4135
|
+
"attribute": "disabled",
|
|
4136
|
+
"reflects": true
|
|
4137
|
+
}
|
|
4138
|
+
],
|
|
4139
|
+
"attributes": [
|
|
4140
|
+
{
|
|
4141
|
+
"name": "type",
|
|
4142
|
+
"type": {
|
|
4143
|
+
"text": "'radio' | 'checkbox'"
|
|
4144
|
+
},
|
|
4145
|
+
"default": "'radio'",
|
|
4146
|
+
"fieldName": "type"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"name": "checked",
|
|
4150
|
+
"type": {
|
|
4151
|
+
"text": "boolean"
|
|
4152
|
+
},
|
|
4153
|
+
"default": "false",
|
|
4154
|
+
"fieldName": "checked"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
"name": "indeterminate",
|
|
4158
|
+
"type": {
|
|
4159
|
+
"text": "boolean"
|
|
4160
|
+
},
|
|
4161
|
+
"default": "false",
|
|
4162
|
+
"fieldName": "indeterminate"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"name": "invalid",
|
|
4166
|
+
"type": {
|
|
4167
|
+
"text": "boolean"
|
|
4168
|
+
},
|
|
4169
|
+
"default": "false",
|
|
4170
|
+
"fieldName": "invalid"
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"name": "disabled",
|
|
4174
|
+
"type": {
|
|
4175
|
+
"text": "boolean"
|
|
4176
|
+
},
|
|
4177
|
+
"default": "false",
|
|
4178
|
+
"fieldName": "disabled"
|
|
4179
|
+
}
|
|
4180
|
+
],
|
|
4181
|
+
"superclass": {
|
|
4182
|
+
"name": "LitElement",
|
|
4183
|
+
"package": "lit"
|
|
4184
|
+
},
|
|
4185
|
+
"tagName": "w-dead-toggle",
|
|
4186
|
+
"customElement": true,
|
|
4187
|
+
"modulePath": "packages/dead-toggle/index.ts",
|
|
4188
|
+
"definitionPath": "packages/dead-toggle/index.ts"
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
"exports": [
|
|
4192
|
+
{
|
|
4193
|
+
"kind": "js",
|
|
4194
|
+
"name": "WarpDeadToggle",
|
|
4195
|
+
"declaration": {
|
|
4196
|
+
"name": "WarpDeadToggle",
|
|
4197
|
+
"module": "packages/dead-toggle/index.ts"
|
|
4198
|
+
}
|
|
4199
|
+
},
|
|
4200
|
+
{
|
|
4201
|
+
"kind": "custom-element-definition",
|
|
4202
|
+
"name": "w-dead-toggle",
|
|
4203
|
+
"declaration": {
|
|
4204
|
+
"name": "WarpDeadToggle",
|
|
4205
|
+
"module": "packages/dead-toggle/index.ts"
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
]
|
|
4209
|
+
},
|
|
4210
|
+
{
|
|
4211
|
+
"kind": "javascript-module",
|
|
4212
|
+
"path": "packages/pageindicator/index.ts",
|
|
4213
|
+
"declarations": [
|
|
4214
|
+
{
|
|
4215
|
+
"kind": "class",
|
|
4216
|
+
"description": "",
|
|
4217
|
+
"name": "WarpPageIndicator",
|
|
4218
|
+
"members": [
|
|
4219
|
+
{
|
|
4220
|
+
"kind": "field",
|
|
4221
|
+
"name": "selectedPage",
|
|
4222
|
+
"type": {
|
|
4223
|
+
"text": "number"
|
|
4224
|
+
},
|
|
4225
|
+
"default": "1",
|
|
4226
|
+
"description": "Currently selected page (1-based index)",
|
|
4227
|
+
"attribute": "selected-page"
|
|
4228
|
+
},
|
|
4229
|
+
{
|
|
4230
|
+
"kind": "field",
|
|
4231
|
+
"name": "pageCount",
|
|
4232
|
+
"type": {
|
|
4233
|
+
"text": "number"
|
|
4234
|
+
},
|
|
4235
|
+
"default": "1",
|
|
4236
|
+
"description": "Total number of pages",
|
|
4237
|
+
"attribute": "page-count"
|
|
4238
|
+
}
|
|
4239
|
+
],
|
|
4240
|
+
"attributes": [
|
|
4241
|
+
{
|
|
4242
|
+
"name": "selected-page",
|
|
4243
|
+
"type": {
|
|
4244
|
+
"text": "number"
|
|
4245
|
+
},
|
|
4246
|
+
"default": "1",
|
|
4247
|
+
"description": "Currently selected page (1-based index)",
|
|
4248
|
+
"fieldName": "selectedPage"
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"name": "page-count",
|
|
4252
|
+
"type": {
|
|
4253
|
+
"text": "number"
|
|
4254
|
+
},
|
|
4255
|
+
"default": "1",
|
|
4256
|
+
"description": "Total number of pages",
|
|
4257
|
+
"fieldName": "pageCount"
|
|
4258
|
+
}
|
|
4259
|
+
],
|
|
4260
|
+
"superclass": {
|
|
4261
|
+
"name": "LitElement",
|
|
4262
|
+
"package": "lit"
|
|
4263
|
+
},
|
|
4264
|
+
"tagName": "w-pageindicator",
|
|
4265
|
+
"customElement": true,
|
|
4266
|
+
"modulePath": "packages/pageindicator/index.ts",
|
|
4267
|
+
"definitionPath": "packages/pageindicator/index.ts"
|
|
4268
|
+
}
|
|
4269
|
+
],
|
|
4270
|
+
"exports": [
|
|
4271
|
+
{
|
|
4272
|
+
"kind": "custom-element-definition",
|
|
4273
|
+
"name": "w-pageindicator",
|
|
4274
|
+
"declaration": {
|
|
4275
|
+
"name": "WarpPageIndicator",
|
|
4276
|
+
"module": "packages/pageindicator/index.ts"
|
|
4277
|
+
}
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"kind": "js",
|
|
4281
|
+
"name": "WarpPageIndicator",
|
|
4282
|
+
"declaration": {
|
|
4283
|
+
"name": "WarpPageIndicator",
|
|
4284
|
+
"module": "packages/pageindicator/index.ts"
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4287
|
+
]
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
"kind": "javascript-module",
|
|
4291
|
+
"path": "packages/pagination/index.ts",
|
|
4292
|
+
"declarations": [
|
|
4293
|
+
{
|
|
4294
|
+
"kind": "class",
|
|
4295
|
+
"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)",
|
|
4296
|
+
"name": "WarpPagination",
|
|
4297
|
+
"members": [
|
|
4298
|
+
{
|
|
4299
|
+
"kind": "field",
|
|
4300
|
+
"name": "baseUrl",
|
|
4301
|
+
"type": {
|
|
4302
|
+
"text": "string"
|
|
4303
|
+
},
|
|
4304
|
+
"attribute": "base-url",
|
|
4305
|
+
"reflects": true
|
|
4306
|
+
},
|
|
4307
|
+
{
|
|
4308
|
+
"kind": "field",
|
|
4309
|
+
"name": "pages",
|
|
4310
|
+
"type": {
|
|
4311
|
+
"text": "number"
|
|
4312
|
+
},
|
|
4313
|
+
"attribute": "pages",
|
|
4314
|
+
"reflects": true
|
|
4315
|
+
},
|
|
4316
|
+
{
|
|
4317
|
+
"kind": "field",
|
|
4318
|
+
"name": "currentPageNumber",
|
|
4319
|
+
"type": {
|
|
4320
|
+
"text": "number"
|
|
4321
|
+
},
|
|
4322
|
+
"default": "1",
|
|
4323
|
+
"attribute": "current-page",
|
|
4324
|
+
"reflects": true
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
"kind": "field",
|
|
4328
|
+
"name": "visiblePages",
|
|
4329
|
+
"type": {
|
|
4330
|
+
"text": "number"
|
|
4331
|
+
},
|
|
4332
|
+
"default": "7",
|
|
4333
|
+
"attribute": "visible-pages",
|
|
4334
|
+
"reflects": true
|
|
4335
|
+
},
|
|
4336
|
+
{
|
|
4337
|
+
"kind": "method",
|
|
4338
|
+
"name": "#dispatchClickPage",
|
|
4339
|
+
"privacy": "private",
|
|
4340
|
+
"parameters": [
|
|
4341
|
+
{
|
|
4342
|
+
"name": "e",
|
|
4343
|
+
"type": {
|
|
4344
|
+
"text": "PointerEvent"
|
|
4345
|
+
}
|
|
4346
|
+
}
|
|
4347
|
+
]
|
|
4348
|
+
}
|
|
4349
|
+
],
|
|
4350
|
+
"events": [
|
|
4351
|
+
{
|
|
4352
|
+
"name": "page-click",
|
|
4353
|
+
"type": {
|
|
4354
|
+
"text": "CustomEvent"
|
|
4355
|
+
},
|
|
4356
|
+
"description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
|
|
4357
|
+
}
|
|
4358
|
+
],
|
|
4359
|
+
"attributes": [
|
|
4360
|
+
{
|
|
4361
|
+
"name": "base-url",
|
|
4362
|
+
"type": {
|
|
4363
|
+
"text": "string"
|
|
4364
|
+
},
|
|
4365
|
+
"fieldName": "baseUrl"
|
|
4366
|
+
},
|
|
4367
|
+
{
|
|
4368
|
+
"name": "pages",
|
|
4369
|
+
"type": {
|
|
4370
|
+
"text": "number"
|
|
4371
|
+
},
|
|
4372
|
+
"fieldName": "pages"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
"name": "current-page",
|
|
4376
|
+
"type": {
|
|
4377
|
+
"text": "number"
|
|
4378
|
+
},
|
|
4379
|
+
"default": "1",
|
|
4380
|
+
"fieldName": "currentPageNumber"
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
"name": "visible-pages",
|
|
4384
|
+
"type": {
|
|
4385
|
+
"text": "number"
|
|
4386
|
+
},
|
|
4387
|
+
"default": "7",
|
|
4388
|
+
"fieldName": "visiblePages"
|
|
4389
|
+
}
|
|
4390
|
+
],
|
|
4391
|
+
"superclass": {
|
|
4392
|
+
"name": "LitElement",
|
|
4393
|
+
"package": "lit"
|
|
4394
|
+
},
|
|
4395
|
+
"tagName": "w-pagination",
|
|
4396
|
+
"customElement": true,
|
|
4397
|
+
"modulePath": "packages/pagination/index.ts",
|
|
4398
|
+
"definitionPath": "packages/pagination/index.ts"
|
|
4399
|
+
}
|
|
4400
|
+
],
|
|
4401
|
+
"exports": [
|
|
4402
|
+
{
|
|
4403
|
+
"kind": "custom-element-definition",
|
|
4404
|
+
"name": "w-pagination",
|
|
4405
|
+
"declaration": {
|
|
4406
|
+
"name": "WarpPagination",
|
|
4407
|
+
"module": "packages/pagination/index.ts"
|
|
4408
|
+
}
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"kind": "js",
|
|
4412
|
+
"name": "WarpPagination",
|
|
4413
|
+
"declaration": {
|
|
4414
|
+
"name": "WarpPagination",
|
|
4415
|
+
"module": "packages/pagination/index.ts"
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
]
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"kind": "javascript-module",
|
|
4422
|
+
"path": "packages/rip-and-tear-radio/radio-group-styles.ts",
|
|
4423
|
+
"declarations": [
|
|
4424
|
+
{
|
|
4425
|
+
"kind": "variable",
|
|
4426
|
+
"name": "styles",
|
|
4427
|
+
"default": "css` :host { display: block; } .form-control { position: relative; border: none; padding: 0; margin: 0; } .label { font-size: var(--w-font-size-s); line-height: var(--w-line-height-s); font-weight: 700; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-smoothing: grayscale; cursor: pointer; padding-bottom: 0.4rem; color: var(--w-s-color-text); display: block; } .radio-group-required .label::after { content: var(--wa-form-control-required-content); margin-inline-start: var(--wa-form-control-required-content-offset); } .button-group { display: flex; } [part~='form-control-input'] { display: flex; flex-direction: column; flex-wrap: wrap; } /* Horizontal */ :host([orientation='horizontal']) [part~='form-control-input'] { flex-direction: row; gap: 1em; } /* Help text */ [part~='hint'] { margin-block-start: 0.5em; } /* Radios have the \"button\" appearance */ :host fieldset.has-radio-buttons { [part~='form-control-input'] { gap: 0; } } `"
|
|
4428
|
+
}
|
|
4429
|
+
],
|
|
4430
|
+
"exports": [
|
|
4431
|
+
{
|
|
4432
|
+
"kind": "js",
|
|
4433
|
+
"name": "styles",
|
|
4434
|
+
"declaration": {
|
|
4435
|
+
"name": "styles",
|
|
4436
|
+
"module": "packages/rip-and-tear-radio/radio-group-styles.ts"
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
]
|
|
4440
|
+
},
|
|
4441
|
+
{
|
|
4442
|
+
"kind": "javascript-module",
|
|
4443
|
+
"path": "packages/rip-and-tear-radio/radio.ts",
|
|
4444
|
+
"declarations": [
|
|
4445
|
+
{
|
|
4446
|
+
"kind": "class",
|
|
4447
|
+
"description": "",
|
|
4448
|
+
"name": "WRadio",
|
|
4449
|
+
"members": [
|
|
4450
|
+
{
|
|
4451
|
+
"kind": "field",
|
|
4452
|
+
"name": "css",
|
|
4453
|
+
"type": {
|
|
4454
|
+
"text": "array"
|
|
4455
|
+
},
|
|
4456
|
+
"static": true,
|
|
4457
|
+
"default": "[reset, toggleStyles]"
|
|
4458
|
+
},
|
|
4459
|
+
{
|
|
4460
|
+
"kind": "field",
|
|
4461
|
+
"name": "checked",
|
|
4462
|
+
"type": {
|
|
4463
|
+
"text": "boolean"
|
|
4464
|
+
},
|
|
4465
|
+
"default": "false"
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"kind": "field",
|
|
4469
|
+
"name": "form",
|
|
4470
|
+
"type": {
|
|
4471
|
+
"text": "string | null"
|
|
4472
|
+
},
|
|
4473
|
+
"default": "null",
|
|
4474
|
+
"description": "The string pointing to a form's id.",
|
|
4475
|
+
"attribute": "form",
|
|
4476
|
+
"reflects": true
|
|
4477
|
+
},
|
|
4478
|
+
{
|
|
4479
|
+
"kind": "field",
|
|
4480
|
+
"name": "value",
|
|
4481
|
+
"type": {
|
|
4482
|
+
"text": "string"
|
|
4483
|
+
},
|
|
4484
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4485
|
+
"attribute": "value",
|
|
4486
|
+
"reflects": true
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"kind": "field",
|
|
4490
|
+
"name": "appearance",
|
|
4491
|
+
"type": {
|
|
4492
|
+
"text": "'default' | 'button' | 'clickable'"
|
|
4493
|
+
},
|
|
4494
|
+
"default": "'default'",
|
|
4495
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4496
|
+
"attribute": "appearance",
|
|
4497
|
+
"reflects": true
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"kind": "field",
|
|
4501
|
+
"name": "size",
|
|
4502
|
+
"type": {
|
|
4503
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4504
|
+
},
|
|
4505
|
+
"default": "'medium'",
|
|
4506
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
4507
|
+
"attribute": "size",
|
|
4508
|
+
"reflects": true
|
|
4509
|
+
},
|
|
4510
|
+
{
|
|
4511
|
+
"kind": "field",
|
|
4512
|
+
"name": "disabled",
|
|
4513
|
+
"type": {
|
|
4514
|
+
"text": "boolean"
|
|
4515
|
+
},
|
|
4516
|
+
"default": "false",
|
|
4517
|
+
"description": "Disables the radio.",
|
|
4518
|
+
"attribute": "disabled"
|
|
4519
|
+
},
|
|
4520
|
+
{
|
|
4521
|
+
"kind": "method",
|
|
4522
|
+
"name": "setInitialAttributes",
|
|
4523
|
+
"privacy": "private"
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
"kind": "method",
|
|
4527
|
+
"name": "setValue",
|
|
4528
|
+
"return": {
|
|
4529
|
+
"type": {
|
|
4530
|
+
"text": "void"
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
},
|
|
4534
|
+
{
|
|
4535
|
+
"kind": "field",
|
|
4536
|
+
"name": "handleClick",
|
|
4537
|
+
"privacy": "private"
|
|
4538
|
+
}
|
|
4539
|
+
],
|
|
4540
|
+
"attributes": [
|
|
4541
|
+
{
|
|
4542
|
+
"name": "form",
|
|
4543
|
+
"type": {
|
|
4544
|
+
"text": "string | null"
|
|
4545
|
+
},
|
|
4546
|
+
"default": "null",
|
|
4547
|
+
"description": "The string pointing to a form's id.",
|
|
4548
|
+
"fieldName": "form"
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"name": "value",
|
|
4552
|
+
"type": {
|
|
4553
|
+
"text": "string"
|
|
4554
|
+
},
|
|
4555
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4556
|
+
"fieldName": "value"
|
|
4557
|
+
},
|
|
4558
|
+
{
|
|
4559
|
+
"name": "appearance",
|
|
4560
|
+
"type": {
|
|
4561
|
+
"text": "'default' | 'button' | 'clickable'"
|
|
4562
|
+
},
|
|
4563
|
+
"default": "'default'",
|
|
4564
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
4565
|
+
"fieldName": "appearance"
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"name": "size",
|
|
4569
|
+
"type": {
|
|
4570
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4571
|
+
},
|
|
4572
|
+
"default": "'medium'",
|
|
4573
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
4574
|
+
"fieldName": "size"
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"name": "disabled",
|
|
4578
|
+
"type": {
|
|
4579
|
+
"text": "boolean"
|
|
4580
|
+
},
|
|
4581
|
+
"default": "false",
|
|
4582
|
+
"description": "Disables the radio.",
|
|
4583
|
+
"fieldName": "disabled"
|
|
4584
|
+
}
|
|
4585
|
+
],
|
|
4586
|
+
"superclass": {
|
|
4587
|
+
"name": "BaseFormAssociatedElement",
|
|
4588
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
4589
|
+
}
|
|
4590
|
+
}
|
|
4591
|
+
],
|
|
4592
|
+
"exports": [
|
|
4593
|
+
{
|
|
4594
|
+
"kind": "js",
|
|
4595
|
+
"name": "WRadio",
|
|
4596
|
+
"declaration": {
|
|
4597
|
+
"name": "WRadio",
|
|
4598
|
+
"module": "packages/rip-and-tear-radio/radio.ts"
|
|
4599
|
+
}
|
|
4600
|
+
}
|
|
4601
|
+
]
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"kind": "javascript-module",
|
|
4605
|
+
"path": "packages/rip-and-tear-radio/radio-group.ts",
|
|
4606
|
+
"declarations": [
|
|
4607
|
+
{
|
|
4608
|
+
"kind": "class",
|
|
4609
|
+
"description": "",
|
|
4610
|
+
"name": "WRadioGroup",
|
|
4611
|
+
"slots": [
|
|
4612
|
+
{
|
|
4613
|
+
"description": "Alternative to the `label` attribute should you need custom HTML.",
|
|
4614
|
+
"name": "label"
|
|
4615
|
+
}
|
|
4616
|
+
],
|
|
4617
|
+
"members": [
|
|
4618
|
+
{
|
|
4619
|
+
"kind": "field",
|
|
4620
|
+
"name": "css",
|
|
4621
|
+
"type": {
|
|
4622
|
+
"text": "array"
|
|
4623
|
+
},
|
|
4624
|
+
"static": true,
|
|
4625
|
+
"default": "[styles]"
|
|
4626
|
+
},
|
|
4627
|
+
{
|
|
4628
|
+
"kind": "field",
|
|
4629
|
+
"name": "validators",
|
|
4630
|
+
"static": true,
|
|
4631
|
+
"readonly": true
|
|
4632
|
+
},
|
|
4633
|
+
{
|
|
4634
|
+
"kind": "field",
|
|
4635
|
+
"name": "hasSlotController",
|
|
4636
|
+
"privacy": "private",
|
|
4637
|
+
"readonly": true,
|
|
4638
|
+
"default": "new HasSlotController(this, 'hint', 'label')"
|
|
4639
|
+
},
|
|
4640
|
+
{
|
|
4641
|
+
"kind": "field",
|
|
4642
|
+
"name": "hasRadioButtons",
|
|
4643
|
+
"type": {
|
|
4644
|
+
"text": "boolean"
|
|
4645
|
+
},
|
|
4646
|
+
"default": "false"
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
"kind": "field",
|
|
4650
|
+
"name": "defaultSlot",
|
|
4651
|
+
"type": {
|
|
4652
|
+
"text": "HTMLSlotElement"
|
|
4653
|
+
}
|
|
4654
|
+
},
|
|
4655
|
+
{
|
|
4656
|
+
"kind": "field",
|
|
4657
|
+
"name": "label",
|
|
4658
|
+
"type": {
|
|
4659
|
+
"text": "string"
|
|
4660
|
+
},
|
|
4661
|
+
"default": "''",
|
|
4662
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
4663
|
+
"attribute": "label"
|
|
4664
|
+
},
|
|
4665
|
+
{
|
|
4666
|
+
"kind": "field",
|
|
4667
|
+
"name": "hint",
|
|
4668
|
+
"type": {
|
|
4669
|
+
"text": "string"
|
|
4670
|
+
},
|
|
4671
|
+
"default": "''",
|
|
4672
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4673
|
+
"attribute": "hint"
|
|
4674
|
+
},
|
|
4675
|
+
{
|
|
4676
|
+
"kind": "field",
|
|
4677
|
+
"name": "name",
|
|
4678
|
+
"type": {
|
|
4679
|
+
"text": "string | null"
|
|
4680
|
+
},
|
|
4681
|
+
"default": "null",
|
|
4682
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
4683
|
+
"attribute": "name",
|
|
4684
|
+
"reflects": true
|
|
4685
|
+
},
|
|
4686
|
+
{
|
|
4687
|
+
"kind": "field",
|
|
4688
|
+
"name": "disabled",
|
|
4689
|
+
"type": {
|
|
4690
|
+
"text": "boolean"
|
|
4691
|
+
},
|
|
4692
|
+
"default": "false",
|
|
4693
|
+
"description": "Disables the radio group and all child radios.",
|
|
4694
|
+
"attribute": "disabled",
|
|
4695
|
+
"reflects": true
|
|
4696
|
+
},
|
|
4697
|
+
{
|
|
4698
|
+
"kind": "field",
|
|
4699
|
+
"name": "orientation",
|
|
4700
|
+
"type": {
|
|
4701
|
+
"text": "'horizontal' | 'vertical'"
|
|
4702
|
+
},
|
|
4703
|
+
"default": "'vertical'",
|
|
4704
|
+
"description": "The orientation in which to show radio items.",
|
|
4705
|
+
"attribute": "orientation",
|
|
4706
|
+
"reflects": true
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
"kind": "field",
|
|
4710
|
+
"name": "_value",
|
|
4711
|
+
"type": {
|
|
4712
|
+
"text": "string | null"
|
|
4713
|
+
},
|
|
4714
|
+
"privacy": "private",
|
|
4715
|
+
"default": "null"
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"kind": "field",
|
|
4719
|
+
"name": "value",
|
|
4720
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data."
|
|
4721
|
+
},
|
|
4722
|
+
{
|
|
4723
|
+
"kind": "field",
|
|
4724
|
+
"name": "defaultValue",
|
|
4725
|
+
"type": {
|
|
4726
|
+
"text": "string | null"
|
|
4727
|
+
},
|
|
4728
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
4729
|
+
"attribute": "value",
|
|
4730
|
+
"reflects": true
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"kind": "field",
|
|
4734
|
+
"name": "size",
|
|
4735
|
+
"type": {
|
|
4736
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4737
|
+
},
|
|
4738
|
+
"default": "'medium'",
|
|
4739
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
4740
|
+
"attribute": "size",
|
|
4741
|
+
"reflects": true
|
|
4742
|
+
},
|
|
4743
|
+
{
|
|
4744
|
+
"kind": "field",
|
|
4745
|
+
"name": "required",
|
|
4746
|
+
"type": {
|
|
4747
|
+
"text": "boolean"
|
|
4748
|
+
},
|
|
4749
|
+
"default": "false",
|
|
4750
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
4751
|
+
"attribute": "required",
|
|
4752
|
+
"reflects": true
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"kind": "field",
|
|
4756
|
+
"name": "withLabel",
|
|
4757
|
+
"type": {
|
|
4758
|
+
"text": "boolean"
|
|
4759
|
+
},
|
|
4760
|
+
"default": "false",
|
|
4761
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
4762
|
+
"attribute": "with-label"
|
|
4763
|
+
},
|
|
4764
|
+
{
|
|
4765
|
+
"kind": "field",
|
|
4766
|
+
"name": "withHint",
|
|
4767
|
+
"type": {
|
|
4768
|
+
"text": "boolean"
|
|
4769
|
+
},
|
|
4770
|
+
"default": "false",
|
|
4771
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
4772
|
+
"attribute": "with-hint"
|
|
4773
|
+
},
|
|
4774
|
+
{
|
|
4775
|
+
"kind": "field",
|
|
4776
|
+
"name": "shadowRootOptions",
|
|
4777
|
+
"type": {
|
|
4778
|
+
"text": "object"
|
|
4779
|
+
},
|
|
4780
|
+
"static": true,
|
|
4781
|
+
"default": "{ ...BaseFormAssociatedElement.shadowRootOptions, delegatesFocus: true }"
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
"kind": "field",
|
|
4785
|
+
"name": "validationTarget",
|
|
4786
|
+
"description": "We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on\nthe first radio element.",
|
|
4787
|
+
"readonly": true
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
"kind": "method",
|
|
4791
|
+
"name": "formResetCallback",
|
|
4792
|
+
"parameters": [
|
|
4793
|
+
{
|
|
4794
|
+
"name": "args",
|
|
4795
|
+
"type": {
|
|
4796
|
+
"text": "Parameters<BaseFormAssociatedElement['formResetCallback']>"
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4799
|
+
]
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"kind": "field",
|
|
4803
|
+
"name": "handleRadioClick",
|
|
4804
|
+
"privacy": "private"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"kind": "method",
|
|
4808
|
+
"name": "getAllRadios",
|
|
4809
|
+
"privacy": "private"
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
"kind": "method",
|
|
4813
|
+
"name": "handleLabelClick",
|
|
4814
|
+
"privacy": "private"
|
|
4815
|
+
},
|
|
4816
|
+
{
|
|
4817
|
+
"kind": "method",
|
|
4818
|
+
"name": "syncRadioElements",
|
|
4819
|
+
"privacy": "private"
|
|
4820
|
+
},
|
|
4821
|
+
{
|
|
4822
|
+
"kind": "method",
|
|
4823
|
+
"name": "handleKeyDown",
|
|
4824
|
+
"privacy": "private",
|
|
4825
|
+
"parameters": [
|
|
4826
|
+
{
|
|
4827
|
+
"name": "event",
|
|
4828
|
+
"type": {
|
|
4829
|
+
"text": "KeyboardEvent"
|
|
4830
|
+
}
|
|
4831
|
+
}
|
|
4832
|
+
]
|
|
4833
|
+
},
|
|
4834
|
+
{
|
|
4835
|
+
"kind": "method",
|
|
4836
|
+
"name": "focus",
|
|
4837
|
+
"privacy": "public",
|
|
4838
|
+
"parameters": [
|
|
4839
|
+
{
|
|
4840
|
+
"name": "options",
|
|
4841
|
+
"optional": true,
|
|
4842
|
+
"type": {
|
|
4843
|
+
"text": "FocusOptions"
|
|
4844
|
+
}
|
|
4845
|
+
}
|
|
4846
|
+
],
|
|
4847
|
+
"description": "Sets focus on the radio group."
|
|
4848
|
+
}
|
|
4849
|
+
],
|
|
4850
|
+
"events": [
|
|
4851
|
+
{
|
|
4852
|
+
"name": "input",
|
|
4853
|
+
"type": {
|
|
4854
|
+
"text": "InputEvent"
|
|
4855
|
+
}
|
|
4856
|
+
},
|
|
4857
|
+
{
|
|
4858
|
+
"name": "change",
|
|
4859
|
+
"type": {
|
|
4860
|
+
"text": "Event"
|
|
4861
|
+
}
|
|
4862
|
+
}
|
|
4863
|
+
],
|
|
4864
|
+
"attributes": [
|
|
4865
|
+
{
|
|
4866
|
+
"name": "label",
|
|
4867
|
+
"type": {
|
|
4868
|
+
"text": "string"
|
|
4869
|
+
},
|
|
4870
|
+
"default": "''",
|
|
4871
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
4872
|
+
"fieldName": "label"
|
|
4873
|
+
},
|
|
4874
|
+
{
|
|
4875
|
+
"name": "hint",
|
|
4876
|
+
"type": {
|
|
4877
|
+
"text": "string"
|
|
4878
|
+
},
|
|
4879
|
+
"default": "''",
|
|
4880
|
+
"description": "The radio groups's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
4881
|
+
"fieldName": "hint"
|
|
4882
|
+
},
|
|
4883
|
+
{
|
|
4884
|
+
"name": "name",
|
|
4885
|
+
"type": {
|
|
4886
|
+
"text": "string | null"
|
|
4887
|
+
},
|
|
4888
|
+
"default": "null",
|
|
4889
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
4890
|
+
"fieldName": "name"
|
|
4891
|
+
},
|
|
4892
|
+
{
|
|
4893
|
+
"name": "disabled",
|
|
4894
|
+
"type": {
|
|
4895
|
+
"text": "boolean"
|
|
4896
|
+
},
|
|
4897
|
+
"default": "false",
|
|
4898
|
+
"description": "Disables the radio group and all child radios.",
|
|
4899
|
+
"fieldName": "disabled"
|
|
4900
|
+
},
|
|
4901
|
+
{
|
|
4902
|
+
"name": "orientation",
|
|
4903
|
+
"type": {
|
|
4904
|
+
"text": "'horizontal' | 'vertical'"
|
|
4905
|
+
},
|
|
4906
|
+
"default": "'vertical'",
|
|
4907
|
+
"description": "The orientation in which to show radio items.",
|
|
4908
|
+
"fieldName": "orientation"
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
"name": "value",
|
|
4912
|
+
"type": {
|
|
4913
|
+
"text": "string | null"
|
|
4914
|
+
},
|
|
4915
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
4916
|
+
"fieldName": "defaultValue"
|
|
4917
|
+
},
|
|
4918
|
+
{
|
|
4919
|
+
"name": "size",
|
|
4920
|
+
"type": {
|
|
4921
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4922
|
+
},
|
|
4923
|
+
"default": "'medium'",
|
|
4924
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.",
|
|
4925
|
+
"fieldName": "size"
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"name": "required",
|
|
4929
|
+
"type": {
|
|
4930
|
+
"text": "boolean"
|
|
4931
|
+
},
|
|
4932
|
+
"default": "false",
|
|
4933
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
4934
|
+
"fieldName": "required"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"name": "with-label",
|
|
4938
|
+
"type": {
|
|
4939
|
+
"text": "boolean"
|
|
4940
|
+
},
|
|
4941
|
+
"default": "false",
|
|
4942
|
+
"description": "Used for SSR. if true, will show slotted label on initial render.",
|
|
4943
|
+
"fieldName": "withLabel"
|
|
4944
|
+
},
|
|
4945
|
+
{
|
|
4946
|
+
"name": "with-hint",
|
|
4947
|
+
"type": {
|
|
4948
|
+
"text": "boolean"
|
|
4949
|
+
},
|
|
4950
|
+
"default": "false",
|
|
4951
|
+
"description": "Used for SSR. if true, will show slotted hint on initial render.",
|
|
4952
|
+
"fieldName": "withHint"
|
|
4953
|
+
}
|
|
4954
|
+
],
|
|
4955
|
+
"superclass": {
|
|
4956
|
+
"name": "BaseFormAssociatedElement",
|
|
4957
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
4958
|
+
}
|
|
4959
|
+
}
|
|
4960
|
+
],
|
|
4961
|
+
"exports": [
|
|
4962
|
+
{
|
|
4963
|
+
"kind": "js",
|
|
4964
|
+
"name": "WRadioGroup",
|
|
4965
|
+
"declaration": {
|
|
4966
|
+
"name": "WRadioGroup",
|
|
4967
|
+
"module": "packages/rip-and-tear-radio/radio-group.ts"
|
|
4968
|
+
}
|
|
4969
|
+
}
|
|
4970
|
+
]
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
"kind": "javascript-module",
|
|
4974
|
+
"path": "packages/rip-and-tear-radio/radio-styles.ts",
|
|
4975
|
+
"declarations": [],
|
|
4976
|
+
"exports": []
|
|
4977
|
+
},
|
|
4978
|
+
{
|
|
4979
|
+
"kind": "javascript-module",
|
|
4980
|
+
"path": "packages/rip-and-tear-radio/radio.stories.ts",
|
|
4981
|
+
"declarations": [
|
|
4982
|
+
{
|
|
4983
|
+
"kind": "variable",
|
|
4984
|
+
"name": "Default",
|
|
4985
|
+
"type": {
|
|
4986
|
+
"text": "StoryObj"
|
|
4987
|
+
},
|
|
4988
|
+
"default": "{}"
|
|
4989
|
+
}
|
|
4990
|
+
],
|
|
4991
|
+
"exports": [
|
|
4992
|
+
{
|
|
4993
|
+
"kind": "js",
|
|
4994
|
+
"name": "default",
|
|
4995
|
+
"declaration": {
|
|
4996
|
+
"module": "packages/rip-and-tear-radio/radio.stories.ts"
|
|
4997
|
+
}
|
|
4998
|
+
},
|
|
4999
|
+
{
|
|
5000
|
+
"kind": "js",
|
|
5001
|
+
"name": "Default",
|
|
5002
|
+
"declaration": {
|
|
5003
|
+
"name": "Default",
|
|
5004
|
+
"module": "packages/rip-and-tear-radio/radio.stories.ts"
|
|
5005
|
+
}
|
|
5006
|
+
}
|
|
5007
|
+
]
|
|
5008
|
+
},
|
|
5009
|
+
{
|
|
5010
|
+
"kind": "javascript-module",
|
|
5011
|
+
"path": "packages/rip-and-tear-checkbox/checkbox.ts",
|
|
5012
|
+
"declarations": [
|
|
5013
|
+
{
|
|
5014
|
+
"kind": "class",
|
|
5015
|
+
"description": "",
|
|
5016
|
+
"name": "WCheckbox",
|
|
5017
|
+
"members": [
|
|
5018
|
+
{
|
|
5019
|
+
"kind": "field",
|
|
5020
|
+
"name": "css",
|
|
5021
|
+
"type": {
|
|
5022
|
+
"text": "array"
|
|
5023
|
+
},
|
|
5024
|
+
"static": true,
|
|
5025
|
+
"default": "[reset, toggleStyles]"
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
"kind": "field",
|
|
5029
|
+
"name": "shadowRootOptions",
|
|
5030
|
+
"type": {
|
|
5031
|
+
"text": "object"
|
|
5032
|
+
},
|
|
5033
|
+
"static": true,
|
|
5034
|
+
"default": "{ ...BaseFormAssociatedElement.shadowRootOptions, delegatesFocus: true }"
|
|
5035
|
+
},
|
|
5036
|
+
{
|
|
5037
|
+
"kind": "field",
|
|
5038
|
+
"name": "validators",
|
|
5039
|
+
"static": true,
|
|
5040
|
+
"readonly": true
|
|
5041
|
+
},
|
|
5042
|
+
{
|
|
5043
|
+
"kind": "field",
|
|
5044
|
+
"name": "hasSlotController",
|
|
5045
|
+
"privacy": "private",
|
|
5046
|
+
"readonly": true,
|
|
5047
|
+
"default": "new HasSlotController(this, 'hint')"
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
"kind": "field",
|
|
5051
|
+
"name": "input",
|
|
5052
|
+
"type": {
|
|
5053
|
+
"text": "HTMLInputElement"
|
|
5054
|
+
}
|
|
5055
|
+
},
|
|
5056
|
+
{
|
|
5057
|
+
"kind": "field",
|
|
5058
|
+
"name": "title",
|
|
5059
|
+
"type": {
|
|
5060
|
+
"text": "string"
|
|
5061
|
+
},
|
|
5062
|
+
"default": "''",
|
|
5063
|
+
"attribute": "title"
|
|
5064
|
+
},
|
|
5065
|
+
{
|
|
5066
|
+
"kind": "field",
|
|
5067
|
+
"name": "name",
|
|
5068
|
+
"type": {
|
|
5069
|
+
"text": "string"
|
|
5070
|
+
},
|
|
5071
|
+
"default": "''",
|
|
5072
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
5073
|
+
"attribute": "name",
|
|
5074
|
+
"reflects": true
|
|
5075
|
+
},
|
|
5076
|
+
{
|
|
5077
|
+
"kind": "field",
|
|
5078
|
+
"name": "_value",
|
|
5079
|
+
"type": {
|
|
5080
|
+
"text": "string | null"
|
|
5081
|
+
},
|
|
5082
|
+
"privacy": "private"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"kind": "field",
|
|
5086
|
+
"name": "value",
|
|
5087
|
+
"type": {
|
|
5088
|
+
"text": "string | null"
|
|
5089
|
+
},
|
|
5090
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
5091
|
+
"attribute": "value",
|
|
5092
|
+
"reflects": true
|
|
5093
|
+
},
|
|
5094
|
+
{
|
|
5095
|
+
"kind": "field",
|
|
5096
|
+
"name": "size",
|
|
5097
|
+
"type": {
|
|
5098
|
+
"text": "'small' | 'medium' | 'large'"
|
|
5099
|
+
},
|
|
5100
|
+
"default": "'medium'",
|
|
5101
|
+
"description": "The checkbox's size.",
|
|
5102
|
+
"attribute": "size",
|
|
5103
|
+
"reflects": true
|
|
5104
|
+
},
|
|
5105
|
+
{
|
|
5106
|
+
"kind": "field",
|
|
5107
|
+
"name": "disabled",
|
|
5108
|
+
"type": {
|
|
5109
|
+
"text": "boolean"
|
|
5110
|
+
},
|
|
5111
|
+
"default": "false",
|
|
5112
|
+
"description": "Disables the checkbox.",
|
|
5113
|
+
"attribute": "disabled"
|
|
5114
|
+
},
|
|
5115
|
+
{
|
|
5116
|
+
"kind": "field",
|
|
5117
|
+
"name": "indeterminate",
|
|
5118
|
+
"type": {
|
|
5119
|
+
"text": "boolean"
|
|
5120
|
+
},
|
|
5121
|
+
"default": "false",
|
|
5122
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
5123
|
+
"attribute": "indeterminate",
|
|
5124
|
+
"reflects": true
|
|
5125
|
+
},
|
|
5126
|
+
{
|
|
5127
|
+
"kind": "field",
|
|
5128
|
+
"name": "checked",
|
|
5129
|
+
"type": {
|
|
5130
|
+
"text": "boolean"
|
|
5131
|
+
},
|
|
5132
|
+
"description": "Draws the checkbox in a checked state."
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
"kind": "field",
|
|
5136
|
+
"name": "defaultChecked",
|
|
5137
|
+
"type": {
|
|
5138
|
+
"text": "boolean"
|
|
5139
|
+
},
|
|
5140
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
5141
|
+
"attribute": "checked",
|
|
5142
|
+
"reflects": true
|
|
5143
|
+
},
|
|
5144
|
+
{
|
|
5145
|
+
"kind": "field",
|
|
5146
|
+
"name": "form",
|
|
5147
|
+
"type": {
|
|
5148
|
+
"text": "null"
|
|
5149
|
+
},
|
|
5150
|
+
"default": "null",
|
|
5151
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
5152
|
+
"attribute": "form",
|
|
5153
|
+
"reflects": true
|
|
5154
|
+
},
|
|
5155
|
+
{
|
|
5156
|
+
"kind": "field",
|
|
5157
|
+
"name": "required",
|
|
5158
|
+
"type": {
|
|
5159
|
+
"text": "boolean"
|
|
5160
|
+
},
|
|
5161
|
+
"default": "false",
|
|
5162
|
+
"description": "Makes the checkbox a required field.",
|
|
5163
|
+
"attribute": "required",
|
|
5164
|
+
"reflects": true
|
|
5165
|
+
},
|
|
5166
|
+
{
|
|
5167
|
+
"kind": "field",
|
|
5168
|
+
"name": "hint",
|
|
5169
|
+
"type": {
|
|
5170
|
+
"text": "string"
|
|
5171
|
+
},
|
|
5172
|
+
"default": "''",
|
|
5173
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
5174
|
+
"attribute": "hint"
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
"kind": "method",
|
|
5178
|
+
"name": "setInitialAttributes",
|
|
5179
|
+
"privacy": "private"
|
|
5180
|
+
},
|
|
5181
|
+
{
|
|
5182
|
+
"kind": "method",
|
|
5183
|
+
"name": "handleClick",
|
|
5184
|
+
"privacy": "private"
|
|
5185
|
+
},
|
|
5186
|
+
{
|
|
5187
|
+
"kind": "method",
|
|
5188
|
+
"name": "handleDefaultCheckedChange"
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
"kind": "method",
|
|
5192
|
+
"name": "handleValueOrCheckedChange"
|
|
5193
|
+
},
|
|
5194
|
+
{
|
|
5195
|
+
"kind": "method",
|
|
5196
|
+
"name": "handleStateChange"
|
|
5197
|
+
},
|
|
5198
|
+
{
|
|
5199
|
+
"kind": "method",
|
|
5200
|
+
"name": "handleDisabledChange"
|
|
5201
|
+
},
|
|
5202
|
+
{
|
|
5203
|
+
"kind": "method",
|
|
5204
|
+
"name": "formResetCallback"
|
|
5205
|
+
},
|
|
5206
|
+
{
|
|
5207
|
+
"kind": "method",
|
|
5208
|
+
"name": "click",
|
|
5209
|
+
"description": "Simulates a click on the checkbox."
|
|
5210
|
+
},
|
|
5211
|
+
{
|
|
5212
|
+
"kind": "method",
|
|
5213
|
+
"name": "focus",
|
|
5214
|
+
"parameters": [
|
|
5215
|
+
{
|
|
5216
|
+
"name": "options",
|
|
5217
|
+
"optional": true,
|
|
5218
|
+
"type": {
|
|
5219
|
+
"text": "FocusOptions"
|
|
5220
|
+
}
|
|
5221
|
+
}
|
|
5222
|
+
],
|
|
5223
|
+
"description": "Sets focus on the checkbox."
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"kind": "method",
|
|
5227
|
+
"name": "blur",
|
|
5228
|
+
"description": "Removes focus from the checkbox."
|
|
5229
|
+
}
|
|
5230
|
+
],
|
|
5231
|
+
"events": [
|
|
5232
|
+
{
|
|
5233
|
+
"name": "change",
|
|
5234
|
+
"type": {
|
|
5235
|
+
"text": "Event"
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
],
|
|
5239
|
+
"attributes": [
|
|
5240
|
+
{
|
|
5241
|
+
"name": "title",
|
|
5242
|
+
"type": {
|
|
5243
|
+
"text": "string"
|
|
5244
|
+
},
|
|
5245
|
+
"default": "''",
|
|
5246
|
+
"fieldName": "title"
|
|
5247
|
+
},
|
|
5248
|
+
{
|
|
5249
|
+
"name": "name",
|
|
5250
|
+
"type": {
|
|
5251
|
+
"text": "string"
|
|
5252
|
+
},
|
|
5253
|
+
"default": "''",
|
|
5254
|
+
"description": "The name of the checkbox, submitted as a name/value pair with form data.",
|
|
5255
|
+
"fieldName": "name"
|
|
5256
|
+
},
|
|
5257
|
+
{
|
|
5258
|
+
"name": "value",
|
|
5259
|
+
"type": {
|
|
5260
|
+
"text": "string | null"
|
|
5261
|
+
},
|
|
5262
|
+
"description": "The value of the checkbox, submitted as a name/value pair with form data.",
|
|
5263
|
+
"fieldName": "value"
|
|
5264
|
+
},
|
|
5265
|
+
{
|
|
5266
|
+
"name": "size",
|
|
5267
|
+
"type": {
|
|
5268
|
+
"text": "'small' | 'medium' | 'large'"
|
|
5269
|
+
},
|
|
5270
|
+
"default": "'medium'",
|
|
5271
|
+
"description": "The checkbox's size.",
|
|
5272
|
+
"fieldName": "size"
|
|
5273
|
+
},
|
|
5274
|
+
{
|
|
5275
|
+
"name": "disabled",
|
|
5276
|
+
"type": {
|
|
5277
|
+
"text": "boolean"
|
|
5278
|
+
},
|
|
5279
|
+
"default": "false",
|
|
5280
|
+
"description": "Disables the checkbox.",
|
|
5281
|
+
"fieldName": "disabled"
|
|
5282
|
+
},
|
|
5283
|
+
{
|
|
5284
|
+
"name": "indeterminate",
|
|
5285
|
+
"type": {
|
|
5286
|
+
"text": "boolean"
|
|
5287
|
+
},
|
|
5288
|
+
"default": "false",
|
|
5289
|
+
"description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
|
|
5290
|
+
"fieldName": "indeterminate"
|
|
5291
|
+
},
|
|
5292
|
+
{
|
|
5293
|
+
"name": "checked",
|
|
5294
|
+
"type": {
|
|
5295
|
+
"text": "boolean"
|
|
5296
|
+
},
|
|
5297
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
5298
|
+
"fieldName": "defaultChecked"
|
|
5299
|
+
},
|
|
5300
|
+
{
|
|
5301
|
+
"name": "form",
|
|
5302
|
+
"type": {
|
|
5303
|
+
"text": "null"
|
|
5304
|
+
},
|
|
5305
|
+
"default": "null",
|
|
5306
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
5307
|
+
"fieldName": "form"
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
"name": "required",
|
|
5311
|
+
"type": {
|
|
5312
|
+
"text": "boolean"
|
|
5313
|
+
},
|
|
5314
|
+
"default": "false",
|
|
5315
|
+
"description": "Makes the checkbox a required field.",
|
|
5316
|
+
"fieldName": "required"
|
|
5317
|
+
},
|
|
5318
|
+
{
|
|
5319
|
+
"name": "hint",
|
|
5320
|
+
"type": {
|
|
5321
|
+
"text": "string"
|
|
5322
|
+
},
|
|
5323
|
+
"default": "''",
|
|
5324
|
+
"description": "The checkbox's hint. If you need to display HTML, use the `hint` slot instead.",
|
|
5325
|
+
"fieldName": "hint"
|
|
5326
|
+
}
|
|
5327
|
+
],
|
|
5328
|
+
"superclass": {
|
|
5329
|
+
"name": "BaseFormAssociatedElement",
|
|
5330
|
+
"module": "/packages/rip-and-tear-radio/form-associated-element"
|
|
5331
|
+
}
|
|
5332
|
+
}
|
|
5333
|
+
],
|
|
5334
|
+
"exports": [
|
|
5335
|
+
{
|
|
5336
|
+
"kind": "js",
|
|
5337
|
+
"name": "WCheckbox",
|
|
5338
|
+
"declaration": {
|
|
5339
|
+
"name": "WCheckbox",
|
|
5340
|
+
"module": "packages/rip-and-tear-checkbox/checkbox.ts"
|
|
5341
|
+
}
|
|
5342
|
+
}
|
|
5343
|
+
]
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"kind": "javascript-module",
|
|
5347
|
+
"path": "packages/slider/slider-thumb.ts",
|
|
5348
|
+
"declarations": [
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "class",
|
|
5351
|
+
"description": "Component to place inside a `<w-slider>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)",
|
|
5352
|
+
"name": "WarpSliderThumb",
|
|
5353
|
+
"members": [
|
|
5354
|
+
{
|
|
5355
|
+
"kind": "field",
|
|
5356
|
+
"name": "shadowRootOptions",
|
|
5357
|
+
"type": {
|
|
5358
|
+
"text": "object"
|
|
5359
|
+
},
|
|
5360
|
+
"static": true,
|
|
5361
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5362
|
+
},
|
|
5363
|
+
{
|
|
5364
|
+
"kind": "field",
|
|
5365
|
+
"name": "ariaLabel",
|
|
5366
|
+
"type": {
|
|
5367
|
+
"text": "string"
|
|
5368
|
+
},
|
|
5369
|
+
"attribute": "aria-label",
|
|
5370
|
+
"reflects": true
|
|
5371
|
+
},
|
|
5372
|
+
{
|
|
5373
|
+
"kind": "field",
|
|
5374
|
+
"name": "ariaDescription",
|
|
5375
|
+
"type": {
|
|
5376
|
+
"text": "string"
|
|
5377
|
+
},
|
|
5378
|
+
"attribute": "aria-description",
|
|
5379
|
+
"reflects": true
|
|
5380
|
+
},
|
|
5381
|
+
{
|
|
5382
|
+
"kind": "field",
|
|
5383
|
+
"name": "label",
|
|
5384
|
+
"type": {
|
|
5385
|
+
"text": "string"
|
|
5386
|
+
},
|
|
5387
|
+
"attribute": "label",
|
|
5388
|
+
"reflects": true
|
|
5389
|
+
},
|
|
5390
|
+
{
|
|
5391
|
+
"kind": "field",
|
|
5392
|
+
"name": "name",
|
|
5393
|
+
"type": {
|
|
5394
|
+
"text": "string"
|
|
5395
|
+
},
|
|
5396
|
+
"attribute": "name",
|
|
5397
|
+
"reflects": true
|
|
5398
|
+
},
|
|
5399
|
+
{
|
|
5400
|
+
"kind": "field",
|
|
5401
|
+
"name": "value",
|
|
5402
|
+
"type": {
|
|
5403
|
+
"text": "string"
|
|
5404
|
+
},
|
|
5405
|
+
"attribute": "value",
|
|
5406
|
+
"reflects": true
|
|
5407
|
+
},
|
|
5408
|
+
{
|
|
5409
|
+
"kind": "field",
|
|
5410
|
+
"name": "disabled",
|
|
5411
|
+
"type": {
|
|
5412
|
+
"text": "boolean"
|
|
5413
|
+
},
|
|
5414
|
+
"attribute": "disabled",
|
|
5415
|
+
"reflects": true
|
|
5416
|
+
},
|
|
5417
|
+
{
|
|
5418
|
+
"kind": "field",
|
|
5419
|
+
"name": "markers",
|
|
5420
|
+
"type": {
|
|
5421
|
+
"text": "string"
|
|
5422
|
+
},
|
|
5423
|
+
"description": "Set by `<w-slider>`"
|
|
5424
|
+
},
|
|
5425
|
+
{
|
|
5426
|
+
"kind": "field",
|
|
5427
|
+
"name": "required",
|
|
5428
|
+
"type": {
|
|
5429
|
+
"text": "boolean"
|
|
5430
|
+
},
|
|
5431
|
+
"description": "Set by `<w-slider>`"
|
|
5432
|
+
},
|
|
5433
|
+
{
|
|
5434
|
+
"kind": "field",
|
|
5435
|
+
"name": "step",
|
|
5436
|
+
"type": {
|
|
5437
|
+
"text": "number"
|
|
5438
|
+
},
|
|
5439
|
+
"description": "Set by `<w-slider>`"
|
|
5440
|
+
},
|
|
5441
|
+
{
|
|
5442
|
+
"kind": "field",
|
|
5443
|
+
"name": "min",
|
|
5444
|
+
"type": {
|
|
5445
|
+
"text": "string"
|
|
5446
|
+
},
|
|
5447
|
+
"description": "Set by `<w-slider>`"
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
"kind": "field",
|
|
5451
|
+
"name": "max",
|
|
5452
|
+
"type": {
|
|
5453
|
+
"text": "string"
|
|
5454
|
+
},
|
|
5455
|
+
"description": "Set by `<w-slider>`"
|
|
5456
|
+
},
|
|
5457
|
+
{
|
|
5458
|
+
"kind": "field",
|
|
5459
|
+
"name": "suffix",
|
|
5460
|
+
"type": {
|
|
5461
|
+
"text": "string"
|
|
5462
|
+
},
|
|
5463
|
+
"description": "Set by `<w-slider>`"
|
|
5464
|
+
},
|
|
5465
|
+
{
|
|
5466
|
+
"kind": "field",
|
|
5467
|
+
"name": "formatter",
|
|
5468
|
+
"type": {
|
|
5469
|
+
"text": "(value: string) => string"
|
|
5470
|
+
},
|
|
5471
|
+
"description": "JS hook to help you format the numeric value how you want."
|
|
5472
|
+
},
|
|
5473
|
+
{
|
|
5474
|
+
"kind": "field",
|
|
5475
|
+
"name": "range",
|
|
5476
|
+
"type": {
|
|
5477
|
+
"text": "HTMLInputElement"
|
|
5478
|
+
}
|
|
5479
|
+
},
|
|
5480
|
+
{
|
|
5481
|
+
"kind": "field",
|
|
5482
|
+
"name": "textfield",
|
|
5483
|
+
"type": {
|
|
5484
|
+
"text": "WarpTextField"
|
|
5485
|
+
}
|
|
5486
|
+
},
|
|
5487
|
+
{
|
|
5488
|
+
"kind": "method",
|
|
5489
|
+
"name": "#showTooltip",
|
|
5490
|
+
"privacy": "private",
|
|
5491
|
+
"return": {
|
|
5492
|
+
"type": {
|
|
5493
|
+
"text": "void"
|
|
5494
|
+
}
|
|
5495
|
+
}
|
|
5496
|
+
},
|
|
5497
|
+
{
|
|
5498
|
+
"kind": "method",
|
|
5499
|
+
"name": "#hideTooltip",
|
|
5500
|
+
"privacy": "private",
|
|
5501
|
+
"return": {
|
|
5502
|
+
"type": {
|
|
5503
|
+
"text": "void"
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
},
|
|
5507
|
+
{
|
|
5508
|
+
"kind": "method",
|
|
5509
|
+
"name": "#onInput",
|
|
5510
|
+
"privacy": "private",
|
|
5511
|
+
"return": {
|
|
5512
|
+
"type": {
|
|
5513
|
+
"text": "boolean"
|
|
5514
|
+
}
|
|
5515
|
+
},
|
|
5516
|
+
"parameters": [
|
|
5517
|
+
{
|
|
5518
|
+
"name": "e",
|
|
5519
|
+
"type": {
|
|
5520
|
+
"text": "InputEvent | CustomEvent"
|
|
5521
|
+
}
|
|
5522
|
+
}
|
|
5523
|
+
]
|
|
5524
|
+
}
|
|
5525
|
+
],
|
|
5526
|
+
"events": [
|
|
5527
|
+
{
|
|
5528
|
+
"name": "slidervalidity",
|
|
5529
|
+
"type": {
|
|
5530
|
+
"text": "CustomEvent"
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5533
|
+
],
|
|
5534
|
+
"attributes": [
|
|
5535
|
+
{
|
|
5536
|
+
"name": "aria-label",
|
|
5537
|
+
"type": {
|
|
5538
|
+
"text": "string"
|
|
5539
|
+
},
|
|
5540
|
+
"fieldName": "ariaLabel"
|
|
5541
|
+
},
|
|
5542
|
+
{
|
|
5543
|
+
"name": "aria-description",
|
|
5544
|
+
"type": {
|
|
5545
|
+
"text": "string"
|
|
5546
|
+
},
|
|
5547
|
+
"fieldName": "ariaDescription"
|
|
5548
|
+
},
|
|
5549
|
+
{
|
|
5550
|
+
"name": "label",
|
|
5551
|
+
"type": {
|
|
5552
|
+
"text": "string"
|
|
5553
|
+
},
|
|
5554
|
+
"fieldName": "label"
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"name": "name",
|
|
5558
|
+
"type": {
|
|
5559
|
+
"text": "string"
|
|
5560
|
+
},
|
|
5561
|
+
"fieldName": "name"
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"name": "value",
|
|
5565
|
+
"type": {
|
|
5566
|
+
"text": "string"
|
|
5567
|
+
},
|
|
5568
|
+
"fieldName": "value"
|
|
5569
|
+
},
|
|
5570
|
+
{
|
|
5571
|
+
"name": "disabled",
|
|
5572
|
+
"type": {
|
|
5573
|
+
"text": "boolean"
|
|
5574
|
+
},
|
|
5575
|
+
"fieldName": "disabled"
|
|
5576
|
+
}
|
|
5577
|
+
],
|
|
5578
|
+
"mixins": [
|
|
5579
|
+
{
|
|
5580
|
+
"name": "FormControlMixin",
|
|
5581
|
+
"package": "@open-wc/form-control"
|
|
5582
|
+
}
|
|
5583
|
+
],
|
|
5584
|
+
"superclass": {
|
|
5585
|
+
"name": "LitElement",
|
|
5586
|
+
"package": "lit"
|
|
5587
|
+
},
|
|
5588
|
+
"tagName": "w-slider-thumb",
|
|
5589
|
+
"customElement": true,
|
|
5590
|
+
"modulePath": "packages/slider/slider-thumb.ts",
|
|
5591
|
+
"definitionPath": "packages/slider/slider-thumb.ts"
|
|
5592
|
+
}
|
|
5593
|
+
],
|
|
5594
|
+
"exports": [
|
|
5595
|
+
{
|
|
5596
|
+
"kind": "custom-element-definition",
|
|
5597
|
+
"name": "w-slider-thumb",
|
|
5598
|
+
"declaration": {
|
|
5599
|
+
"name": "WarpSliderThumb",
|
|
5600
|
+
"module": "packages/slider/slider-thumb.ts"
|
|
5601
|
+
}
|
|
5602
|
+
},
|
|
5603
|
+
{
|
|
5604
|
+
"kind": "js",
|
|
5605
|
+
"name": "WarpSliderThumb",
|
|
5606
|
+
"declaration": {
|
|
5607
|
+
"name": "WarpSliderThumb",
|
|
5608
|
+
"module": "packages/slider/slider-thumb.ts"
|
|
5609
|
+
}
|
|
5610
|
+
}
|
|
5611
|
+
]
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
"kind": "javascript-module",
|
|
5615
|
+
"path": "packages/slider/slider.ts",
|
|
5616
|
+
"declarations": [
|
|
5617
|
+
{
|
|
5618
|
+
"kind": "class",
|
|
5619
|
+
"description": "Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)",
|
|
5620
|
+
"name": "WarpSlider",
|
|
5621
|
+
"slots": [
|
|
5622
|
+
{
|
|
5623
|
+
"description": "For single sliders place a `<w-slider-thumb>` in the default slot.",
|
|
5624
|
+
"name": ""
|
|
5625
|
+
},
|
|
5626
|
+
{
|
|
5627
|
+
"description": "Label for the slider or range slider as a whole.",
|
|
5628
|
+
"name": "label"
|
|
5629
|
+
},
|
|
5630
|
+
{
|
|
5631
|
+
"description": "Optional description between the label and slider.",
|
|
5632
|
+
"name": "description"
|
|
5633
|
+
},
|
|
5634
|
+
{
|
|
5635
|
+
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
5636
|
+
"name": "from"
|
|
5637
|
+
},
|
|
5638
|
+
{
|
|
5639
|
+
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
5640
|
+
"name": "to"
|
|
5641
|
+
}
|
|
5642
|
+
],
|
|
5643
|
+
"members": [
|
|
5644
|
+
{
|
|
5645
|
+
"kind": "field",
|
|
5646
|
+
"name": "shadowRootOptions",
|
|
5647
|
+
"type": {
|
|
5648
|
+
"text": "object"
|
|
5649
|
+
},
|
|
5650
|
+
"static": true,
|
|
5651
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"kind": "field",
|
|
5655
|
+
"name": "label",
|
|
5656
|
+
"type": {
|
|
5657
|
+
"text": "string"
|
|
5658
|
+
},
|
|
5659
|
+
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
5660
|
+
"attribute": "label",
|
|
5661
|
+
"reflects": true
|
|
5662
|
+
},
|
|
5663
|
+
{
|
|
5664
|
+
"kind": "field",
|
|
5665
|
+
"name": "disabled",
|
|
5666
|
+
"type": {
|
|
5667
|
+
"text": "boolean"
|
|
5668
|
+
},
|
|
5669
|
+
"default": "false",
|
|
5670
|
+
"attribute": "disabled",
|
|
5671
|
+
"reflects": true
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
"kind": "field",
|
|
5675
|
+
"name": "invalid",
|
|
5676
|
+
"type": {
|
|
5677
|
+
"text": "boolean"
|
|
5678
|
+
},
|
|
5679
|
+
"default": "false",
|
|
5680
|
+
"attribute": "invalid",
|
|
5681
|
+
"reflects": true
|
|
5682
|
+
},
|
|
5683
|
+
{
|
|
5684
|
+
"kind": "field",
|
|
5685
|
+
"name": "required",
|
|
5686
|
+
"type": {
|
|
5687
|
+
"text": "boolean"
|
|
5688
|
+
},
|
|
5689
|
+
"default": "false",
|
|
5690
|
+
"description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
|
|
5691
|
+
"attribute": "required",
|
|
5692
|
+
"reflects": true
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
"kind": "field",
|
|
5696
|
+
"name": "min",
|
|
5697
|
+
"type": {
|
|
5698
|
+
"text": "string"
|
|
5699
|
+
},
|
|
5700
|
+
"attribute": "min",
|
|
5701
|
+
"reflects": true
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"kind": "field",
|
|
5705
|
+
"name": "max",
|
|
5706
|
+
"type": {
|
|
5707
|
+
"text": "string"
|
|
5708
|
+
},
|
|
5709
|
+
"attribute": "max",
|
|
5710
|
+
"reflects": true
|
|
5711
|
+
},
|
|
5712
|
+
{
|
|
5713
|
+
"kind": "field",
|
|
5714
|
+
"name": "markers",
|
|
5715
|
+
"type": {
|
|
5716
|
+
"text": "number"
|
|
5717
|
+
},
|
|
5718
|
+
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
5719
|
+
"attribute": "markers",
|
|
5720
|
+
"reflects": true
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"kind": "field",
|
|
5724
|
+
"name": "step",
|
|
5725
|
+
"type": {
|
|
5726
|
+
"text": "number"
|
|
5727
|
+
},
|
|
5728
|
+
"attribute": "step",
|
|
5729
|
+
"reflects": true
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
"kind": "field",
|
|
5733
|
+
"name": "suffix",
|
|
5734
|
+
"type": {
|
|
5735
|
+
"text": "string"
|
|
5736
|
+
},
|
|
5737
|
+
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
5738
|
+
"attribute": "suffix",
|
|
2957
5739
|
"reflects": true
|
|
2958
5740
|
},
|
|
5741
|
+
{
|
|
5742
|
+
"kind": "field",
|
|
5743
|
+
"name": "formatter",
|
|
5744
|
+
"type": {
|
|
5745
|
+
"text": "(value: string) => string"
|
|
5746
|
+
},
|
|
5747
|
+
"description": "Function to format the to- and from labels and value in the slider thumb tooltip."
|
|
5748
|
+
},
|
|
2959
5749
|
{
|
|
2960
5750
|
"kind": "method",
|
|
2961
|
-
"name": "#
|
|
5751
|
+
"name": "#syncSliderThumbs",
|
|
5752
|
+
"privacy": "private",
|
|
5753
|
+
"return": {
|
|
5754
|
+
"type": {
|
|
5755
|
+
"text": "void"
|
|
5756
|
+
}
|
|
5757
|
+
}
|
|
5758
|
+
},
|
|
5759
|
+
{
|
|
5760
|
+
"kind": "method",
|
|
5761
|
+
"name": "#onInput",
|
|
2962
5762
|
"privacy": "private",
|
|
2963
5763
|
"parameters": [
|
|
2964
5764
|
{
|
|
2965
5765
|
"name": "e",
|
|
2966
5766
|
"type": {
|
|
2967
|
-
"text": "
|
|
5767
|
+
"text": "InputEvent"
|
|
5768
|
+
}
|
|
5769
|
+
}
|
|
5770
|
+
]
|
|
5771
|
+
},
|
|
5772
|
+
{
|
|
5773
|
+
"kind": "method",
|
|
5774
|
+
"name": "#onSliderValidity",
|
|
5775
|
+
"privacy": "private",
|
|
5776
|
+
"parameters": [
|
|
5777
|
+
{
|
|
5778
|
+
"name": "e",
|
|
5779
|
+
"type": {
|
|
5780
|
+
"text": "CustomEvent"
|
|
2968
5781
|
}
|
|
2969
5782
|
}
|
|
2970
5783
|
]
|
|
5784
|
+
},
|
|
5785
|
+
{
|
|
5786
|
+
"kind": "method",
|
|
5787
|
+
"name": "#updateActiveTrack",
|
|
5788
|
+
"privacy": "private",
|
|
5789
|
+
"parameters": [
|
|
5790
|
+
{
|
|
5791
|
+
"name": "input",
|
|
5792
|
+
"type": {
|
|
5793
|
+
"text": "WarpSliderThumb"
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
],
|
|
5797
|
+
"description": "We use CSS variables to fill the active track with a background color."
|
|
2971
5798
|
}
|
|
2972
5799
|
],
|
|
2973
|
-
"
|
|
5800
|
+
"attributes": [
|
|
2974
5801
|
{
|
|
2975
|
-
"name": "
|
|
5802
|
+
"name": "label",
|
|
2976
5803
|
"type": {
|
|
2977
|
-
"text": "
|
|
5804
|
+
"text": "string"
|
|
2978
5805
|
},
|
|
2979
|
-
"description": "
|
|
5806
|
+
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
5807
|
+
"fieldName": "label"
|
|
5808
|
+
},
|
|
5809
|
+
{
|
|
5810
|
+
"name": "disabled",
|
|
5811
|
+
"type": {
|
|
5812
|
+
"text": "boolean"
|
|
5813
|
+
},
|
|
5814
|
+
"default": "false",
|
|
5815
|
+
"fieldName": "disabled"
|
|
5816
|
+
},
|
|
5817
|
+
{
|
|
5818
|
+
"name": "invalid",
|
|
5819
|
+
"type": {
|
|
5820
|
+
"text": "boolean"
|
|
5821
|
+
},
|
|
5822
|
+
"default": "false",
|
|
5823
|
+
"fieldName": "invalid"
|
|
5824
|
+
},
|
|
5825
|
+
{
|
|
5826
|
+
"name": "required",
|
|
5827
|
+
"type": {
|
|
5828
|
+
"text": "boolean"
|
|
5829
|
+
},
|
|
5830
|
+
"default": "false",
|
|
5831
|
+
"description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
|
|
5832
|
+
"fieldName": "required"
|
|
5833
|
+
},
|
|
5834
|
+
{
|
|
5835
|
+
"name": "min",
|
|
5836
|
+
"type": {
|
|
5837
|
+
"text": "string"
|
|
5838
|
+
},
|
|
5839
|
+
"fieldName": "min"
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"name": "max",
|
|
5843
|
+
"type": {
|
|
5844
|
+
"text": "string"
|
|
5845
|
+
},
|
|
5846
|
+
"fieldName": "max"
|
|
5847
|
+
},
|
|
5848
|
+
{
|
|
5849
|
+
"name": "markers",
|
|
5850
|
+
"type": {
|
|
5851
|
+
"text": "number"
|
|
5852
|
+
},
|
|
5853
|
+
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
5854
|
+
"fieldName": "markers"
|
|
5855
|
+
},
|
|
5856
|
+
{
|
|
5857
|
+
"name": "step",
|
|
5858
|
+
"type": {
|
|
5859
|
+
"text": "number"
|
|
5860
|
+
},
|
|
5861
|
+
"fieldName": "step"
|
|
5862
|
+
},
|
|
5863
|
+
{
|
|
5864
|
+
"name": "suffix",
|
|
5865
|
+
"type": {
|
|
5866
|
+
"text": "string"
|
|
5867
|
+
},
|
|
5868
|
+
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
5869
|
+
"fieldName": "suffix"
|
|
5870
|
+
}
|
|
5871
|
+
],
|
|
5872
|
+
"mixins": [
|
|
5873
|
+
{
|
|
5874
|
+
"name": "FormControlMixin",
|
|
5875
|
+
"package": "@open-wc/form-control"
|
|
5876
|
+
}
|
|
5877
|
+
],
|
|
5878
|
+
"superclass": {
|
|
5879
|
+
"name": "LitElement",
|
|
5880
|
+
"package": "lit"
|
|
5881
|
+
},
|
|
5882
|
+
"tagName": "w-slider",
|
|
5883
|
+
"customElement": true,
|
|
5884
|
+
"modulePath": "packages/slider/slider.ts",
|
|
5885
|
+
"definitionPath": "packages/slider/slider.ts"
|
|
5886
|
+
}
|
|
5887
|
+
],
|
|
5888
|
+
"exports": [
|
|
5889
|
+
{
|
|
5890
|
+
"kind": "custom-element-definition",
|
|
5891
|
+
"name": "w-slider",
|
|
5892
|
+
"declaration": {
|
|
5893
|
+
"name": "WarpSlider",
|
|
5894
|
+
"module": "packages/slider/slider.ts"
|
|
5895
|
+
}
|
|
5896
|
+
},
|
|
5897
|
+
{
|
|
5898
|
+
"kind": "js",
|
|
5899
|
+
"name": "WarpSlider",
|
|
5900
|
+
"declaration": {
|
|
5901
|
+
"name": "WarpSlider",
|
|
5902
|
+
"module": "packages/slider/slider.ts"
|
|
5903
|
+
}
|
|
5904
|
+
}
|
|
5905
|
+
]
|
|
5906
|
+
},
|
|
5907
|
+
{
|
|
5908
|
+
"kind": "javascript-module",
|
|
5909
|
+
"path": "packages/steps/index.ts",
|
|
5910
|
+
"declarations": [
|
|
5911
|
+
{
|
|
5912
|
+
"kind": "class",
|
|
5913
|
+
"description": "Steps are used to show progress through a process or to guide users through a multi-step task.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)",
|
|
5914
|
+
"name": "WarpSteps",
|
|
5915
|
+
"members": [
|
|
5916
|
+
{
|
|
5917
|
+
"kind": "field",
|
|
5918
|
+
"name": "horizontal",
|
|
5919
|
+
"type": {
|
|
5920
|
+
"text": "boolean"
|
|
5921
|
+
},
|
|
5922
|
+
"default": "false",
|
|
5923
|
+
"attribute": "horizontal",
|
|
5924
|
+
"reflects": true
|
|
5925
|
+
},
|
|
5926
|
+
{
|
|
5927
|
+
"kind": "field",
|
|
5928
|
+
"name": "right",
|
|
5929
|
+
"type": {
|
|
5930
|
+
"text": "boolean"
|
|
5931
|
+
},
|
|
5932
|
+
"default": "false",
|
|
5933
|
+
"attribute": "right",
|
|
5934
|
+
"reflects": true
|
|
5935
|
+
},
|
|
5936
|
+
{
|
|
5937
|
+
"kind": "method",
|
|
5938
|
+
"name": "updateStepsContext",
|
|
5939
|
+
"type": {
|
|
5940
|
+
"text": "updateStepsContext() => void"
|
|
5941
|
+
}
|
|
2980
5942
|
}
|
|
2981
5943
|
],
|
|
2982
5944
|
"attributes": [
|
|
2983
5945
|
{
|
|
2984
|
-
"name": "
|
|
5946
|
+
"name": "horizontal",
|
|
5947
|
+
"type": {
|
|
5948
|
+
"text": "boolean"
|
|
5949
|
+
},
|
|
5950
|
+
"default": "false",
|
|
5951
|
+
"fieldName": "horizontal"
|
|
5952
|
+
},
|
|
5953
|
+
{
|
|
5954
|
+
"name": "right",
|
|
5955
|
+
"type": {
|
|
5956
|
+
"text": "boolean"
|
|
5957
|
+
},
|
|
5958
|
+
"default": "false",
|
|
5959
|
+
"fieldName": "right"
|
|
5960
|
+
}
|
|
5961
|
+
],
|
|
5962
|
+
"superclass": {
|
|
5963
|
+
"name": "LitElement",
|
|
5964
|
+
"package": "lit"
|
|
5965
|
+
},
|
|
5966
|
+
"tagName": "w-steps",
|
|
5967
|
+
"customElement": true,
|
|
5968
|
+
"modulePath": "packages/steps/index.ts",
|
|
5969
|
+
"definitionPath": "packages/steps/index.ts"
|
|
5970
|
+
},
|
|
5971
|
+
{
|
|
5972
|
+
"kind": "class",
|
|
5973
|
+
"description": "Individual step component that shows a single step in a process",
|
|
5974
|
+
"name": "WarpStep",
|
|
5975
|
+
"members": [
|
|
5976
|
+
{
|
|
5977
|
+
"kind": "field",
|
|
5978
|
+
"name": "active",
|
|
5979
|
+
"type": {
|
|
5980
|
+
"text": "boolean"
|
|
5981
|
+
},
|
|
5982
|
+
"default": "false",
|
|
5983
|
+
"attribute": "active",
|
|
5984
|
+
"reflects": true
|
|
5985
|
+
},
|
|
5986
|
+
{
|
|
5987
|
+
"kind": "field",
|
|
5988
|
+
"name": "completed",
|
|
5989
|
+
"type": {
|
|
5990
|
+
"text": "boolean"
|
|
5991
|
+
},
|
|
5992
|
+
"default": "false",
|
|
5993
|
+
"attribute": "completed",
|
|
5994
|
+
"reflects": true
|
|
5995
|
+
},
|
|
5996
|
+
{
|
|
5997
|
+
"kind": "field",
|
|
5998
|
+
"name": "_context",
|
|
5999
|
+
"type": {
|
|
6000
|
+
"text": "StepsContext"
|
|
6001
|
+
},
|
|
6002
|
+
"privacy": "private",
|
|
6003
|
+
"default": "{ horizontal: false, right: false, isLast: false, isFirst: false }"
|
|
6004
|
+
},
|
|
6005
|
+
{
|
|
6006
|
+
"kind": "method",
|
|
6007
|
+
"name": "setContext",
|
|
6008
|
+
"parameters": [
|
|
6009
|
+
{
|
|
6010
|
+
"name": "context",
|
|
6011
|
+
"type": {
|
|
6012
|
+
"text": "StepsContext"
|
|
6013
|
+
}
|
|
6014
|
+
}
|
|
6015
|
+
],
|
|
2985
6016
|
"type": {
|
|
2986
|
-
"text": "
|
|
2987
|
-
}
|
|
2988
|
-
"fieldName": "baseUrl"
|
|
6017
|
+
"text": "setContext(context: StepsContext) => void"
|
|
6018
|
+
}
|
|
2989
6019
|
},
|
|
2990
6020
|
{
|
|
2991
|
-
"
|
|
6021
|
+
"kind": "method",
|
|
6022
|
+
"name": "getAriaLabel",
|
|
2992
6023
|
"type": {
|
|
2993
|
-
"text": "
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
|
-
|
|
6024
|
+
"text": "getAriaLabel() => void"
|
|
6025
|
+
}
|
|
6026
|
+
}
|
|
6027
|
+
],
|
|
6028
|
+
"attributes": [
|
|
2997
6029
|
{
|
|
2998
|
-
"name": "
|
|
6030
|
+
"name": "active",
|
|
2999
6031
|
"type": {
|
|
3000
|
-
"text": "
|
|
6032
|
+
"text": "boolean"
|
|
3001
6033
|
},
|
|
3002
|
-
"default": "
|
|
3003
|
-
"fieldName": "
|
|
6034
|
+
"default": "false",
|
|
6035
|
+
"fieldName": "active"
|
|
3004
6036
|
},
|
|
3005
6037
|
{
|
|
3006
|
-
"name": "
|
|
6038
|
+
"name": "completed",
|
|
3007
6039
|
"type": {
|
|
3008
|
-
"text": "
|
|
6040
|
+
"text": "boolean"
|
|
3009
6041
|
},
|
|
3010
|
-
"default": "
|
|
3011
|
-
"fieldName": "
|
|
6042
|
+
"default": "false",
|
|
6043
|
+
"fieldName": "completed"
|
|
3012
6044
|
}
|
|
3013
6045
|
],
|
|
3014
6046
|
"superclass": {
|
|
3015
6047
|
"name": "LitElement",
|
|
3016
6048
|
"package": "lit"
|
|
3017
6049
|
},
|
|
3018
|
-
"tagName": "w-
|
|
6050
|
+
"tagName": "w-step",
|
|
3019
6051
|
"customElement": true,
|
|
3020
|
-
"modulePath": "packages/
|
|
3021
|
-
"definitionPath": "packages/
|
|
6052
|
+
"modulePath": "packages/steps/index.ts",
|
|
6053
|
+
"definitionPath": "packages/steps/index.ts"
|
|
3022
6054
|
}
|
|
3023
6055
|
],
|
|
3024
6056
|
"exports": [
|
|
3025
6057
|
{
|
|
3026
6058
|
"kind": "custom-element-definition",
|
|
3027
|
-
"name": "w-
|
|
6059
|
+
"name": "w-steps",
|
|
3028
6060
|
"declaration": {
|
|
3029
|
-
"name": "
|
|
3030
|
-
"module": "packages/
|
|
6061
|
+
"name": "WarpSteps",
|
|
6062
|
+
"module": "packages/steps/index.ts"
|
|
6063
|
+
}
|
|
6064
|
+
},
|
|
6065
|
+
{
|
|
6066
|
+
"kind": "custom-element-definition",
|
|
6067
|
+
"name": "w-step",
|
|
6068
|
+
"declaration": {
|
|
6069
|
+
"name": "WarpStep",
|
|
6070
|
+
"module": "packages/steps/index.ts"
|
|
3031
6071
|
}
|
|
3032
6072
|
},
|
|
3033
6073
|
{
|
|
3034
6074
|
"kind": "js",
|
|
3035
|
-
"name": "
|
|
6075
|
+
"name": "WarpSteps",
|
|
3036
6076
|
"declaration": {
|
|
3037
|
-
"name": "
|
|
3038
|
-
"module": "packages/
|
|
6077
|
+
"name": "WarpSteps",
|
|
6078
|
+
"module": "packages/steps/index.ts"
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6081
|
+
{
|
|
6082
|
+
"kind": "js",
|
|
6083
|
+
"name": "WarpStep",
|
|
6084
|
+
"declaration": {
|
|
6085
|
+
"name": "WarpStep",
|
|
6086
|
+
"module": "packages/steps/index.ts"
|
|
3039
6087
|
}
|
|
3040
6088
|
}
|
|
3041
6089
|
]
|
|
3042
6090
|
},
|
|
3043
6091
|
{
|
|
3044
6092
|
"kind": "javascript-module",
|
|
3045
|
-
"path": "packages/
|
|
6093
|
+
"path": "packages/switch/index.ts",
|
|
3046
6094
|
"declarations": [
|
|
3047
6095
|
{
|
|
3048
6096
|
"kind": "class",
|
|
3049
|
-
"description": "
|
|
3050
|
-
"name": "
|
|
6097
|
+
"description": "",
|
|
6098
|
+
"name": "WarpSwitch",
|
|
3051
6099
|
"members": [
|
|
3052
6100
|
{
|
|
3053
6101
|
"kind": "field",
|
|
3054
|
-
"name": "
|
|
6102
|
+
"name": "value",
|
|
3055
6103
|
"type": {
|
|
3056
|
-
"text": "
|
|
6104
|
+
"text": "boolean"
|
|
3057
6105
|
},
|
|
3058
|
-
"
|
|
3059
|
-
"
|
|
6106
|
+
"default": "false",
|
|
6107
|
+
"attribute": "value",
|
|
6108
|
+
"reflects": true
|
|
3060
6109
|
},
|
|
3061
6110
|
{
|
|
3062
6111
|
"kind": "field",
|
|
3063
|
-
"name": "
|
|
6112
|
+
"name": "disabled",
|
|
3064
6113
|
"type": {
|
|
3065
|
-
"text": "
|
|
6114
|
+
"text": "boolean"
|
|
3066
6115
|
},
|
|
3067
|
-
"
|
|
6116
|
+
"default": "false",
|
|
6117
|
+
"attribute": "disabled",
|
|
3068
6118
|
"reflects": true
|
|
3069
|
-
}
|
|
6119
|
+
}
|
|
6120
|
+
],
|
|
6121
|
+
"events": [
|
|
3070
6122
|
{
|
|
3071
|
-
"
|
|
3072
|
-
"name": "ariaDescription",
|
|
6123
|
+
"name": "change",
|
|
3073
6124
|
"type": {
|
|
3074
|
-
"text": "
|
|
6125
|
+
"text": "CustomEvent"
|
|
6126
|
+
}
|
|
6127
|
+
}
|
|
6128
|
+
],
|
|
6129
|
+
"attributes": [
|
|
6130
|
+
{
|
|
6131
|
+
"name": "value",
|
|
6132
|
+
"type": {
|
|
6133
|
+
"text": "boolean"
|
|
3075
6134
|
},
|
|
3076
|
-
"
|
|
3077
|
-
"
|
|
6135
|
+
"default": "false",
|
|
6136
|
+
"fieldName": "value"
|
|
3078
6137
|
},
|
|
3079
6138
|
{
|
|
3080
|
-
"
|
|
3081
|
-
"name": "label",
|
|
6139
|
+
"name": "disabled",
|
|
3082
6140
|
"type": {
|
|
3083
|
-
"text": "
|
|
6141
|
+
"text": "boolean"
|
|
3084
6142
|
},
|
|
3085
|
-
"
|
|
3086
|
-
"
|
|
3087
|
-
}
|
|
6143
|
+
"default": "false",
|
|
6144
|
+
"fieldName": "disabled"
|
|
6145
|
+
}
|
|
6146
|
+
],
|
|
6147
|
+
"superclass": {
|
|
6148
|
+
"name": "LitElement",
|
|
6149
|
+
"package": "lit"
|
|
6150
|
+
},
|
|
6151
|
+
"tagName": "w-switch",
|
|
6152
|
+
"customElement": true,
|
|
6153
|
+
"modulePath": "packages/switch/index.ts",
|
|
6154
|
+
"definitionPath": "packages/switch/index.ts"
|
|
6155
|
+
}
|
|
6156
|
+
],
|
|
6157
|
+
"exports": [
|
|
6158
|
+
{
|
|
6159
|
+
"kind": "js",
|
|
6160
|
+
"name": "WarpSwitch",
|
|
6161
|
+
"declaration": {
|
|
6162
|
+
"name": "WarpSwitch",
|
|
6163
|
+
"module": "packages/switch/index.ts"
|
|
6164
|
+
}
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
"kind": "custom-element-definition",
|
|
6168
|
+
"name": "w-switch",
|
|
6169
|
+
"declaration": {
|
|
6170
|
+
"name": "WarpSwitch",
|
|
6171
|
+
"module": "packages/switch/index.ts"
|
|
6172
|
+
}
|
|
6173
|
+
}
|
|
6174
|
+
]
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
"kind": "javascript-module",
|
|
6178
|
+
"path": "packages/tabs/tab.ts",
|
|
6179
|
+
"declarations": [
|
|
6180
|
+
{
|
|
6181
|
+
"kind": "class",
|
|
6182
|
+
"description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6183
|
+
"name": "WarpTab",
|
|
6184
|
+
"members": [
|
|
3088
6185
|
{
|
|
3089
6186
|
"kind": "field",
|
|
3090
6187
|
"name": "name",
|
|
@@ -3096,508 +6193,303 @@
|
|
|
3096
6193
|
},
|
|
3097
6194
|
{
|
|
3098
6195
|
"kind": "field",
|
|
3099
|
-
"name": "
|
|
6196
|
+
"name": "label",
|
|
3100
6197
|
"type": {
|
|
3101
6198
|
"text": "string"
|
|
3102
6199
|
},
|
|
3103
|
-
"
|
|
6200
|
+
"default": "''",
|
|
6201
|
+
"attribute": "label",
|
|
3104
6202
|
"reflects": true
|
|
3105
6203
|
},
|
|
3106
6204
|
{
|
|
3107
6205
|
"kind": "field",
|
|
3108
|
-
"name": "
|
|
6206
|
+
"name": "active",
|
|
3109
6207
|
"type": {
|
|
3110
6208
|
"text": "boolean"
|
|
3111
6209
|
},
|
|
3112
|
-
"
|
|
6210
|
+
"default": "false",
|
|
6211
|
+
"attribute": "active",
|
|
3113
6212
|
"reflects": true
|
|
3114
6213
|
},
|
|
3115
6214
|
{
|
|
3116
6215
|
"kind": "field",
|
|
3117
|
-
"name": "
|
|
3118
|
-
"type": {
|
|
3119
|
-
"text": "string"
|
|
3120
|
-
},
|
|
3121
|
-
"description": "Set by `<w-slider>`"
|
|
3122
|
-
},
|
|
3123
|
-
{
|
|
3124
|
-
"kind": "field",
|
|
3125
|
-
"name": "required",
|
|
6216
|
+
"name": "over",
|
|
3126
6217
|
"type": {
|
|
3127
6218
|
"text": "boolean"
|
|
3128
6219
|
},
|
|
3129
|
-
"
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
"kind": "field",
|
|
3133
|
-
"name": "step",
|
|
3134
|
-
"type": {
|
|
3135
|
-
"text": "number"
|
|
3136
|
-
},
|
|
3137
|
-
"description": "Set by `<w-slider>`"
|
|
3138
|
-
},
|
|
3139
|
-
{
|
|
3140
|
-
"kind": "field",
|
|
3141
|
-
"name": "min",
|
|
3142
|
-
"type": {
|
|
3143
|
-
"text": "string"
|
|
3144
|
-
},
|
|
3145
|
-
"description": "Set by `<w-slider>`"
|
|
3146
|
-
},
|
|
3147
|
-
{
|
|
3148
|
-
"kind": "field",
|
|
3149
|
-
"name": "max",
|
|
3150
|
-
"type": {
|
|
3151
|
-
"text": "string"
|
|
3152
|
-
},
|
|
3153
|
-
"description": "Set by `<w-slider>`"
|
|
6220
|
+
"default": "false",
|
|
6221
|
+
"attribute": "over",
|
|
6222
|
+
"reflects": true
|
|
3154
6223
|
},
|
|
3155
6224
|
{
|
|
3156
6225
|
"kind": "field",
|
|
3157
|
-
"name": "
|
|
6226
|
+
"name": "tabClass",
|
|
3158
6227
|
"type": {
|
|
3159
6228
|
"text": "string"
|
|
3160
6229
|
},
|
|
3161
|
-
"
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
"kind": "field",
|
|
3165
|
-
"name": "formatter",
|
|
3166
|
-
"type": {
|
|
3167
|
-
"text": "(value: string) => string"
|
|
3168
|
-
},
|
|
3169
|
-
"description": "JS hook to help you format the numeric value how you want."
|
|
6230
|
+
"default": "''",
|
|
6231
|
+
"attribute": "tab-class",
|
|
6232
|
+
"reflects": true
|
|
3170
6233
|
},
|
|
3171
6234
|
{
|
|
3172
6235
|
"kind": "field",
|
|
3173
|
-
"name": "
|
|
3174
|
-
"
|
|
3175
|
-
"text": "HTMLInputElement"
|
|
3176
|
-
}
|
|
6236
|
+
"name": "_handleClick",
|
|
6237
|
+
"privacy": "private"
|
|
3177
6238
|
},
|
|
3178
6239
|
{
|
|
3179
6240
|
"kind": "field",
|
|
3180
|
-
"name": "
|
|
3181
|
-
"type": {
|
|
3182
|
-
"text": "WarpTextField"
|
|
3183
|
-
}
|
|
3184
|
-
},
|
|
3185
|
-
{
|
|
3186
|
-
"kind": "method",
|
|
3187
|
-
"name": "#showTooltip",
|
|
6241
|
+
"name": "_classes",
|
|
3188
6242
|
"privacy": "private",
|
|
3189
|
-
"
|
|
3190
|
-
"type": {
|
|
3191
|
-
"text": "void"
|
|
3192
|
-
}
|
|
3193
|
-
}
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"kind": "method",
|
|
3197
|
-
"name": "#hideTooltip",
|
|
3198
|
-
"privacy": "private",
|
|
3199
|
-
"return": {
|
|
3200
|
-
"type": {
|
|
3201
|
-
"text": "void"
|
|
3202
|
-
}
|
|
3203
|
-
}
|
|
6243
|
+
"readonly": true
|
|
3204
6244
|
},
|
|
3205
6245
|
{
|
|
3206
|
-
"kind": "
|
|
3207
|
-
"name": "
|
|
6246
|
+
"kind": "field",
|
|
6247
|
+
"name": "_hasChildren",
|
|
3208
6248
|
"privacy": "private",
|
|
3209
|
-
"
|
|
3210
|
-
"type": {
|
|
3211
|
-
"text": "boolean"
|
|
3212
|
-
}
|
|
3213
|
-
},
|
|
3214
|
-
"parameters": [
|
|
3215
|
-
{
|
|
3216
|
-
"name": "e",
|
|
3217
|
-
"type": {
|
|
3218
|
-
"text": "InputEvent | CustomEvent"
|
|
3219
|
-
}
|
|
3220
|
-
}
|
|
3221
|
-
]
|
|
3222
|
-
}
|
|
3223
|
-
],
|
|
3224
|
-
"events": [
|
|
3225
|
-
{
|
|
3226
|
-
"name": "slidervalidity",
|
|
3227
|
-
"type": {
|
|
3228
|
-
"text": "CustomEvent"
|
|
3229
|
-
}
|
|
6249
|
+
"readonly": true
|
|
3230
6250
|
}
|
|
3231
6251
|
],
|
|
3232
6252
|
"attributes": [
|
|
3233
6253
|
{
|
|
3234
|
-
"name": "
|
|
3235
|
-
"type": {
|
|
3236
|
-
"text": "string"
|
|
3237
|
-
},
|
|
3238
|
-
"fieldName": "ariaLabel"
|
|
3239
|
-
},
|
|
3240
|
-
{
|
|
3241
|
-
"name": "aria-description",
|
|
6254
|
+
"name": "name",
|
|
3242
6255
|
"type": {
|
|
3243
6256
|
"text": "string"
|
|
3244
6257
|
},
|
|
3245
|
-
"fieldName": "
|
|
6258
|
+
"fieldName": "name"
|
|
3246
6259
|
},
|
|
3247
6260
|
{
|
|
3248
6261
|
"name": "label",
|
|
3249
6262
|
"type": {
|
|
3250
6263
|
"text": "string"
|
|
3251
6264
|
},
|
|
6265
|
+
"default": "''",
|
|
3252
6266
|
"fieldName": "label"
|
|
3253
6267
|
},
|
|
3254
6268
|
{
|
|
3255
|
-
"name": "
|
|
3256
|
-
"type": {
|
|
3257
|
-
"text": "string"
|
|
3258
|
-
},
|
|
3259
|
-
"fieldName": "name"
|
|
3260
|
-
},
|
|
3261
|
-
{
|
|
3262
|
-
"name": "value",
|
|
6269
|
+
"name": "active",
|
|
3263
6270
|
"type": {
|
|
3264
|
-
"text": "
|
|
6271
|
+
"text": "boolean"
|
|
3265
6272
|
},
|
|
3266
|
-
"
|
|
6273
|
+
"default": "false",
|
|
6274
|
+
"fieldName": "active"
|
|
3267
6275
|
},
|
|
3268
6276
|
{
|
|
3269
|
-
"name": "
|
|
6277
|
+
"name": "over",
|
|
3270
6278
|
"type": {
|
|
3271
6279
|
"text": "boolean"
|
|
3272
6280
|
},
|
|
3273
|
-
"
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
"mixins": [
|
|
6281
|
+
"default": "false",
|
|
6282
|
+
"fieldName": "over"
|
|
6283
|
+
},
|
|
3277
6284
|
{
|
|
3278
|
-
"name": "
|
|
3279
|
-
"
|
|
6285
|
+
"name": "tab-class",
|
|
6286
|
+
"type": {
|
|
6287
|
+
"text": "string"
|
|
6288
|
+
},
|
|
6289
|
+
"default": "''",
|
|
6290
|
+
"fieldName": "tabClass"
|
|
3280
6291
|
}
|
|
3281
6292
|
],
|
|
3282
6293
|
"superclass": {
|
|
3283
6294
|
"name": "LitElement",
|
|
3284
6295
|
"package": "lit"
|
|
3285
6296
|
},
|
|
3286
|
-
"tagName": "w-
|
|
6297
|
+
"tagName": "w-tab",
|
|
3287
6298
|
"customElement": true,
|
|
3288
|
-
"modulePath": "packages/
|
|
3289
|
-
"definitionPath": "packages/
|
|
6299
|
+
"modulePath": "packages/tabs/tab.ts",
|
|
6300
|
+
"definitionPath": "packages/tabs/tab.ts"
|
|
3290
6301
|
}
|
|
3291
6302
|
],
|
|
3292
6303
|
"exports": [
|
|
3293
6304
|
{
|
|
3294
|
-
"kind": "
|
|
3295
|
-
"name": "
|
|
6305
|
+
"kind": "js",
|
|
6306
|
+
"name": "WarpTab",
|
|
3296
6307
|
"declaration": {
|
|
3297
|
-
"name": "
|
|
3298
|
-
"module": "packages/
|
|
6308
|
+
"name": "WarpTab",
|
|
6309
|
+
"module": "packages/tabs/tab.ts"
|
|
3299
6310
|
}
|
|
3300
6311
|
},
|
|
3301
6312
|
{
|
|
3302
|
-
"kind": "
|
|
3303
|
-
"name": "
|
|
6313
|
+
"kind": "custom-element-definition",
|
|
6314
|
+
"name": "w-tab",
|
|
3304
6315
|
"declaration": {
|
|
3305
|
-
"name": "
|
|
3306
|
-
"module": "packages/
|
|
6316
|
+
"name": "WarpTab",
|
|
6317
|
+
"module": "packages/tabs/tab.ts"
|
|
3307
6318
|
}
|
|
3308
6319
|
}
|
|
3309
6320
|
]
|
|
3310
6321
|
},
|
|
3311
6322
|
{
|
|
3312
6323
|
"kind": "javascript-module",
|
|
3313
|
-
"path": "packages/
|
|
6324
|
+
"path": "packages/tabs/tabs.ts",
|
|
3314
6325
|
"declarations": [
|
|
3315
6326
|
{
|
|
3316
6327
|
"kind": "class",
|
|
3317
|
-
"description": "
|
|
3318
|
-
"name": "
|
|
3319
|
-
"slots": [
|
|
3320
|
-
{
|
|
3321
|
-
"description": "For single sliders place a `<w-slider-thumb>` in the default slot.",
|
|
3322
|
-
"name": ""
|
|
3323
|
-
},
|
|
3324
|
-
{
|
|
3325
|
-
"description": "Label for the slider or range slider as a whole.",
|
|
3326
|
-
"name": "label"
|
|
3327
|
-
},
|
|
3328
|
-
{
|
|
3329
|
-
"description": "Optional description between the label and slider.",
|
|
3330
|
-
"name": "description"
|
|
3331
|
-
},
|
|
3332
|
-
{
|
|
3333
|
-
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
3334
|
-
"name": "from"
|
|
3335
|
-
},
|
|
3336
|
-
{
|
|
3337
|
-
"description": "Range sliders need to place a `<w-slider-thumb>` in the from and to slots.",
|
|
3338
|
-
"name": "to"
|
|
3339
|
-
}
|
|
3340
|
-
],
|
|
6328
|
+
"description": "Tabs are used to organize content by grouping similar information on the same page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6329
|
+
"name": "WarpTabs",
|
|
3341
6330
|
"members": [
|
|
3342
6331
|
{
|
|
3343
6332
|
"kind": "field",
|
|
3344
|
-
"name": "
|
|
3345
|
-
"type": {
|
|
3346
|
-
"text": "object"
|
|
3347
|
-
},
|
|
3348
|
-
"static": true,
|
|
3349
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
3350
|
-
},
|
|
3351
|
-
{
|
|
3352
|
-
"kind": "field",
|
|
3353
|
-
"name": "label",
|
|
6333
|
+
"name": "active",
|
|
3354
6334
|
"type": {
|
|
3355
6335
|
"text": "string"
|
|
3356
6336
|
},
|
|
3357
|
-
"
|
|
3358
|
-
"attribute": "
|
|
6337
|
+
"default": "''",
|
|
6338
|
+
"attribute": "active",
|
|
3359
6339
|
"reflects": true
|
|
3360
6340
|
},
|
|
3361
6341
|
{
|
|
3362
6342
|
"kind": "field",
|
|
3363
|
-
"name": "
|
|
6343
|
+
"name": "tabClass",
|
|
3364
6344
|
"type": {
|
|
3365
|
-
"text": "
|
|
6345
|
+
"text": "string"
|
|
3366
6346
|
},
|
|
3367
|
-
"default": "
|
|
3368
|
-
"attribute": "
|
|
6347
|
+
"default": "''",
|
|
6348
|
+
"attribute": "tab-class",
|
|
3369
6349
|
"reflects": true
|
|
3370
6350
|
},
|
|
3371
6351
|
{
|
|
3372
6352
|
"kind": "field",
|
|
3373
|
-
"name": "
|
|
6353
|
+
"name": "tabList",
|
|
3374
6354
|
"type": {
|
|
3375
|
-
"text": "
|
|
6355
|
+
"text": "HTMLElement"
|
|
3376
6356
|
},
|
|
3377
|
-
"
|
|
3378
|
-
"attribute": "invalid",
|
|
3379
|
-
"reflects": true
|
|
6357
|
+
"privacy": "private"
|
|
3380
6358
|
},
|
|
3381
6359
|
{
|
|
3382
6360
|
"kind": "field",
|
|
3383
|
-
"name": "
|
|
6361
|
+
"name": "selectionIndicator",
|
|
3384
6362
|
"type": {
|
|
3385
|
-
"text": "
|
|
6363
|
+
"text": "HTMLElement"
|
|
3386
6364
|
},
|
|
3387
|
-
"
|
|
3388
|
-
"description": "Ensures a child slider thumb has a value before allowing the containing form to submit.",
|
|
3389
|
-
"attribute": "required",
|
|
3390
|
-
"reflects": true
|
|
6365
|
+
"privacy": "private"
|
|
3391
6366
|
},
|
|
3392
6367
|
{
|
|
3393
6368
|
"kind": "field",
|
|
3394
|
-
"name": "
|
|
6369
|
+
"name": "_activeTab",
|
|
3395
6370
|
"type": {
|
|
3396
6371
|
"text": "string"
|
|
3397
6372
|
},
|
|
3398
|
-
"
|
|
3399
|
-
"
|
|
6373
|
+
"privacy": "private",
|
|
6374
|
+
"default": "''"
|
|
3400
6375
|
},
|
|
3401
6376
|
{
|
|
3402
6377
|
"kind": "field",
|
|
3403
|
-
"name": "
|
|
6378
|
+
"name": "_resizeObserver",
|
|
3404
6379
|
"type": {
|
|
3405
|
-
"text": "
|
|
6380
|
+
"text": "ResizeObserver | undefined"
|
|
3406
6381
|
},
|
|
3407
|
-
"
|
|
3408
|
-
"reflects": true
|
|
6382
|
+
"privacy": "private"
|
|
3409
6383
|
},
|
|
3410
6384
|
{
|
|
3411
6385
|
"kind": "field",
|
|
3412
|
-
"name": "
|
|
3413
|
-
"
|
|
3414
|
-
"text": "number"
|
|
3415
|
-
},
|
|
3416
|
-
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
3417
|
-
"attribute": "markers",
|
|
3418
|
-
"reflects": true
|
|
6386
|
+
"name": "_updateSelectionIndicatorDebounced",
|
|
6387
|
+
"privacy": "private"
|
|
3419
6388
|
},
|
|
3420
6389
|
{
|
|
3421
6390
|
"kind": "field",
|
|
3422
|
-
"name": "
|
|
3423
|
-
"
|
|
3424
|
-
"text": "number"
|
|
3425
|
-
},
|
|
3426
|
-
"attribute": "step",
|
|
3427
|
-
"reflects": true
|
|
6391
|
+
"name": "tabs",
|
|
6392
|
+
"readonly": true
|
|
3428
6393
|
},
|
|
3429
6394
|
{
|
|
3430
6395
|
"kind": "field",
|
|
3431
|
-
"name": "
|
|
3432
|
-
"
|
|
3433
|
-
"text": "string"
|
|
3434
|
-
},
|
|
3435
|
-
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
3436
|
-
"attribute": "suffix",
|
|
3437
|
-
"reflects": true
|
|
6396
|
+
"name": "activeTab",
|
|
6397
|
+
"readonly": true
|
|
3438
6398
|
},
|
|
3439
6399
|
{
|
|
3440
|
-
"kind": "
|
|
3441
|
-
"name": "
|
|
3442
|
-
"
|
|
3443
|
-
"text": "(value: string) => string"
|
|
3444
|
-
},
|
|
3445
|
-
"description": "Function to format the to- and from labels and value in the slider thumb tooltip."
|
|
6400
|
+
"kind": "method",
|
|
6401
|
+
"name": "_initializeActiveTab",
|
|
6402
|
+
"privacy": "private"
|
|
3446
6403
|
},
|
|
3447
6404
|
{
|
|
3448
|
-
"kind": "
|
|
3449
|
-
"name": "
|
|
3450
|
-
"privacy": "private"
|
|
3451
|
-
"return": {
|
|
3452
|
-
"type": {
|
|
3453
|
-
"text": "void"
|
|
3454
|
-
}
|
|
3455
|
-
}
|
|
6405
|
+
"kind": "field",
|
|
6406
|
+
"name": "_handleTabClick",
|
|
6407
|
+
"privacy": "private"
|
|
3456
6408
|
},
|
|
3457
6409
|
{
|
|
3458
6410
|
"kind": "method",
|
|
3459
|
-
"name": "
|
|
3460
|
-
"privacy": "private"
|
|
3461
|
-
"parameters": [
|
|
3462
|
-
{
|
|
3463
|
-
"name": "e",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "InputEvent"
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
6411
|
+
"name": "_notifyTabChange",
|
|
6412
|
+
"privacy": "private"
|
|
3469
6413
|
},
|
|
3470
6414
|
{
|
|
3471
6415
|
"kind": "method",
|
|
3472
|
-
"name": "
|
|
3473
|
-
"privacy": "private"
|
|
3474
|
-
"parameters": [
|
|
3475
|
-
{
|
|
3476
|
-
"name": "e",
|
|
3477
|
-
"type": {
|
|
3478
|
-
"text": "CustomEvent"
|
|
3479
|
-
}
|
|
3480
|
-
}
|
|
3481
|
-
]
|
|
6416
|
+
"name": "updateSelectionIndicator",
|
|
6417
|
+
"privacy": "private"
|
|
3482
6418
|
},
|
|
3483
6419
|
{
|
|
3484
6420
|
"kind": "method",
|
|
3485
|
-
"name": "
|
|
3486
|
-
"privacy": "private"
|
|
3487
|
-
"parameters": [
|
|
3488
|
-
{
|
|
3489
|
-
"name": "input",
|
|
3490
|
-
"type": {
|
|
3491
|
-
"text": "WarpSliderThumb"
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
],
|
|
3495
|
-
"description": "We use CSS variables to fill the active track with a background color."
|
|
3496
|
-
}
|
|
3497
|
-
],
|
|
3498
|
-
"attributes": [
|
|
3499
|
-
{
|
|
3500
|
-
"name": "label",
|
|
3501
|
-
"type": {
|
|
3502
|
-
"text": "string"
|
|
3503
|
-
},
|
|
3504
|
-
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
3505
|
-
"fieldName": "label"
|
|
6421
|
+
"name": "updatePanels",
|
|
6422
|
+
"privacy": "private"
|
|
3506
6423
|
},
|
|
3507
6424
|
{
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3511
|
-
},
|
|
3512
|
-
"default": "false",
|
|
3513
|
-
"fieldName": "disabled"
|
|
6425
|
+
"kind": "field",
|
|
6426
|
+
"name": "_handleKeyDown",
|
|
6427
|
+
"privacy": "private"
|
|
3514
6428
|
},
|
|
3515
6429
|
{
|
|
3516
|
-
"
|
|
3517
|
-
"
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
"default": "false",
|
|
3521
|
-
"fieldName": "invalid"
|
|
6430
|
+
"kind": "field",
|
|
6431
|
+
"name": "_tabCount",
|
|
6432
|
+
"privacy": "private",
|
|
6433
|
+
"readonly": true
|
|
3522
6434
|
},
|
|
3523
6435
|
{
|
|
3524
|
-
"
|
|
3525
|
-
"
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
},
|
|
6436
|
+
"kind": "field",
|
|
6437
|
+
"name": "_gridClass",
|
|
6438
|
+
"privacy": "private",
|
|
6439
|
+
"readonly": true
|
|
6440
|
+
}
|
|
6441
|
+
],
|
|
6442
|
+
"events": [
|
|
3532
6443
|
{
|
|
3533
|
-
"name": "
|
|
6444
|
+
"name": "change",
|
|
3534
6445
|
"type": {
|
|
3535
|
-
"text": "
|
|
3536
|
-
}
|
|
3537
|
-
|
|
3538
|
-
|
|
6446
|
+
"text": "CustomEvent"
|
|
6447
|
+
}
|
|
6448
|
+
}
|
|
6449
|
+
],
|
|
6450
|
+
"attributes": [
|
|
3539
6451
|
{
|
|
3540
|
-
"name": "
|
|
6452
|
+
"name": "active",
|
|
3541
6453
|
"type": {
|
|
3542
6454
|
"text": "string"
|
|
3543
6455
|
},
|
|
3544
|
-
"
|
|
3545
|
-
|
|
3546
|
-
{
|
|
3547
|
-
"name": "markers",
|
|
3548
|
-
"type": {
|
|
3549
|
-
"text": "number"
|
|
3550
|
-
},
|
|
3551
|
-
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
3552
|
-
"fieldName": "markers"
|
|
3553
|
-
},
|
|
3554
|
-
{
|
|
3555
|
-
"name": "step",
|
|
3556
|
-
"type": {
|
|
3557
|
-
"text": "number"
|
|
3558
|
-
},
|
|
3559
|
-
"fieldName": "step"
|
|
6456
|
+
"default": "''",
|
|
6457
|
+
"fieldName": "active"
|
|
3560
6458
|
},
|
|
3561
6459
|
{
|
|
3562
|
-
"name": "
|
|
6460
|
+
"name": "tab-class",
|
|
3563
6461
|
"type": {
|
|
3564
6462
|
"text": "string"
|
|
3565
6463
|
},
|
|
3566
|
-
"
|
|
3567
|
-
"fieldName": "
|
|
3568
|
-
}
|
|
3569
|
-
],
|
|
3570
|
-
"mixins": [
|
|
3571
|
-
{
|
|
3572
|
-
"name": "FormControlMixin",
|
|
3573
|
-
"package": "@open-wc/form-control"
|
|
6464
|
+
"default": "''",
|
|
6465
|
+
"fieldName": "tabClass"
|
|
3574
6466
|
}
|
|
3575
6467
|
],
|
|
3576
6468
|
"superclass": {
|
|
3577
6469
|
"name": "LitElement",
|
|
3578
6470
|
"package": "lit"
|
|
3579
6471
|
},
|
|
3580
|
-
"tagName": "w-
|
|
6472
|
+
"tagName": "w-tabs",
|
|
3581
6473
|
"customElement": true,
|
|
3582
|
-
"modulePath": "packages/
|
|
3583
|
-
"definitionPath": "packages/
|
|
6474
|
+
"modulePath": "packages/tabs/tabs.ts",
|
|
6475
|
+
"definitionPath": "packages/tabs/tabs.ts"
|
|
3584
6476
|
}
|
|
3585
6477
|
],
|
|
3586
6478
|
"exports": [
|
|
3587
6479
|
{
|
|
3588
|
-
"kind": "
|
|
3589
|
-
"name": "
|
|
6480
|
+
"kind": "js",
|
|
6481
|
+
"name": "WarpTabs",
|
|
3590
6482
|
"declaration": {
|
|
3591
|
-
"name": "
|
|
3592
|
-
"module": "packages/
|
|
6483
|
+
"name": "WarpTabs",
|
|
6484
|
+
"module": "packages/tabs/tabs.ts"
|
|
3593
6485
|
}
|
|
3594
6486
|
},
|
|
3595
6487
|
{
|
|
3596
|
-
"kind": "
|
|
3597
|
-
"name": "
|
|
6488
|
+
"kind": "custom-element-definition",
|
|
6489
|
+
"name": "w-tabs",
|
|
3598
6490
|
"declaration": {
|
|
3599
|
-
"name": "
|
|
3600
|
-
"module": "packages/
|
|
6491
|
+
"name": "WarpTabs",
|
|
6492
|
+
"module": "packages/tabs/tabs.ts"
|
|
3601
6493
|
}
|
|
3602
6494
|
}
|
|
3603
6495
|
]
|