@warp-ds/elements 2.2.0-next.20 → 2.2.0-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -37
- package/dist/api.js.map +1 -1
- package/dist/custom-elements.json +1118 -977
- package/dist/index.d.ts +183 -162
- package/dist/packages/affix/affix.react.stories.d.ts +9 -0
- package/dist/packages/affix/affix.react.stories.js +10 -0
- package/dist/packages/affix/affix.stories.js +1 -1
- package/dist/packages/affix/index.js +1 -1
- package/dist/packages/affix/index.js.map +4 -4
- package/dist/packages/affix/react.d.ts +1 -1
- package/dist/packages/affix/react.js +10 -3
- package/dist/packages/alert/alert.react.stories.d.ts +13 -0
- package/dist/packages/alert/alert.react.stories.js +44 -0
- package/dist/packages/alert/alert.stories.js +1 -1
- package/dist/packages/alert/alert.test.js +3 -1
- package/dist/packages/alert/index.d.ts +1 -1
- package/dist/packages/alert/index.js +2 -2
- package/dist/packages/alert/index.js.map +4 -4
- package/dist/packages/alert/react.d.ts +1 -1
- package/dist/packages/alert/react.js +6 -3
- package/dist/packages/alert/styles.js +1 -1
- package/dist/packages/attention/attention.react.stories.d.ts +15 -0
- package/dist/packages/attention/attention.react.stories.js +92 -0
- package/dist/packages/attention/attention.stories.d.ts +1 -0
- package/dist/packages/attention/attention.stories.js +31 -39
- package/dist/packages/attention/attention.test.js +1 -1
- package/dist/packages/attention/index.d.ts +3 -2
- package/dist/packages/attention/index.js +238 -17
- package/dist/packages/attention/index.js.map +4 -4
- package/dist/packages/attention/react.d.ts +15 -1
- package/dist/packages/attention/react.js +13 -5
- package/dist/packages/attention/styles.js +1 -1
- package/dist/packages/badge/badge.react.stories.d.ts +18 -0
- package/dist/packages/badge/badge.react.stories.js +60 -0
- package/dist/packages/badge/badge.stories.js +1 -1
- package/dist/packages/badge/index.js +1 -1
- package/dist/packages/badge/index.js.map +4 -4
- package/dist/packages/badge/react.d.ts +1 -1
- package/dist/packages/badge/react.js +6 -3
- package/dist/packages/box/box.react.stories.d.ts +15 -0
- package/dist/packages/box/box.react.stories.js +45 -0
- package/dist/packages/box/box.stories.js +1 -1
- package/dist/packages/box/index.js +3 -3
- package/dist/packages/box/index.js.map +4 -4
- package/dist/packages/box/react.d.ts +1 -1
- package/dist/packages/box/react.js +6 -3
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +13 -0
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.js +40 -0
- package/dist/packages/breadcrumbs/breadcrumbs.stories.js +1 -1
- package/dist/packages/breadcrumbs/index.js +6 -6
- package/dist/packages/breadcrumbs/index.js.map +4 -4
- package/dist/packages/breadcrumbs/react.d.ts +1 -1
- package/dist/packages/breadcrumbs/react.js +6 -3
- package/dist/packages/button/button.react.stories.d.ts +22 -0
- package/dist/packages/button/button.react.stories.js +102 -0
- package/dist/packages/button/button.stories.js +1 -1
- package/dist/packages/button/index.js +2 -2
- package/dist/packages/button/index.js.map +4 -4
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/button/react.js +6 -3
- package/dist/packages/card/card.react.stories.d.ts +16 -0
- package/dist/packages/card/card.react.stories.js +63 -0
- package/dist/packages/card/card.stories.js +2 -2
- package/dist/packages/card/index.d.ts +1 -1
- package/dist/packages/card/index.js +2 -2
- package/dist/packages/card/index.js.map +4 -4
- package/dist/packages/card/react.d.ts +1 -1
- package/dist/packages/card/react.js +6 -3
- 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 +5 -1
- package/dist/packages/combobox/combobox.stories.js +47 -25
- package/dist/packages/combobox/index.d.ts +1 -1
- package/dist/packages/combobox/index.js +4 -4
- package/dist/packages/combobox/index.js.map +4 -4
- package/dist/packages/combobox/react.d.ts +7 -0
- package/dist/packages/combobox/react.js +17 -0
- package/dist/packages/datepicker/DatePicker.test.d.ts +1 -0
- package/dist/packages/datepicker/DatePicker.test.js +3 -2
- package/dist/packages/datepicker/datepicker.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.js +105 -105
- package/dist/packages/datepicker/datepicker.js.map +4 -4
- 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.js +1 -1
- package/dist/packages/datepicker/datepicker.test.js +1 -1
- package/dist/packages/datepicker/index.js +105 -105
- package/dist/packages/datepicker/index.js.map +4 -4
- package/dist/packages/datepicker/react.d.ts +5 -2
- package/dist/packages/datepicker/react.js +10 -3
- 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 +5 -1
- package/dist/packages/dead-toggle/dead-toggle.stories.js +25 -3
- package/dist/packages/dead-toggle/index.js +1 -1
- package/dist/packages/dead-toggle/index.js.map +2 -2
- package/dist/packages/dead-toggle/react.d.ts +1 -1
- package/dist/packages/dead-toggle/react.js +6 -3
- package/dist/packages/expandable/expandable.react.stories.d.ts +18 -0
- package/dist/packages/expandable/expandable.react.stories.js +103 -0
- package/dist/packages/expandable/expandable.stories.js +1 -1
- package/dist/packages/expandable/index.js +2 -2
- package/dist/packages/expandable/index.js.map +4 -4
- package/dist/packages/expandable/react.d.ts +1 -1
- package/dist/packages/expandable/react.js +6 -3
- package/dist/packages/i18n.js +2 -1
- package/dist/packages/link/index.js +1 -1
- package/dist/packages/link/index.js.map +4 -4
- 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.js +1 -12
- package/dist/packages/link/link.test.js +1 -1
- package/dist/packages/link/react.d.ts +1 -1
- package/dist/packages/link/react.js +6 -3
- package/dist/packages/modal/index.js +8 -8
- package/dist/packages/modal/index.js.map +4 -4
- package/dist/packages/modal/modal-footer.js +3 -3
- package/dist/packages/modal/modal-footer.js.map +3 -3
- package/dist/packages/modal/modal-header.js +4 -4
- package/dist/packages/modal/modal-header.js.map +4 -4
- package/dist/packages/modal/modal-main.js.map +1 -1
- package/dist/packages/modal/modal.react.stories.d.ts +14 -0
- package/dist/packages/modal/modal.react.stories.js +27 -0
- package/dist/packages/modal/modal.stories.d.ts +1 -1
- package/dist/packages/modal/modal.stories.js +1 -1
- package/dist/packages/modal/react.d.ts +11 -3
- package/dist/packages/modal/react.js +19 -6
- 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 +1 -1
- package/dist/packages/pageindicator/pageindicator.stories.js +1 -1
- package/dist/packages/pageindicator/react.d.ts +1 -1
- package/dist/packages/pageindicator/react.js +6 -3
- package/dist/packages/pagination/index.js +9 -3
- package/dist/packages/pagination/index.js.map +3 -3
- package/dist/packages/pagination/pagination.react.stories.d.ts +21 -0
- package/dist/packages/pagination/pagination.react.stories.js +45 -0
- package/dist/packages/pagination/pagination.stories.js +6 -6
- package/dist/packages/pagination/pagination.test.js +1 -1
- package/dist/packages/pagination/react.d.ts +5 -2
- package/dist/packages/pagination/react.js +10 -3
- package/dist/packages/pill/index.js +1 -1
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/pill/pill.react.stories.d.ts +23 -0
- package/dist/packages/pill/pill.react.stories.js +22 -0
- package/dist/packages/pill/pill.stories.js +1 -1
- package/dist/packages/pill/pill.test.js +3 -1
- package/dist/packages/pill/react.d.ts +7 -0
- package/dist/packages/pill/react.js +17 -0
- package/dist/packages/pill/styles.js +1 -1
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +5 -5
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +3 -3
- 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.js +5 -5
- package/dist/packages/rip-and-tear-checkbox/index.js.map +3 -3
- 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-radio/index.js +8 -8
- package/dist/packages/rip-and-tear-radio/index.js.map +3 -3
- package/dist/packages/rip-and-tear-radio/radio-group.js +8 -8
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +3 -3
- package/dist/packages/rip-and-tear-radio/radio.js.map +2 -2
- package/dist/packages/rip-and-tear-radio/radio.stories.js +9 -9
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +3 -3
- 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/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.js +3 -3
- package/dist/packages/select/index.d.ts +4 -4
- package/dist/packages/select/index.js +12 -12
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/select/react.d.ts +6 -2
- package/dist/packages/select/react.js +15 -3
- package/dist/packages/select/select.react.stories.d.ts +18 -0
- package/dist/packages/select/select.react.stories.js +28 -0
- package/dist/packages/select/select.stories.js +2 -2
- package/dist/packages/select/select.test.js +1 -1
- package/dist/packages/select/styles.js +1 -1
- package/dist/packages/slider/Slider.js +1 -1
- package/dist/packages/slider/SliderThumb.js +1 -1
- package/dist/packages/slider/index.js +6 -6
- package/dist/packages/slider/index.js.map +4 -4
- package/dist/packages/slider/react.d.ts +8 -0
- package/dist/packages/slider/react.js +20 -0
- package/dist/packages/slider/slider-thumb.js +3 -3
- package/dist/packages/slider/slider-thumb.js.map +4 -4
- package/dist/packages/slider/slider.js +2 -2
- package/dist/packages/slider/slider.js.map +4 -4
- package/dist/packages/slider/slider.react.stories.d.ts +18 -0
- package/dist/packages/slider/slider.react.stories.js +119 -0
- package/dist/packages/slider/slider.stories.js +2 -2
- package/dist/packages/slider/slider.test.js +1 -1
- package/dist/packages/slider/styles.js +1 -1
- package/dist/packages/steps/index.js +2 -2
- package/dist/packages/steps/index.js.map +4 -4
- package/dist/packages/steps/react.d.ts +1 -1
- package/dist/packages/steps/react.js +7 -4
- package/dist/packages/steps/steps.react.stories.d.ts +15 -0
- package/dist/packages/steps/steps.react.stories.js +112 -0
- package/dist/packages/switch/index.js +1 -1
- package/dist/packages/switch/index.js.map +4 -4
- package/dist/packages/switch/react.d.ts +5 -2
- package/dist/packages/switch/react.js +10 -3
- package/dist/packages/switch/switch.react.stories.d.ts +15 -0
- package/dist/packages/switch/switch.react.stories.js +29 -0
- package/dist/packages/tabs/index.d.ts +1 -1
- package/dist/packages/tabs/index.js +12 -12
- package/dist/packages/tabs/index.js.map +4 -4
- package/dist/packages/tabs/react.d.ts +11 -3
- package/dist/packages/tabs/react.js +18 -5
- package/dist/packages/tabs/tab-panel.js.map +2 -2
- package/dist/packages/tabs/tab.js +1 -1
- package/dist/packages/tabs/tab.js.map +4 -4
- package/dist/packages/tabs/tabs.d.ts +2 -0
- package/dist/packages/tabs/tabs.js +4 -4
- package/dist/packages/tabs/tabs.js.map +4 -4
- 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.js +12 -12
- package/dist/packages/tabs/tabs.stories.js.map +4 -4
- package/dist/packages/textfield/index.js +2 -2
- package/dist/packages/textfield/index.js.map +4 -4
- package/dist/packages/textfield/react.d.ts +11 -2
- package/dist/packages/textfield/react.js +16 -3
- package/dist/packages/textfield/styles.js +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +37 -0
- package/dist/packages/textfield/textfield.react.stories.js +88 -0
- package/dist/packages/textfield/textfield.stories.js +1 -1
- package/dist/packages/textfield/textfield.test.js +1 -1
- package/dist/packages/toast/api.d.ts +1 -1
- package/dist/packages/toast/index.d.ts +1 -1
- package/dist/packages/toast/index.js +14 -14
- package/dist/packages/toast/index.js.map +4 -4
- package/dist/packages/toast/toast-container.d.ts +1 -1
- package/dist/packages/toast/toast-container.js +2454 -149
- package/dist/packages/toast/toast-container.js.map +7 -0
- package/dist/packages/toast/toast.js +2459 -193
- package/dist/packages/toast/toast.js.map +7 -0
- package/dist/packages/toast/toast.stories.js +1 -1
- package/dist/packages/utils/expand-transition.js +1 -1
- package/dist/vscode.html-custom-data.json +83 -78
- package/dist/web-types.json +135 -127
- package/package.json +22 -21
|
@@ -333,1169 +333,1169 @@
|
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"kind": "javascript-module",
|
|
336
|
-
"path": "packages/
|
|
336
|
+
"path": "packages/link/index.ts",
|
|
337
337
|
"declarations": [
|
|
338
|
-
{
|
|
339
|
-
"kind": "variable",
|
|
340
|
-
"name": "ccAttention",
|
|
341
|
-
"type": {
|
|
342
|
-
"text": "object"
|
|
343
|
-
},
|
|
344
|
-
"default": "{ base: 'border-2 relative flex items-start', tooltip: 's-bg-inverted border-[--w-s-color-background-inverted] shadow-m s-text-inverted-static rounded-4 py-6 px-8', callout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8', highlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8 drop-shadow-m translate-z-0', popover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300] s-text rounded-8 p-16 drop-shadow-m translate-z-0', arrowBase: 'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform', arrowDirectionLeftStart: '-left-[8px]', arrowDirectionLeft: '-left-[8px]', arrowDirectionLeftEnd: '-left-[8px]', arrowDirectionRightStart: '-right-[8px]', arrowDirectionRight: '-right-[8px]', arrowDirectionRightEnd: '-right-[8px]', arrowDirectionBottomStart: '-bottom-[8px]', arrowDirectionBottom: '-bottom-[8px]', arrowDirectionBottomEnd: '-bottom-[8px]', arrowDirectionTopStart: '-top-[8px]', arrowDirectionTop: '-top-[8px]', arrowDirectionTopEnd: '-top-[8px]', arrowTooltip: 's-bg-inverted border-[--w-s-color-background-inverted]', arrowCallout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', arrowPopover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300]', arrowHighlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', content: 'last-child:mb-0', notCallout: 'absolute z-50', closeBtn: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} justify-self-end -mr-8 ml-8`, }"
|
|
345
|
-
},
|
|
346
338
|
{
|
|
347
339
|
"kind": "class",
|
|
348
|
-
"description": "",
|
|
349
|
-
"name": "
|
|
340
|
+
"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)",
|
|
341
|
+
"name": "WarpLink",
|
|
350
342
|
"members": [
|
|
351
343
|
{
|
|
352
344
|
"kind": "field",
|
|
353
|
-
"name": "
|
|
354
|
-
"type": {
|
|
355
|
-
"text": "boolean"
|
|
356
|
-
},
|
|
357
|
-
"default": "false",
|
|
358
|
-
"attribute": "show",
|
|
359
|
-
"reflects": true
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"kind": "field",
|
|
363
|
-
"name": "placement",
|
|
345
|
+
"name": "shadowRootOptions",
|
|
364
346
|
"type": {
|
|
365
|
-
"text": "
|
|
347
|
+
"text": "object"
|
|
366
348
|
},
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"reflects": true
|
|
349
|
+
"static": true,
|
|
350
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
370
351
|
},
|
|
371
352
|
{
|
|
372
353
|
"kind": "field",
|
|
373
|
-
"name": "
|
|
354
|
+
"name": "autofocus",
|
|
374
355
|
"type": {
|
|
375
356
|
"text": "boolean"
|
|
376
357
|
},
|
|
377
|
-
"
|
|
378
|
-
"attribute": "tooltip",
|
|
358
|
+
"attribute": "autofocus",
|
|
379
359
|
"reflects": true
|
|
380
360
|
},
|
|
381
361
|
{
|
|
382
362
|
"kind": "field",
|
|
383
|
-
"name": "
|
|
363
|
+
"name": "variant",
|
|
384
364
|
"type": {
|
|
385
|
-
"text": "
|
|
365
|
+
"text": "ButtonVariant"
|
|
386
366
|
},
|
|
387
|
-
"default": "
|
|
388
|
-
"attribute": "
|
|
389
|
-
"reflects": true
|
|
367
|
+
"default": "'secondary'",
|
|
368
|
+
"attribute": "variant",
|
|
369
|
+
"reflects": true,
|
|
370
|
+
"parsedType": {
|
|
371
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
372
|
+
}
|
|
390
373
|
},
|
|
391
374
|
{
|
|
392
375
|
"kind": "field",
|
|
393
|
-
"name": "
|
|
376
|
+
"name": "quiet",
|
|
394
377
|
"type": {
|
|
395
378
|
"text": "boolean"
|
|
396
379
|
},
|
|
397
|
-
"
|
|
398
|
-
"attribute": "popover",
|
|
380
|
+
"attribute": "quiet",
|
|
399
381
|
"reflects": true
|
|
400
382
|
},
|
|
401
383
|
{
|
|
402
384
|
"kind": "field",
|
|
403
|
-
"name": "
|
|
385
|
+
"name": "small",
|
|
404
386
|
"type": {
|
|
405
387
|
"text": "boolean"
|
|
406
388
|
},
|
|
407
|
-
"
|
|
408
|
-
"attribute": "highlight",
|
|
389
|
+
"attribute": "small",
|
|
409
390
|
"reflects": true
|
|
410
391
|
},
|
|
411
392
|
{
|
|
412
393
|
"kind": "field",
|
|
413
|
-
"name": "
|
|
394
|
+
"name": "href",
|
|
414
395
|
"type": {
|
|
415
|
-
"text": "
|
|
396
|
+
"text": "string"
|
|
416
397
|
},
|
|
417
|
-
"
|
|
418
|
-
"attribute": "can-close",
|
|
398
|
+
"attribute": "href",
|
|
419
399
|
"reflects": true
|
|
420
400
|
},
|
|
421
401
|
{
|
|
422
402
|
"kind": "field",
|
|
423
|
-
"name": "
|
|
403
|
+
"name": "disabled",
|
|
424
404
|
"type": {
|
|
425
405
|
"text": "boolean"
|
|
426
406
|
},
|
|
427
|
-
"
|
|
428
|
-
"attribute": "no-arrow",
|
|
407
|
+
"attribute": "disabled",
|
|
429
408
|
"reflects": true
|
|
430
409
|
},
|
|
431
410
|
{
|
|
432
411
|
"kind": "field",
|
|
433
|
-
"name": "
|
|
412
|
+
"name": "target",
|
|
434
413
|
"type": {
|
|
435
|
-
"text": "
|
|
414
|
+
"text": "string"
|
|
436
415
|
},
|
|
437
|
-
"
|
|
438
|
-
"attribute": "distance",
|
|
416
|
+
"attribute": "target",
|
|
439
417
|
"reflects": true
|
|
440
418
|
},
|
|
441
419
|
{
|
|
442
420
|
"kind": "field",
|
|
443
|
-
"name": "
|
|
421
|
+
"name": "rel",
|
|
444
422
|
"type": {
|
|
445
|
-
"text": "
|
|
423
|
+
"text": "string"
|
|
446
424
|
},
|
|
447
|
-
"
|
|
448
|
-
"attribute": "skidding",
|
|
425
|
+
"attribute": "rel",
|
|
449
426
|
"reflects": true
|
|
450
427
|
},
|
|
451
428
|
{
|
|
452
429
|
"kind": "field",
|
|
453
|
-
"name": "
|
|
430
|
+
"name": "fullWidth",
|
|
454
431
|
"type": {
|
|
455
432
|
"text": "boolean"
|
|
456
433
|
},
|
|
457
|
-
"
|
|
458
|
-
"attribute": "flip",
|
|
434
|
+
"attribute": "full-width",
|
|
459
435
|
"reflects": true
|
|
460
436
|
},
|
|
461
437
|
{
|
|
462
438
|
"kind": "field",
|
|
463
|
-
"name": "
|
|
439
|
+
"name": "buttonClass",
|
|
464
440
|
"type": {
|
|
465
|
-
"text": "
|
|
441
|
+
"text": "string"
|
|
466
442
|
},
|
|
467
|
-
"
|
|
468
|
-
"attribute": "cross-axis",
|
|
443
|
+
"attribute": "button-class",
|
|
469
444
|
"reflects": true
|
|
470
445
|
},
|
|
471
446
|
{
|
|
472
447
|
"kind": "field",
|
|
473
|
-
"name": "
|
|
448
|
+
"name": "name",
|
|
474
449
|
"type": {
|
|
475
|
-
"text": "
|
|
450
|
+
"text": "string"
|
|
476
451
|
},
|
|
477
|
-
"attribute": "
|
|
452
|
+
"attribute": "name",
|
|
478
453
|
"reflects": true
|
|
479
454
|
},
|
|
480
455
|
{
|
|
481
|
-
"kind": "
|
|
482
|
-
"name": "
|
|
483
|
-
"type": {
|
|
484
|
-
"text": "handleDone() => void"
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"kind": "method",
|
|
489
|
-
"name": "pointingAtDirection",
|
|
490
|
-
"type": {
|
|
491
|
-
"text": "pointingAtDirection() => void"
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
"kind": "method",
|
|
496
|
-
"name": "activeAttentionType",
|
|
497
|
-
"type": {
|
|
498
|
-
"text": "activeAttentionType() => void"
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
"kind": "method",
|
|
503
|
-
"name": "defaultAriaLabel",
|
|
504
|
-
"type": {
|
|
505
|
-
"text": "defaultAriaLabel() => void"
|
|
506
|
-
}
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
"kind": "method",
|
|
510
|
-
"name": "setAriaLabels",
|
|
511
|
-
"type": {
|
|
512
|
-
"text": "setAriaLabels() => void"
|
|
513
|
-
}
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
"kind": "method",
|
|
517
|
-
"name": "close",
|
|
518
|
-
"type": {
|
|
519
|
-
"text": "close() => void"
|
|
520
|
-
}
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"kind": "method",
|
|
524
|
-
"name": "keypressed",
|
|
525
|
-
"parameters": [
|
|
526
|
-
{
|
|
527
|
-
"name": "e",
|
|
528
|
-
"type": {
|
|
529
|
-
"text": "KeyboardEvent"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
],
|
|
456
|
+
"kind": "field",
|
|
457
|
+
"name": "classes",
|
|
533
458
|
"type": {
|
|
534
|
-
"text": "
|
|
459
|
+
"text": "string"
|
|
535
460
|
}
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"kind": "field",
|
|
539
|
-
"name": "_initialPlacement"
|
|
540
|
-
},
|
|
541
|
-
{
|
|
542
|
-
"kind": "field",
|
|
543
|
-
"name": "_actualDirection"
|
|
544
461
|
}
|
|
545
462
|
],
|
|
546
463
|
"attributes": [
|
|
547
464
|
{
|
|
548
|
-
"name": "
|
|
549
|
-
"type": {
|
|
550
|
-
"text": "boolean"
|
|
551
|
-
},
|
|
552
|
-
"default": "false",
|
|
553
|
-
"fieldName": "show"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "placement",
|
|
557
|
-
"type": {
|
|
558
|
-
"text": "Directions"
|
|
559
|
-
},
|
|
560
|
-
"default": "'bottom'",
|
|
561
|
-
"fieldName": "placement"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"name": "tooltip",
|
|
465
|
+
"name": "autofocus",
|
|
565
466
|
"type": {
|
|
566
467
|
"text": "boolean"
|
|
567
468
|
},
|
|
568
|
-
"
|
|
569
|
-
"fieldName": "tooltip"
|
|
469
|
+
"fieldName": "autofocus"
|
|
570
470
|
},
|
|
571
471
|
{
|
|
572
|
-
"name": "
|
|
472
|
+
"name": "variant",
|
|
573
473
|
"type": {
|
|
574
|
-
"text": "
|
|
474
|
+
"text": "ButtonVariant"
|
|
575
475
|
},
|
|
576
|
-
"default": "
|
|
577
|
-
"fieldName": "
|
|
476
|
+
"default": "'secondary'",
|
|
477
|
+
"fieldName": "variant",
|
|
478
|
+
"parsedType": {
|
|
479
|
+
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
480
|
+
}
|
|
578
481
|
},
|
|
579
482
|
{
|
|
580
|
-
"name": "
|
|
483
|
+
"name": "quiet",
|
|
581
484
|
"type": {
|
|
582
485
|
"text": "boolean"
|
|
583
486
|
},
|
|
584
|
-
"
|
|
585
|
-
"fieldName": "popover"
|
|
487
|
+
"fieldName": "quiet"
|
|
586
488
|
},
|
|
587
489
|
{
|
|
588
|
-
"name": "
|
|
490
|
+
"name": "small",
|
|
589
491
|
"type": {
|
|
590
492
|
"text": "boolean"
|
|
591
493
|
},
|
|
592
|
-
"
|
|
593
|
-
"fieldName": "highlight"
|
|
494
|
+
"fieldName": "small"
|
|
594
495
|
},
|
|
595
496
|
{
|
|
596
|
-
"name": "
|
|
497
|
+
"name": "href",
|
|
597
498
|
"type": {
|
|
598
|
-
"text": "
|
|
499
|
+
"text": "string"
|
|
599
500
|
},
|
|
600
|
-
"
|
|
601
|
-
"fieldName": "canClose"
|
|
501
|
+
"fieldName": "href"
|
|
602
502
|
},
|
|
603
503
|
{
|
|
604
|
-
"name": "
|
|
504
|
+
"name": "disabled",
|
|
605
505
|
"type": {
|
|
606
506
|
"text": "boolean"
|
|
607
507
|
},
|
|
608
|
-
"
|
|
609
|
-
"fieldName": "noArrow"
|
|
508
|
+
"fieldName": "disabled"
|
|
610
509
|
},
|
|
611
510
|
{
|
|
612
|
-
"name": "
|
|
511
|
+
"name": "target",
|
|
613
512
|
"type": {
|
|
614
|
-
"text": "
|
|
513
|
+
"text": "string"
|
|
615
514
|
},
|
|
616
|
-
"
|
|
617
|
-
"fieldName": "distance"
|
|
515
|
+
"fieldName": "target"
|
|
618
516
|
},
|
|
619
517
|
{
|
|
620
|
-
"name": "
|
|
518
|
+
"name": "rel",
|
|
621
519
|
"type": {
|
|
622
|
-
"text": "
|
|
520
|
+
"text": "string"
|
|
623
521
|
},
|
|
624
|
-
"
|
|
625
|
-
"fieldName": "skidding"
|
|
522
|
+
"fieldName": "rel"
|
|
626
523
|
},
|
|
627
524
|
{
|
|
628
|
-
"name": "
|
|
525
|
+
"name": "full-width",
|
|
629
526
|
"type": {
|
|
630
527
|
"text": "boolean"
|
|
631
528
|
},
|
|
632
|
-
"
|
|
633
|
-
"fieldName": "flip"
|
|
529
|
+
"fieldName": "fullWidth"
|
|
634
530
|
},
|
|
635
531
|
{
|
|
636
|
-
"name": "
|
|
532
|
+
"name": "button-class",
|
|
637
533
|
"type": {
|
|
638
|
-
"text": "
|
|
534
|
+
"text": "string"
|
|
639
535
|
},
|
|
640
|
-
"
|
|
641
|
-
"fieldName": "crossAxis"
|
|
536
|
+
"fieldName": "buttonClass"
|
|
642
537
|
},
|
|
643
538
|
{
|
|
644
|
-
"name": "
|
|
539
|
+
"name": "name",
|
|
645
540
|
"type": {
|
|
646
|
-
"text": "
|
|
541
|
+
"text": "string"
|
|
647
542
|
},
|
|
648
|
-
"fieldName": "
|
|
543
|
+
"fieldName": "name"
|
|
649
544
|
}
|
|
650
545
|
],
|
|
651
|
-
"
|
|
546
|
+
"mixins": [
|
|
547
|
+
{
|
|
548
|
+
"name": "FormControlMixin",
|
|
549
|
+
"package": "@open-wc/form-control"
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
"superclass": {
|
|
652
553
|
"name": "LitElement",
|
|
653
554
|
"package": "lit"
|
|
654
555
|
},
|
|
655
|
-
"tagName": "w-
|
|
556
|
+
"tagName": "w-link",
|
|
656
557
|
"customElement": true,
|
|
657
|
-
"modulePath": "packages/
|
|
658
|
-
"definitionPath": "packages/
|
|
558
|
+
"modulePath": "packages/link/index.ts",
|
|
559
|
+
"definitionPath": "packages/link/index.ts"
|
|
659
560
|
}
|
|
660
561
|
],
|
|
661
562
|
"exports": [
|
|
662
|
-
{
|
|
663
|
-
"kind": "js",
|
|
664
|
-
"name": "ccAttention",
|
|
665
|
-
"declaration": {
|
|
666
|
-
"name": "ccAttention",
|
|
667
|
-
"module": "packages/attention/index.ts"
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
563
|
{
|
|
671
564
|
"kind": "custom-element-definition",
|
|
672
|
-
"name": "w-
|
|
565
|
+
"name": "w-link",
|
|
673
566
|
"declaration": {
|
|
674
|
-
"name": "
|
|
675
|
-
"module": "packages/
|
|
567
|
+
"name": "WarpLink",
|
|
568
|
+
"module": "packages/link/index.ts"
|
|
676
569
|
}
|
|
677
570
|
},
|
|
678
571
|
{
|
|
679
572
|
"kind": "js",
|
|
680
|
-
"name": "
|
|
573
|
+
"name": "WarpLink",
|
|
681
574
|
"declaration": {
|
|
682
|
-
"name": "
|
|
683
|
-
"module": "packages/
|
|
575
|
+
"name": "WarpLink",
|
|
576
|
+
"module": "packages/link/index.ts"
|
|
684
577
|
}
|
|
685
578
|
}
|
|
686
579
|
]
|
|
687
580
|
},
|
|
688
581
|
{
|
|
689
582
|
"kind": "javascript-module",
|
|
690
|
-
"path": "packages/
|
|
583
|
+
"path": "packages/button/index.ts",
|
|
691
584
|
"declarations": [
|
|
585
|
+
{
|
|
586
|
+
"kind": "variable",
|
|
587
|
+
"name": "ccButton",
|
|
588
|
+
"type": {
|
|
589
|
+
"text": "object"
|
|
590
|
+
},
|
|
591
|
+
"default": "{ // Buttontypes secondary: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, // .button--secondary, .button--default, .button secondaryHref: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondaryDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondarySmall: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondarySmallDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondaryQuiet: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondaryQuietDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondarySmallQuiet: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondarySmallQuietDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondaryLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallQuietLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, secondaryQuietLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, primary: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.primary} ${buttonColors.primary}`, // .button--primary, .button--cta primaryDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.isDisabled} ${buttonTypes.primary}`, primarySmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.primary} ${buttonColors.primary}`, primarySmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.isDisabled} ${buttonTypes.primary} `, primaryQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, primaryQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primarySmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, primarySmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primaryLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primaryQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, utility: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonColors.utility}`, // .button--utility utilityDisabled: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilityQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, // .button--utility-flat utilityQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilitySmall: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonColors.utility}`, utilitySmallDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilitySmallQuiet: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, utilitySmallQuietDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilityLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilitySmallLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilityQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, utilitySmallQuietLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, negative: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonColors.destructive}`, // .button--destructive negativeDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, // .button--destructive-flat negativeQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet}${buttonVariants.isDisabled}`, negativeSmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonColors.destructive}`, negativeSmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeSmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, negativeSmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.isDisabled}`, negativeLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.negative}`, negativeQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.inProgress}`, pill: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill}`, // .button--pill pillSmall: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonColors.pill}`, pillLoading: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonVariants.inProgress}`, pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`, link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`, linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`, linkAsButton: 'inline-block active:no-underline hover:no-underline focus:no-underline text-center', a11y: 'sr-only', fullWidth: 'w-full max-w-full', contentWidth: 'max-w-max', }"
|
|
592
|
+
},
|
|
692
593
|
{
|
|
693
594
|
"kind": "class",
|
|
694
|
-
"description": "
|
|
695
|
-
"name": "
|
|
595
|
+
"description": "Buttons are used to perform actions, widh different visuals for different needs.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-button--docs)",
|
|
596
|
+
"name": "WarpButton",
|
|
696
597
|
"members": [
|
|
697
598
|
{
|
|
698
599
|
"kind": "field",
|
|
699
|
-
"name": "
|
|
600
|
+
"name": "shadowRootOptions",
|
|
700
601
|
"type": {
|
|
701
|
-
"text": "
|
|
602
|
+
"text": "object"
|
|
702
603
|
},
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"reflects": true
|
|
604
|
+
"static": true,
|
|
605
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
706
606
|
},
|
|
707
607
|
{
|
|
708
608
|
"kind": "field",
|
|
709
|
-
"name": "
|
|
609
|
+
"name": "type",
|
|
710
610
|
"type": {
|
|
711
|
-
"text": "
|
|
611
|
+
"text": "ButtonType"
|
|
712
612
|
},
|
|
713
|
-
"
|
|
613
|
+
"default": "'button'",
|
|
614
|
+
"attribute": "type",
|
|
615
|
+
"reflects": true,
|
|
616
|
+
"parsedType": {
|
|
617
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"kind": "field",
|
|
622
|
+
"name": "autofocus",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "boolean"
|
|
625
|
+
},
|
|
626
|
+
"attribute": "autofocus",
|
|
714
627
|
"reflects": true
|
|
715
|
-
}
|
|
716
|
-
],
|
|
717
|
-
"attributes": [
|
|
628
|
+
},
|
|
718
629
|
{
|
|
630
|
+
"kind": "field",
|
|
719
631
|
"name": "variant",
|
|
720
632
|
"type": {
|
|
721
|
-
"text": "
|
|
633
|
+
"text": "ButtonVariant"
|
|
722
634
|
},
|
|
723
|
-
"default": "'
|
|
724
|
-
"
|
|
635
|
+
"default": "'secondary'",
|
|
636
|
+
"attribute": "variant",
|
|
637
|
+
"reflects": true,
|
|
638
|
+
"parsedType": {
|
|
639
|
+
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
640
|
+
}
|
|
725
641
|
},
|
|
726
642
|
{
|
|
727
|
-
"
|
|
643
|
+
"kind": "field",
|
|
644
|
+
"name": "quiet",
|
|
728
645
|
"type": {
|
|
729
|
-
"text": "
|
|
646
|
+
"text": "boolean"
|
|
730
647
|
},
|
|
731
|
-
"
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
"superclass": {
|
|
735
|
-
"name": "LitElement",
|
|
736
|
-
"package": "lit"
|
|
737
|
-
},
|
|
738
|
-
"tagName": "w-badge",
|
|
739
|
-
"customElement": true,
|
|
740
|
-
"modulePath": "packages/badge/index.ts",
|
|
741
|
-
"definitionPath": "packages/badge/index.ts"
|
|
742
|
-
}
|
|
743
|
-
],
|
|
744
|
-
"exports": [
|
|
745
|
-
{
|
|
746
|
-
"kind": "custom-element-definition",
|
|
747
|
-
"name": "w-badge",
|
|
748
|
-
"declaration": {
|
|
749
|
-
"name": "WarpBadge",
|
|
750
|
-
"module": "packages/badge/index.ts"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"kind": "js",
|
|
755
|
-
"name": "WarpBadge",
|
|
756
|
-
"declaration": {
|
|
757
|
-
"name": "WarpBadge",
|
|
758
|
-
"module": "packages/badge/index.ts"
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
]
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
"kind": "javascript-module",
|
|
765
|
-
"path": "packages/box/index.ts",
|
|
766
|
-
"declarations": [
|
|
767
|
-
{
|
|
768
|
-
"kind": "class",
|
|
769
|
-
"description": "Box is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)",
|
|
770
|
-
"name": "WarpBox",
|
|
771
|
-
"members": [
|
|
648
|
+
"attribute": "quiet",
|
|
649
|
+
"reflects": true
|
|
650
|
+
},
|
|
772
651
|
{
|
|
773
652
|
"kind": "field",
|
|
774
|
-
"name": "
|
|
653
|
+
"name": "small",
|
|
775
654
|
"type": {
|
|
776
655
|
"text": "boolean"
|
|
777
656
|
},
|
|
778
|
-
"attribute": "
|
|
657
|
+
"attribute": "small",
|
|
779
658
|
"reflects": true
|
|
780
659
|
},
|
|
781
660
|
{
|
|
782
661
|
"kind": "field",
|
|
783
|
-
"name": "
|
|
662
|
+
"name": "loading",
|
|
784
663
|
"type": {
|
|
785
664
|
"text": "boolean"
|
|
786
665
|
},
|
|
787
|
-
"attribute": "
|
|
666
|
+
"attribute": "loading",
|
|
788
667
|
"reflects": true
|
|
789
668
|
},
|
|
790
669
|
{
|
|
791
670
|
"kind": "field",
|
|
792
|
-
"name": "
|
|
671
|
+
"name": "href",
|
|
793
672
|
"type": {
|
|
794
|
-
"text": "
|
|
673
|
+
"text": "string"
|
|
795
674
|
},
|
|
796
|
-
"attribute": "
|
|
675
|
+
"attribute": "href",
|
|
797
676
|
"reflects": true
|
|
798
677
|
},
|
|
799
678
|
{
|
|
800
679
|
"kind": "field",
|
|
801
|
-
"name": "
|
|
680
|
+
"name": "target",
|
|
681
|
+
"type": {
|
|
682
|
+
"text": "string"
|
|
683
|
+
},
|
|
684
|
+
"attribute": "target",
|
|
685
|
+
"reflects": true
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"kind": "field",
|
|
689
|
+
"name": "rel",
|
|
690
|
+
"type": {
|
|
691
|
+
"text": "string"
|
|
692
|
+
},
|
|
693
|
+
"attribute": "rel",
|
|
694
|
+
"reflects": true
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"kind": "field",
|
|
698
|
+
"name": "fullWidth",
|
|
802
699
|
"type": {
|
|
803
700
|
"text": "boolean"
|
|
804
701
|
},
|
|
805
|
-
"attribute": "
|
|
702
|
+
"attribute": "full-width",
|
|
806
703
|
"reflects": true
|
|
807
704
|
},
|
|
808
705
|
{
|
|
809
706
|
"kind": "field",
|
|
810
|
-
"name": "
|
|
707
|
+
"name": "buttonClass",
|
|
811
708
|
"type": {
|
|
812
709
|
"text": "string"
|
|
813
710
|
},
|
|
814
|
-
"attribute": "
|
|
711
|
+
"attribute": "button-class",
|
|
712
|
+
"reflects": true
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"kind": "field",
|
|
716
|
+
"name": "name",
|
|
717
|
+
"type": {
|
|
718
|
+
"text": "string"
|
|
719
|
+
},
|
|
720
|
+
"attribute": "name",
|
|
815
721
|
"reflects": true
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"kind": "field",
|
|
725
|
+
"name": "value",
|
|
726
|
+
"type": {
|
|
727
|
+
"text": "string"
|
|
728
|
+
},
|
|
729
|
+
"attribute": "value",
|
|
730
|
+
"reflects": true
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "field",
|
|
734
|
+
"name": "ariaValueTextLoading"
|
|
816
735
|
}
|
|
817
736
|
],
|
|
818
737
|
"attributes": [
|
|
819
738
|
{
|
|
820
|
-
"name": "
|
|
739
|
+
"name": "type",
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "ButtonType"
|
|
742
|
+
},
|
|
743
|
+
"default": "'button'",
|
|
744
|
+
"fieldName": "type",
|
|
745
|
+
"parsedType": {
|
|
746
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "autofocus",
|
|
821
751
|
"type": {
|
|
822
752
|
"text": "boolean"
|
|
823
753
|
},
|
|
824
|
-
"fieldName": "
|
|
754
|
+
"fieldName": "autofocus"
|
|
825
755
|
},
|
|
826
756
|
{
|
|
827
|
-
"name": "
|
|
757
|
+
"name": "variant",
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "ButtonVariant"
|
|
760
|
+
},
|
|
761
|
+
"default": "'secondary'",
|
|
762
|
+
"fieldName": "variant",
|
|
763
|
+
"parsedType": {
|
|
764
|
+
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "quiet",
|
|
828
769
|
"type": {
|
|
829
770
|
"text": "boolean"
|
|
830
771
|
},
|
|
831
|
-
"fieldName": "
|
|
772
|
+
"fieldName": "quiet"
|
|
832
773
|
},
|
|
833
774
|
{
|
|
834
|
-
"name": "
|
|
775
|
+
"name": "small",
|
|
835
776
|
"type": {
|
|
836
777
|
"text": "boolean"
|
|
837
778
|
},
|
|
838
|
-
"fieldName": "
|
|
779
|
+
"fieldName": "small"
|
|
839
780
|
},
|
|
840
781
|
{
|
|
841
|
-
"name": "
|
|
782
|
+
"name": "loading",
|
|
842
783
|
"type": {
|
|
843
784
|
"text": "boolean"
|
|
844
785
|
},
|
|
845
|
-
"fieldName": "
|
|
786
|
+
"fieldName": "loading"
|
|
846
787
|
},
|
|
847
788
|
{
|
|
848
|
-
"name": "
|
|
789
|
+
"name": "href",
|
|
849
790
|
"type": {
|
|
850
791
|
"text": "string"
|
|
851
792
|
},
|
|
852
|
-
"fieldName": "
|
|
853
|
-
}
|
|
854
|
-
],
|
|
855
|
-
"superclass": {
|
|
856
|
-
"name": "LitElement",
|
|
857
|
-
"package": "lit"
|
|
858
|
-
},
|
|
859
|
-
"tagName": "w-box",
|
|
860
|
-
"customElement": true,
|
|
861
|
-
"modulePath": "packages/box/index.ts",
|
|
862
|
-
"definitionPath": "packages/box/index.ts"
|
|
863
|
-
}
|
|
864
|
-
],
|
|
865
|
-
"exports": [
|
|
866
|
-
{
|
|
867
|
-
"kind": "custom-element-definition",
|
|
868
|
-
"name": "w-box",
|
|
869
|
-
"declaration": {
|
|
870
|
-
"name": "WarpBox",
|
|
871
|
-
"module": "packages/box/index.ts"
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"kind": "js",
|
|
876
|
-
"name": "WarpBox",
|
|
877
|
-
"declaration": {
|
|
878
|
-
"name": "WarpBox",
|
|
879
|
-
"module": "packages/box/index.ts"
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
]
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"kind": "javascript-module",
|
|
886
|
-
"path": "packages/breadcrumbs/index.ts",
|
|
887
|
-
"declarations": [
|
|
888
|
-
{
|
|
889
|
-
"kind": "variable",
|
|
890
|
-
"name": "ccBreadcrumbs",
|
|
891
|
-
"type": {
|
|
892
|
-
"text": "object"
|
|
893
|
-
},
|
|
894
|
-
"default": "{ wrapper: 'flex space-x-8', text: 's-text', link: 's-text-link', separator: 'select-none s-icon', a11y: 'sr-only', }"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"kind": "class",
|
|
898
|
-
"description": "Breadcrumbs show the navigation structure for the current location.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)",
|
|
899
|
-
"name": "WarpBreadcrumbs",
|
|
900
|
-
"members": [
|
|
793
|
+
"fieldName": "href"
|
|
794
|
+
},
|
|
901
795
|
{
|
|
902
|
-
"
|
|
903
|
-
"name": "ariaLabel",
|
|
796
|
+
"name": "target",
|
|
904
797
|
"type": {
|
|
905
798
|
"text": "string"
|
|
906
799
|
},
|
|
907
|
-
"
|
|
908
|
-
}
|
|
909
|
-
],
|
|
910
|
-
"attributes": [
|
|
800
|
+
"fieldName": "target"
|
|
801
|
+
},
|
|
911
802
|
{
|
|
912
|
-
"name": "
|
|
803
|
+
"name": "rel",
|
|
913
804
|
"type": {
|
|
914
805
|
"text": "string"
|
|
915
806
|
},
|
|
916
|
-
"fieldName": "
|
|
807
|
+
"fieldName": "rel"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"name": "full-width",
|
|
811
|
+
"type": {
|
|
812
|
+
"text": "boolean"
|
|
813
|
+
},
|
|
814
|
+
"fieldName": "fullWidth"
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
"name": "button-class",
|
|
818
|
+
"type": {
|
|
819
|
+
"text": "string"
|
|
820
|
+
},
|
|
821
|
+
"fieldName": "buttonClass"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "name",
|
|
825
|
+
"type": {
|
|
826
|
+
"text": "string"
|
|
827
|
+
},
|
|
828
|
+
"fieldName": "name"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "value",
|
|
832
|
+
"type": {
|
|
833
|
+
"text": "string"
|
|
834
|
+
},
|
|
835
|
+
"fieldName": "value"
|
|
836
|
+
}
|
|
837
|
+
],
|
|
838
|
+
"mixins": [
|
|
839
|
+
{
|
|
840
|
+
"name": "FormControlMixin",
|
|
841
|
+
"package": "@open-wc/form-control"
|
|
917
842
|
}
|
|
918
843
|
],
|
|
919
844
|
"superclass": {
|
|
920
845
|
"name": "LitElement",
|
|
921
846
|
"package": "lit"
|
|
922
847
|
},
|
|
923
|
-
"tagName": "w-
|
|
848
|
+
"tagName": "w-button",
|
|
924
849
|
"customElement": true,
|
|
925
|
-
"modulePath": "packages/
|
|
926
|
-
"definitionPath": "packages/
|
|
850
|
+
"modulePath": "packages/button/index.ts",
|
|
851
|
+
"definitionPath": "packages/button/index.ts"
|
|
927
852
|
}
|
|
928
853
|
],
|
|
929
854
|
"exports": [
|
|
930
855
|
{
|
|
931
856
|
"kind": "js",
|
|
932
|
-
"name": "
|
|
857
|
+
"name": "ccButton",
|
|
933
858
|
"declaration": {
|
|
934
|
-
"name": "
|
|
935
|
-
"module": "packages/
|
|
859
|
+
"name": "ccButton",
|
|
860
|
+
"module": "packages/button/index.ts"
|
|
936
861
|
}
|
|
937
862
|
},
|
|
938
863
|
{
|
|
939
864
|
"kind": "custom-element-definition",
|
|
940
|
-
"name": "w-
|
|
865
|
+
"name": "w-button",
|
|
941
866
|
"declaration": {
|
|
942
|
-
"name": "
|
|
943
|
-
"module": "packages/
|
|
867
|
+
"name": "WarpButton",
|
|
868
|
+
"module": "packages/button/index.ts"
|
|
944
869
|
}
|
|
945
870
|
},
|
|
946
871
|
{
|
|
947
872
|
"kind": "js",
|
|
948
|
-
"name": "
|
|
873
|
+
"name": "WarpButton",
|
|
949
874
|
"declaration": {
|
|
950
|
-
"name": "
|
|
951
|
-
"module": "packages/
|
|
875
|
+
"name": "WarpButton",
|
|
876
|
+
"module": "packages/button/index.ts"
|
|
952
877
|
}
|
|
953
878
|
}
|
|
954
879
|
]
|
|
955
880
|
},
|
|
956
881
|
{
|
|
957
882
|
"kind": "javascript-module",
|
|
958
|
-
"path": "packages/
|
|
883
|
+
"path": "packages/attention/index.ts",
|
|
959
884
|
"declarations": [
|
|
885
|
+
{
|
|
886
|
+
"kind": "variable",
|
|
887
|
+
"name": "ccAttention",
|
|
888
|
+
"type": {
|
|
889
|
+
"text": "object"
|
|
890
|
+
},
|
|
891
|
+
"default": "{ base: 'border-2 relative flex items-start', tooltip: 's-bg-inverted border-[--w-s-color-background-inverted] shadow-m s-text-inverted-static rounded-4 py-6 px-8', callout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8', highlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8 drop-shadow-m translate-z-0', popover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300] s-text rounded-8 p-16 drop-shadow-m translate-z-0', arrowBase: 'absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform', arrowDirectionLeftStart: '-left-[8px]', arrowDirectionLeft: '-left-[8px]', arrowDirectionLeftEnd: '-left-[8px]', arrowDirectionRightStart: '-right-[8px]', arrowDirectionRight: '-right-[8px]', arrowDirectionRightEnd: '-right-[8px]', arrowDirectionBottomStart: '-bottom-[8px]', arrowDirectionBottom: '-bottom-[8px]', arrowDirectionBottomEnd: '-bottom-[8px]', arrowDirectionTopStart: '-top-[8px]', arrowDirectionTop: '-top-[8px]', arrowDirectionTopEnd: '-top-[8px]', arrowTooltip: 's-bg-inverted border-[--w-s-color-background-inverted]', arrowCallout: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', arrowPopover: 'bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300]', arrowHighlight: 'bg-[--w-color-callout-background] border-[--w-color-callout-border]', content: 'last-child:mb-0', notCallout: 'absolute z-50', closeBtn: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} justify-self-end -mr-8 ml-8`, }"
|
|
892
|
+
},
|
|
960
893
|
{
|
|
961
894
|
"kind": "class",
|
|
962
|
-
"description": "
|
|
963
|
-
"name": "
|
|
895
|
+
"description": "",
|
|
896
|
+
"name": "WarpAttention",
|
|
964
897
|
"members": [
|
|
965
898
|
{
|
|
966
899
|
"kind": "field",
|
|
967
|
-
"name": "
|
|
900
|
+
"name": "show",
|
|
968
901
|
"type": {
|
|
969
|
-
"text": "
|
|
902
|
+
"text": "boolean"
|
|
970
903
|
},
|
|
971
|
-
"
|
|
972
|
-
"
|
|
904
|
+
"default": "false",
|
|
905
|
+
"attribute": "show",
|
|
906
|
+
"reflects": true
|
|
973
907
|
},
|
|
974
908
|
{
|
|
975
909
|
"kind": "field",
|
|
976
|
-
"name": "
|
|
910
|
+
"name": "placement",
|
|
911
|
+
"type": {
|
|
912
|
+
"text": "Directions"
|
|
913
|
+
},
|
|
914
|
+
"default": "'bottom'",
|
|
915
|
+
"attribute": "placement",
|
|
916
|
+
"reflects": true
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"kind": "field",
|
|
920
|
+
"name": "tooltip",
|
|
977
921
|
"type": {
|
|
978
922
|
"text": "boolean"
|
|
979
923
|
},
|
|
980
|
-
"
|
|
924
|
+
"default": "false",
|
|
925
|
+
"attribute": "tooltip",
|
|
981
926
|
"reflects": true
|
|
982
927
|
},
|
|
983
928
|
{
|
|
984
929
|
"kind": "field",
|
|
985
|
-
"name": "
|
|
930
|
+
"name": "callout",
|
|
986
931
|
"type": {
|
|
987
|
-
"text": "
|
|
932
|
+
"text": "boolean"
|
|
988
933
|
},
|
|
989
|
-
"default": "
|
|
990
|
-
"attribute": "
|
|
991
|
-
"reflects": true
|
|
992
|
-
"parsedType": {
|
|
993
|
-
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
994
|
-
}
|
|
934
|
+
"default": "false",
|
|
935
|
+
"attribute": "callout",
|
|
936
|
+
"reflects": true
|
|
995
937
|
},
|
|
996
938
|
{
|
|
997
939
|
"kind": "field",
|
|
998
|
-
"name": "
|
|
940
|
+
"name": "popover",
|
|
999
941
|
"type": {
|
|
1000
942
|
"text": "boolean"
|
|
1001
943
|
},
|
|
1002
|
-
"
|
|
944
|
+
"default": "false",
|
|
945
|
+
"attribute": "popover",
|
|
1003
946
|
"reflects": true
|
|
1004
947
|
},
|
|
1005
948
|
{
|
|
1006
949
|
"kind": "field",
|
|
1007
|
-
"name": "
|
|
950
|
+
"name": "highlight",
|
|
1008
951
|
"type": {
|
|
1009
952
|
"text": "boolean"
|
|
1010
953
|
},
|
|
1011
|
-
"
|
|
954
|
+
"default": "false",
|
|
955
|
+
"attribute": "highlight",
|
|
1012
956
|
"reflects": true
|
|
1013
957
|
},
|
|
1014
958
|
{
|
|
1015
959
|
"kind": "field",
|
|
1016
|
-
"name": "
|
|
960
|
+
"name": "canClose",
|
|
1017
961
|
"type": {
|
|
1018
|
-
"text": "
|
|
962
|
+
"text": "boolean"
|
|
1019
963
|
},
|
|
1020
|
-
"
|
|
964
|
+
"default": "false",
|
|
965
|
+
"attribute": "can-close",
|
|
1021
966
|
"reflects": true
|
|
1022
967
|
},
|
|
1023
968
|
{
|
|
1024
969
|
"kind": "field",
|
|
1025
|
-
"name": "
|
|
970
|
+
"name": "noArrow",
|
|
1026
971
|
"type": {
|
|
1027
972
|
"text": "boolean"
|
|
1028
973
|
},
|
|
1029
|
-
"
|
|
974
|
+
"default": "false",
|
|
975
|
+
"attribute": "no-arrow",
|
|
976
|
+
"reflects": true
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"kind": "field",
|
|
980
|
+
"name": "distance",
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "number"
|
|
983
|
+
},
|
|
984
|
+
"default": "8",
|
|
985
|
+
"attribute": "distance",
|
|
1030
986
|
"reflects": true
|
|
1031
987
|
},
|
|
1032
988
|
{
|
|
1033
|
-
"kind": "field",
|
|
1034
|
-
"name": "
|
|
989
|
+
"kind": "field",
|
|
990
|
+
"name": "skidding",
|
|
991
|
+
"type": {
|
|
992
|
+
"text": "number"
|
|
993
|
+
},
|
|
994
|
+
"default": "0",
|
|
995
|
+
"attribute": "skidding",
|
|
996
|
+
"reflects": true
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"kind": "field",
|
|
1000
|
+
"name": "flip",
|
|
1001
|
+
"type": {
|
|
1002
|
+
"text": "boolean"
|
|
1003
|
+
},
|
|
1004
|
+
"default": "false",
|
|
1005
|
+
"attribute": "flip",
|
|
1006
|
+
"reflects": true
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "field",
|
|
1010
|
+
"name": "crossAxis",
|
|
1011
|
+
"type": {
|
|
1012
|
+
"text": "boolean"
|
|
1013
|
+
},
|
|
1014
|
+
"default": "false",
|
|
1015
|
+
"attribute": "cross-axis",
|
|
1016
|
+
"reflects": true
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "field",
|
|
1020
|
+
"name": "fallbackPlacements",
|
|
1021
|
+
"type": {
|
|
1022
|
+
"text": "Directions[]"
|
|
1023
|
+
},
|
|
1024
|
+
"attribute": "fallback-placements",
|
|
1025
|
+
"reflects": true
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "method",
|
|
1029
|
+
"name": "handleDone",
|
|
1030
|
+
"type": {
|
|
1031
|
+
"text": "handleDone() => void"
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"kind": "method",
|
|
1036
|
+
"name": "pointingAtDirection",
|
|
1037
|
+
"type": {
|
|
1038
|
+
"text": "pointingAtDirection() => void"
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "method",
|
|
1043
|
+
"name": "activeAttentionType",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "activeAttentionType() => void"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "method",
|
|
1050
|
+
"name": "defaultAriaLabel",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "defaultAriaLabel() => void"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "method",
|
|
1057
|
+
"name": "setAriaLabels",
|
|
1035
1058
|
"type": {
|
|
1036
|
-
"text": "
|
|
1037
|
-
}
|
|
1038
|
-
"attribute": "target",
|
|
1039
|
-
"reflects": true
|
|
1059
|
+
"text": "setAriaLabels() => void"
|
|
1060
|
+
}
|
|
1040
1061
|
},
|
|
1041
1062
|
{
|
|
1042
|
-
"kind": "
|
|
1043
|
-
"name": "
|
|
1063
|
+
"kind": "method",
|
|
1064
|
+
"name": "close",
|
|
1044
1065
|
"type": {
|
|
1045
|
-
"text": "
|
|
1046
|
-
}
|
|
1047
|
-
"attribute": "rel",
|
|
1048
|
-
"reflects": true
|
|
1066
|
+
"text": "close() => void"
|
|
1067
|
+
}
|
|
1049
1068
|
},
|
|
1050
1069
|
{
|
|
1051
|
-
"kind": "
|
|
1052
|
-
"name": "
|
|
1070
|
+
"kind": "method",
|
|
1071
|
+
"name": "keypressed",
|
|
1072
|
+
"parameters": [
|
|
1073
|
+
{
|
|
1074
|
+
"name": "e",
|
|
1075
|
+
"type": {
|
|
1076
|
+
"text": "KeyboardEvent"
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
],
|
|
1053
1080
|
"type": {
|
|
1054
|
-
"text": "
|
|
1055
|
-
}
|
|
1056
|
-
"attribute": "full-width",
|
|
1057
|
-
"reflects": true
|
|
1081
|
+
"text": "keypressed(e: KeyboardEvent) => void"
|
|
1082
|
+
}
|
|
1058
1083
|
},
|
|
1059
1084
|
{
|
|
1060
1085
|
"kind": "field",
|
|
1061
|
-
"name": "
|
|
1062
|
-
"type": {
|
|
1063
|
-
"text": "string"
|
|
1064
|
-
},
|
|
1065
|
-
"attribute": "button-class",
|
|
1066
|
-
"reflects": true
|
|
1086
|
+
"name": "_initialPlacement"
|
|
1067
1087
|
},
|
|
1068
1088
|
{
|
|
1069
1089
|
"kind": "field",
|
|
1070
|
-
"name": "
|
|
1090
|
+
"name": "_actualDirection"
|
|
1091
|
+
}
|
|
1092
|
+
],
|
|
1093
|
+
"attributes": [
|
|
1094
|
+
{
|
|
1095
|
+
"name": "show",
|
|
1071
1096
|
"type": {
|
|
1072
|
-
"text": "
|
|
1097
|
+
"text": "boolean"
|
|
1073
1098
|
},
|
|
1074
|
-
"
|
|
1075
|
-
"
|
|
1099
|
+
"default": "false",
|
|
1100
|
+
"fieldName": "show"
|
|
1076
1101
|
},
|
|
1077
1102
|
{
|
|
1078
|
-
"
|
|
1079
|
-
"name": "classes",
|
|
1103
|
+
"name": "placement",
|
|
1080
1104
|
"type": {
|
|
1081
|
-
"text": "
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1105
|
+
"text": "Directions"
|
|
1106
|
+
},
|
|
1107
|
+
"default": "'bottom'",
|
|
1108
|
+
"fieldName": "placement"
|
|
1109
|
+
},
|
|
1086
1110
|
{
|
|
1087
|
-
"name": "
|
|
1111
|
+
"name": "tooltip",
|
|
1088
1112
|
"type": {
|
|
1089
1113
|
"text": "boolean"
|
|
1090
1114
|
},
|
|
1091
|
-
"
|
|
1115
|
+
"default": "false",
|
|
1116
|
+
"fieldName": "tooltip"
|
|
1092
1117
|
},
|
|
1093
1118
|
{
|
|
1094
|
-
"name": "
|
|
1119
|
+
"name": "callout",
|
|
1095
1120
|
"type": {
|
|
1096
|
-
"text": "
|
|
1121
|
+
"text": "boolean"
|
|
1097
1122
|
},
|
|
1098
|
-
"default": "
|
|
1099
|
-
"fieldName": "
|
|
1100
|
-
"parsedType": {
|
|
1101
|
-
"text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'pill' | 'link' | 'quiet' | 'utilityQuiet'"
|
|
1102
|
-
}
|
|
1123
|
+
"default": "false",
|
|
1124
|
+
"fieldName": "callout"
|
|
1103
1125
|
},
|
|
1104
1126
|
{
|
|
1105
|
-
"name": "
|
|
1127
|
+
"name": "popover",
|
|
1106
1128
|
"type": {
|
|
1107
1129
|
"text": "boolean"
|
|
1108
1130
|
},
|
|
1109
|
-
"
|
|
1131
|
+
"default": "false",
|
|
1132
|
+
"fieldName": "popover"
|
|
1110
1133
|
},
|
|
1111
1134
|
{
|
|
1112
|
-
"name": "
|
|
1135
|
+
"name": "highlight",
|
|
1113
1136
|
"type": {
|
|
1114
1137
|
"text": "boolean"
|
|
1115
1138
|
},
|
|
1116
|
-
"
|
|
1139
|
+
"default": "false",
|
|
1140
|
+
"fieldName": "highlight"
|
|
1117
1141
|
},
|
|
1118
1142
|
{
|
|
1119
|
-
"name": "
|
|
1143
|
+
"name": "can-close",
|
|
1120
1144
|
"type": {
|
|
1121
|
-
"text": "
|
|
1145
|
+
"text": "boolean"
|
|
1122
1146
|
},
|
|
1123
|
-
"
|
|
1147
|
+
"default": "false",
|
|
1148
|
+
"fieldName": "canClose"
|
|
1124
1149
|
},
|
|
1125
1150
|
{
|
|
1126
|
-
"name": "
|
|
1151
|
+
"name": "no-arrow",
|
|
1127
1152
|
"type": {
|
|
1128
1153
|
"text": "boolean"
|
|
1129
1154
|
},
|
|
1130
|
-
"
|
|
1155
|
+
"default": "false",
|
|
1156
|
+
"fieldName": "noArrow"
|
|
1131
1157
|
},
|
|
1132
1158
|
{
|
|
1133
|
-
"name": "
|
|
1159
|
+
"name": "distance",
|
|
1134
1160
|
"type": {
|
|
1135
|
-
"text": "
|
|
1161
|
+
"text": "number"
|
|
1136
1162
|
},
|
|
1137
|
-
"
|
|
1163
|
+
"default": "8",
|
|
1164
|
+
"fieldName": "distance"
|
|
1138
1165
|
},
|
|
1139
1166
|
{
|
|
1140
|
-
"name": "
|
|
1167
|
+
"name": "skidding",
|
|
1141
1168
|
"type": {
|
|
1142
|
-
"text": "
|
|
1169
|
+
"text": "number"
|
|
1143
1170
|
},
|
|
1144
|
-
"
|
|
1171
|
+
"default": "0",
|
|
1172
|
+
"fieldName": "skidding"
|
|
1145
1173
|
},
|
|
1146
1174
|
{
|
|
1147
|
-
"name": "
|
|
1175
|
+
"name": "flip",
|
|
1148
1176
|
"type": {
|
|
1149
1177
|
"text": "boolean"
|
|
1150
1178
|
},
|
|
1151
|
-
"
|
|
1179
|
+
"default": "false",
|
|
1180
|
+
"fieldName": "flip"
|
|
1152
1181
|
},
|
|
1153
1182
|
{
|
|
1154
|
-
"name": "
|
|
1183
|
+
"name": "cross-axis",
|
|
1155
1184
|
"type": {
|
|
1156
|
-
"text": "
|
|
1185
|
+
"text": "boolean"
|
|
1157
1186
|
},
|
|
1158
|
-
"
|
|
1187
|
+
"default": "false",
|
|
1188
|
+
"fieldName": "crossAxis"
|
|
1159
1189
|
},
|
|
1160
1190
|
{
|
|
1161
|
-
"name": "
|
|
1191
|
+
"name": "fallback-placements",
|
|
1162
1192
|
"type": {
|
|
1163
|
-
"text": "
|
|
1193
|
+
"text": "Directions[]"
|
|
1164
1194
|
},
|
|
1165
|
-
"fieldName": "
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
|
-
"mixins": [
|
|
1169
|
-
{
|
|
1170
|
-
"name": "FormControlMixin",
|
|
1171
|
-
"package": "@open-wc/form-control"
|
|
1195
|
+
"fieldName": "fallbackPlacements"
|
|
1172
1196
|
}
|
|
1173
1197
|
],
|
|
1174
1198
|
"superclass": {
|
|
1175
1199
|
"name": "LitElement",
|
|
1176
1200
|
"package": "lit"
|
|
1177
1201
|
},
|
|
1178
|
-
"tagName": "w-
|
|
1202
|
+
"tagName": "w-attention",
|
|
1179
1203
|
"customElement": true,
|
|
1180
|
-
"modulePath": "packages/
|
|
1181
|
-
"definitionPath": "packages/
|
|
1204
|
+
"modulePath": "packages/attention/index.ts",
|
|
1205
|
+
"definitionPath": "packages/attention/index.ts"
|
|
1182
1206
|
}
|
|
1183
1207
|
],
|
|
1184
1208
|
"exports": [
|
|
1209
|
+
{
|
|
1210
|
+
"kind": "js",
|
|
1211
|
+
"name": "ccAttention",
|
|
1212
|
+
"declaration": {
|
|
1213
|
+
"name": "ccAttention",
|
|
1214
|
+
"module": "packages/attention/index.ts"
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1185
1217
|
{
|
|
1186
1218
|
"kind": "custom-element-definition",
|
|
1187
|
-
"name": "w-
|
|
1219
|
+
"name": "w-attention",
|
|
1188
1220
|
"declaration": {
|
|
1189
|
-
"name": "
|
|
1190
|
-
"module": "packages/
|
|
1221
|
+
"name": "WarpAttention",
|
|
1222
|
+
"module": "packages/attention/index.ts"
|
|
1191
1223
|
}
|
|
1192
1224
|
},
|
|
1193
1225
|
{
|
|
1194
1226
|
"kind": "js",
|
|
1195
|
-
"name": "
|
|
1227
|
+
"name": "WarpAttention",
|
|
1196
1228
|
"declaration": {
|
|
1197
|
-
"name": "
|
|
1198
|
-
"module": "packages/
|
|
1229
|
+
"name": "WarpAttention",
|
|
1230
|
+
"module": "packages/attention/index.ts"
|
|
1199
1231
|
}
|
|
1200
1232
|
}
|
|
1201
1233
|
]
|
|
1202
1234
|
},
|
|
1203
1235
|
{
|
|
1204
1236
|
"kind": "javascript-module",
|
|
1205
|
-
"path": "packages/
|
|
1237
|
+
"path": "packages/badge/index.ts",
|
|
1206
1238
|
"declarations": [
|
|
1207
|
-
{
|
|
1208
|
-
"kind": "variable",
|
|
1209
|
-
"name": "ccButton",
|
|
1210
|
-
"type": {
|
|
1211
|
-
"text": "object"
|
|
1212
|
-
},
|
|
1213
|
-
"default": "{ // Buttontypes secondary: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, // .button--secondary, .button--default, .button secondaryHref: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondaryDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondarySmall: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonColors.secondary}`, secondarySmallDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`, secondaryQuiet: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondaryQuietDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondarySmallQuiet: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, secondarySmallQuietDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, secondaryLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.inProgress}`, secondarySmallQuietLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, secondaryQuietLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, primary: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.primary} ${buttonColors.primary}`, // .button--primary, .button--cta primaryDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.isDisabled} ${buttonTypes.primary}`, primarySmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.primary} ${buttonColors.primary}`, primarySmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.isDisabled} ${buttonTypes.primary} `, primaryQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`, primaryQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primarySmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`, primarySmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`, primaryLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primarySmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress} ${buttonTypes.primary}`, primaryQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`, utility: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonColors.utility}`, // .button--utility utilityDisabled: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilityQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, // .button--utility-flat utilityQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilitySmall: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonColors.utility}`, utilitySmallDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.isDisabled}`, utilitySmallQuiet: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`, utilitySmallQuietDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`, utilityLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilitySmallLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.inProgress}`, utilityQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, utilitySmallQuietLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`, negative: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonColors.destructive}`, // .button--destructive negativeDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, // .button--destructive-flat negativeQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet}${buttonVariants.isDisabled}`, negativeSmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonColors.destructive}`, negativeSmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonVariants.isDisabled}`, negativeSmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`, negativeSmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.isDisabled}`, negativeLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.negative}`, negativeQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonTypes.negative} ${buttonVariants.inProgress}`, negativeSmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.inProgress}`, pill: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill}`, // .button--pill pillSmall: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonColors.pill}`, pillLoading: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonVariants.inProgress}`, pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`, link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`, linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`, linkAsButton: 'inline-block active:no-underline hover:no-underline focus:no-underline text-center', a11y: 'sr-only', fullWidth: 'w-full max-w-full', contentWidth: 'max-w-max', }"
|
|
1214
|
-
},
|
|
1215
1239
|
{
|
|
1216
1240
|
"kind": "class",
|
|
1217
|
-
"description": "
|
|
1218
|
-
"name": "
|
|
1241
|
+
"description": "`w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)",
|
|
1242
|
+
"name": "WarpBadge",
|
|
1219
1243
|
"members": [
|
|
1220
|
-
{
|
|
1221
|
-
"kind": "field",
|
|
1222
|
-
"name": "shadowRootOptions",
|
|
1223
|
-
"type": {
|
|
1224
|
-
"text": "object"
|
|
1225
|
-
},
|
|
1226
|
-
"static": true,
|
|
1227
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
1228
|
-
},
|
|
1229
|
-
{
|
|
1230
|
-
"kind": "field",
|
|
1231
|
-
"name": "type",
|
|
1232
|
-
"type": {
|
|
1233
|
-
"text": "ButtonType"
|
|
1234
|
-
},
|
|
1235
|
-
"default": "'button'",
|
|
1236
|
-
"attribute": "type",
|
|
1237
|
-
"reflects": true,
|
|
1238
|
-
"parsedType": {
|
|
1239
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
1240
|
-
}
|
|
1241
|
-
},
|
|
1242
|
-
{
|
|
1243
|
-
"kind": "field",
|
|
1244
|
-
"name": "autofocus",
|
|
1245
|
-
"type": {
|
|
1246
|
-
"text": "boolean"
|
|
1247
|
-
},
|
|
1248
|
-
"attribute": "autofocus",
|
|
1249
|
-
"reflects": true
|
|
1250
|
-
},
|
|
1251
1244
|
{
|
|
1252
1245
|
"kind": "field",
|
|
1253
1246
|
"name": "variant",
|
|
1254
1247
|
"type": {
|
|
1255
|
-
"text": "
|
|
1248
|
+
"text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
|
|
1256
1249
|
},
|
|
1257
|
-
"default": "'
|
|
1250
|
+
"default": "'neutral'",
|
|
1258
1251
|
"attribute": "variant",
|
|
1259
|
-
"reflects": true,
|
|
1260
|
-
"parsedType": {
|
|
1261
|
-
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
1262
|
-
}
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"kind": "field",
|
|
1266
|
-
"name": "quiet",
|
|
1267
|
-
"type": {
|
|
1268
|
-
"text": "boolean"
|
|
1269
|
-
},
|
|
1270
|
-
"attribute": "quiet",
|
|
1271
|
-
"reflects": true
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
"kind": "field",
|
|
1275
|
-
"name": "small",
|
|
1276
|
-
"type": {
|
|
1277
|
-
"text": "boolean"
|
|
1278
|
-
},
|
|
1279
|
-
"attribute": "small",
|
|
1280
1252
|
"reflects": true
|
|
1281
1253
|
},
|
|
1282
1254
|
{
|
|
1283
1255
|
"kind": "field",
|
|
1284
|
-
"name": "
|
|
1256
|
+
"name": "position",
|
|
1285
1257
|
"type": {
|
|
1286
|
-
"text": "
|
|
1258
|
+
"text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
|
|
1287
1259
|
},
|
|
1288
|
-
"attribute": "
|
|
1260
|
+
"attribute": "position",
|
|
1289
1261
|
"reflects": true
|
|
1290
|
-
}
|
|
1262
|
+
}
|
|
1263
|
+
],
|
|
1264
|
+
"attributes": [
|
|
1291
1265
|
{
|
|
1292
|
-
"
|
|
1293
|
-
"name": "href",
|
|
1266
|
+
"name": "variant",
|
|
1294
1267
|
"type": {
|
|
1295
|
-
"text": "
|
|
1268
|
+
"text": "'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'"
|
|
1296
1269
|
},
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1270
|
+
"default": "'neutral'",
|
|
1271
|
+
"fieldName": "variant"
|
|
1299
1272
|
},
|
|
1300
1273
|
{
|
|
1301
|
-
"
|
|
1302
|
-
"name": "target",
|
|
1274
|
+
"name": "position",
|
|
1303
1275
|
"type": {
|
|
1304
|
-
"text": "
|
|
1276
|
+
"text": "'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'"
|
|
1305
1277
|
},
|
|
1306
|
-
"
|
|
1307
|
-
|
|
1308
|
-
|
|
1278
|
+
"fieldName": "position"
|
|
1279
|
+
}
|
|
1280
|
+
],
|
|
1281
|
+
"superclass": {
|
|
1282
|
+
"name": "LitElement",
|
|
1283
|
+
"package": "lit"
|
|
1284
|
+
},
|
|
1285
|
+
"tagName": "w-badge",
|
|
1286
|
+
"customElement": true,
|
|
1287
|
+
"modulePath": "packages/badge/index.ts",
|
|
1288
|
+
"definitionPath": "packages/badge/index.ts"
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"exports": [
|
|
1292
|
+
{
|
|
1293
|
+
"kind": "custom-element-definition",
|
|
1294
|
+
"name": "w-badge",
|
|
1295
|
+
"declaration": {
|
|
1296
|
+
"name": "WarpBadge",
|
|
1297
|
+
"module": "packages/badge/index.ts"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"kind": "js",
|
|
1302
|
+
"name": "WarpBadge",
|
|
1303
|
+
"declaration": {
|
|
1304
|
+
"name": "WarpBadge",
|
|
1305
|
+
"module": "packages/badge/index.ts"
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"kind": "javascript-module",
|
|
1312
|
+
"path": "packages/box/index.ts",
|
|
1313
|
+
"declarations": [
|
|
1314
|
+
{
|
|
1315
|
+
"kind": "class",
|
|
1316
|
+
"description": "Box is a layout component used for separating content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-box--docs)",
|
|
1317
|
+
"name": "WarpBox",
|
|
1318
|
+
"members": [
|
|
1309
1319
|
{
|
|
1310
1320
|
"kind": "field",
|
|
1311
|
-
"name": "
|
|
1321
|
+
"name": "bleed",
|
|
1312
1322
|
"type": {
|
|
1313
|
-
"text": "
|
|
1323
|
+
"text": "boolean"
|
|
1314
1324
|
},
|
|
1315
|
-
"attribute": "
|
|
1325
|
+
"attribute": "bleed",
|
|
1316
1326
|
"reflects": true
|
|
1317
1327
|
},
|
|
1318
1328
|
{
|
|
1319
1329
|
"kind": "field",
|
|
1320
|
-
"name": "
|
|
1330
|
+
"name": "bordered",
|
|
1321
1331
|
"type": {
|
|
1322
1332
|
"text": "boolean"
|
|
1323
1333
|
},
|
|
1324
|
-
"attribute": "
|
|
1334
|
+
"attribute": "bordered",
|
|
1325
1335
|
"reflects": true
|
|
1326
1336
|
},
|
|
1327
1337
|
{
|
|
1328
1338
|
"kind": "field",
|
|
1329
|
-
"name": "
|
|
1339
|
+
"name": "info",
|
|
1330
1340
|
"type": {
|
|
1331
|
-
"text": "
|
|
1341
|
+
"text": "boolean"
|
|
1332
1342
|
},
|
|
1333
|
-
"attribute": "
|
|
1343
|
+
"attribute": "info",
|
|
1334
1344
|
"reflects": true
|
|
1335
1345
|
},
|
|
1336
1346
|
{
|
|
1337
1347
|
"kind": "field",
|
|
1338
|
-
"name": "
|
|
1348
|
+
"name": "neutral",
|
|
1339
1349
|
"type": {
|
|
1340
|
-
"text": "
|
|
1350
|
+
"text": "boolean"
|
|
1341
1351
|
},
|
|
1342
|
-
"attribute": "
|
|
1352
|
+
"attribute": "neutral",
|
|
1343
1353
|
"reflects": true
|
|
1344
1354
|
},
|
|
1345
1355
|
{
|
|
1346
1356
|
"kind": "field",
|
|
1347
|
-
"name": "
|
|
1357
|
+
"name": "role",
|
|
1348
1358
|
"type": {
|
|
1349
1359
|
"text": "string"
|
|
1350
1360
|
},
|
|
1351
|
-
"attribute": "
|
|
1361
|
+
"attribute": "role",
|
|
1352
1362
|
"reflects": true
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
"kind": "field",
|
|
1356
|
-
"name": "ariaValueTextLoading"
|
|
1357
1363
|
}
|
|
1358
1364
|
],
|
|
1359
1365
|
"attributes": [
|
|
1360
1366
|
{
|
|
1361
|
-
"name": "
|
|
1362
|
-
"type": {
|
|
1363
|
-
"text": "ButtonType"
|
|
1364
|
-
},
|
|
1365
|
-
"default": "'button'",
|
|
1366
|
-
"fieldName": "type",
|
|
1367
|
-
"parsedType": {
|
|
1368
|
-
"text": "'button' | 'submit' | 'reset'"
|
|
1369
|
-
}
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
"name": "autofocus",
|
|
1373
|
-
"type": {
|
|
1374
|
-
"text": "boolean"
|
|
1375
|
-
},
|
|
1376
|
-
"fieldName": "autofocus"
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"name": "variant",
|
|
1380
|
-
"type": {
|
|
1381
|
-
"text": "ButtonVariant"
|
|
1382
|
-
},
|
|
1383
|
-
"default": "'secondary'",
|
|
1384
|
-
"fieldName": "variant",
|
|
1385
|
-
"parsedType": {
|
|
1386
|
-
"text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"name": "quiet",
|
|
1367
|
+
"name": "bleed",
|
|
1391
1368
|
"type": {
|
|
1392
1369
|
"text": "boolean"
|
|
1393
1370
|
},
|
|
1394
|
-
"fieldName": "
|
|
1371
|
+
"fieldName": "bleed"
|
|
1395
1372
|
},
|
|
1396
1373
|
{
|
|
1397
|
-
"name": "
|
|
1374
|
+
"name": "bordered",
|
|
1398
1375
|
"type": {
|
|
1399
1376
|
"text": "boolean"
|
|
1400
1377
|
},
|
|
1401
|
-
"fieldName": "
|
|
1378
|
+
"fieldName": "bordered"
|
|
1402
1379
|
},
|
|
1403
1380
|
{
|
|
1404
|
-
"name": "
|
|
1381
|
+
"name": "info",
|
|
1405
1382
|
"type": {
|
|
1406
1383
|
"text": "boolean"
|
|
1407
1384
|
},
|
|
1408
|
-
"fieldName": "
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
"name": "href",
|
|
1412
|
-
"type": {
|
|
1413
|
-
"text": "string"
|
|
1414
|
-
},
|
|
1415
|
-
"fieldName": "href"
|
|
1416
|
-
},
|
|
1417
|
-
{
|
|
1418
|
-
"name": "target",
|
|
1419
|
-
"type": {
|
|
1420
|
-
"text": "string"
|
|
1421
|
-
},
|
|
1422
|
-
"fieldName": "target"
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
"name": "rel",
|
|
1426
|
-
"type": {
|
|
1427
|
-
"text": "string"
|
|
1428
|
-
},
|
|
1429
|
-
"fieldName": "rel"
|
|
1385
|
+
"fieldName": "info"
|
|
1430
1386
|
},
|
|
1431
1387
|
{
|
|
1432
|
-
"name": "
|
|
1388
|
+
"name": "neutral",
|
|
1433
1389
|
"type": {
|
|
1434
1390
|
"text": "boolean"
|
|
1435
1391
|
},
|
|
1436
|
-
"fieldName": "
|
|
1392
|
+
"fieldName": "neutral"
|
|
1437
1393
|
},
|
|
1438
1394
|
{
|
|
1439
|
-
"name": "
|
|
1395
|
+
"name": "role",
|
|
1440
1396
|
"type": {
|
|
1441
1397
|
"text": "string"
|
|
1442
1398
|
},
|
|
1443
|
-
"fieldName": "
|
|
1444
|
-
}
|
|
1399
|
+
"fieldName": "role"
|
|
1400
|
+
}
|
|
1401
|
+
],
|
|
1402
|
+
"superclass": {
|
|
1403
|
+
"name": "LitElement",
|
|
1404
|
+
"package": "lit"
|
|
1405
|
+
},
|
|
1406
|
+
"tagName": "w-box",
|
|
1407
|
+
"customElement": true,
|
|
1408
|
+
"modulePath": "packages/box/index.ts",
|
|
1409
|
+
"definitionPath": "packages/box/index.ts"
|
|
1410
|
+
}
|
|
1411
|
+
],
|
|
1412
|
+
"exports": [
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "custom-element-definition",
|
|
1415
|
+
"name": "w-box",
|
|
1416
|
+
"declaration": {
|
|
1417
|
+
"name": "WarpBox",
|
|
1418
|
+
"module": "packages/box/index.ts"
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "js",
|
|
1423
|
+
"name": "WarpBox",
|
|
1424
|
+
"declaration": {
|
|
1425
|
+
"name": "WarpBox",
|
|
1426
|
+
"module": "packages/box/index.ts"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
]
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"kind": "javascript-module",
|
|
1433
|
+
"path": "packages/breadcrumbs/index.ts",
|
|
1434
|
+
"declarations": [
|
|
1435
|
+
{
|
|
1436
|
+
"kind": "variable",
|
|
1437
|
+
"name": "ccBreadcrumbs",
|
|
1438
|
+
"type": {
|
|
1439
|
+
"text": "object"
|
|
1440
|
+
},
|
|
1441
|
+
"default": "{ wrapper: 'flex space-x-8', text: 's-text', link: 's-text-link', separator: 'select-none s-icon', a11y: 'sr-only', }"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"kind": "class",
|
|
1445
|
+
"description": "Breadcrumbs show the navigation structure for the current location.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-breadcrumbs--docs)",
|
|
1446
|
+
"name": "WarpBreadcrumbs",
|
|
1447
|
+
"members": [
|
|
1445
1448
|
{
|
|
1446
|
-
"
|
|
1449
|
+
"kind": "field",
|
|
1450
|
+
"name": "ariaLabel",
|
|
1447
1451
|
"type": {
|
|
1448
1452
|
"text": "string"
|
|
1449
1453
|
},
|
|
1450
|
-
"
|
|
1451
|
-
}
|
|
1454
|
+
"attribute": "aria-label"
|
|
1455
|
+
}
|
|
1456
|
+
],
|
|
1457
|
+
"attributes": [
|
|
1452
1458
|
{
|
|
1453
|
-
"name": "
|
|
1459
|
+
"name": "aria-label",
|
|
1454
1460
|
"type": {
|
|
1455
1461
|
"text": "string"
|
|
1456
1462
|
},
|
|
1457
|
-
"fieldName": "
|
|
1458
|
-
}
|
|
1459
|
-
],
|
|
1460
|
-
"mixins": [
|
|
1461
|
-
{
|
|
1462
|
-
"name": "FormControlMixin",
|
|
1463
|
-
"package": "@open-wc/form-control"
|
|
1463
|
+
"fieldName": "ariaLabel"
|
|
1464
1464
|
}
|
|
1465
1465
|
],
|
|
1466
1466
|
"superclass": {
|
|
1467
1467
|
"name": "LitElement",
|
|
1468
1468
|
"package": "lit"
|
|
1469
1469
|
},
|
|
1470
|
-
"tagName": "w-
|
|
1470
|
+
"tagName": "w-breadcrumbs",
|
|
1471
1471
|
"customElement": true,
|
|
1472
|
-
"modulePath": "packages/
|
|
1473
|
-
"definitionPath": "packages/
|
|
1472
|
+
"modulePath": "packages/breadcrumbs/index.ts",
|
|
1473
|
+
"definitionPath": "packages/breadcrumbs/index.ts"
|
|
1474
1474
|
}
|
|
1475
1475
|
],
|
|
1476
1476
|
"exports": [
|
|
1477
1477
|
{
|
|
1478
1478
|
"kind": "js",
|
|
1479
|
-
"name": "
|
|
1479
|
+
"name": "ccBreadcrumbs",
|
|
1480
1480
|
"declaration": {
|
|
1481
|
-
"name": "
|
|
1482
|
-
"module": "packages/
|
|
1481
|
+
"name": "ccBreadcrumbs",
|
|
1482
|
+
"module": "packages/breadcrumbs/index.ts"
|
|
1483
1483
|
}
|
|
1484
1484
|
},
|
|
1485
1485
|
{
|
|
1486
1486
|
"kind": "custom-element-definition",
|
|
1487
|
-
"name": "w-
|
|
1487
|
+
"name": "w-breadcrumbs",
|
|
1488
1488
|
"declaration": {
|
|
1489
|
-
"name": "
|
|
1490
|
-
"module": "packages/
|
|
1489
|
+
"name": "WarpBreadcrumbs",
|
|
1490
|
+
"module": "packages/breadcrumbs/index.ts"
|
|
1491
1491
|
}
|
|
1492
1492
|
},
|
|
1493
1493
|
{
|
|
1494
1494
|
"kind": "js",
|
|
1495
|
-
"name": "
|
|
1495
|
+
"name": "WarpBreadcrumbs",
|
|
1496
1496
|
"declaration": {
|
|
1497
|
-
"name": "
|
|
1498
|
-
"module": "packages/
|
|
1497
|
+
"name": "WarpBreadcrumbs",
|
|
1498
|
+
"module": "packages/breadcrumbs/index.ts"
|
|
1499
1499
|
}
|
|
1500
1500
|
}
|
|
1501
1501
|
]
|
|
@@ -2595,7 +2595,8 @@
|
|
|
2595
2595
|
"text": "'radio' | 'checkbox'"
|
|
2596
2596
|
},
|
|
2597
2597
|
"default": "'radio'",
|
|
2598
|
-
"attribute": "type"
|
|
2598
|
+
"attribute": "type",
|
|
2599
|
+
"reflects": true
|
|
2599
2600
|
},
|
|
2600
2601
|
{
|
|
2601
2602
|
"kind": "field",
|
|
@@ -4832,7 +4833,7 @@
|
|
|
4832
4833
|
"type": {
|
|
4833
4834
|
"text": "object"
|
|
4834
4835
|
},
|
|
4835
|
-
"default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border-strong hover:s-border-strong-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper:
|
|
4836
|
+
"default": "{ base: 'block text-m mb-0 py-12 pr-32 rounded-4 w-full focusable focus:[--w-outline-offset:-2px] appearance-none cursor-pointer caret-current', default: 's-text s-bg pl-8 border-1 s-border-strong hover:s-border-strong-hover active:s-border-active', disabled: 's-text-disabled s-bg-disabled-subtle pl-8 border-1 s-border-disabled hover:s-border-disabled active:s-border-disabled pointer-events-none', invalid: 's-text s-bg pl-8 border-1 s-border-negative hover:s-border-negative-hover active:s-border-active outline-[--w-s-color-border-negative]!', readOnly: 's-text bg-transparent pl-0 border-0 pointer-events-none before:hidden', wrapper: 'relative', selectWrapper: 'relative before:block before:absolute before:right-0 before:bottom-0 before:w-32 before:h-full before:pointer-events-none ', chevron: 'block absolute top-[30%] right-0 bottom-0 w-32 h-full s-icon pointer-events-none cursor-pointer', chevronDisabled: 'opacity-25', }"
|
|
4836
4837
|
},
|
|
4837
4838
|
{
|
|
4838
4839
|
"kind": "variable",
|
|
@@ -5009,11 +5010,6 @@
|
|
|
5009
5010
|
"type": {
|
|
5010
5011
|
"text": "onChange({ target }) => void"
|
|
5011
5012
|
}
|
|
5012
|
-
},
|
|
5013
|
-
{
|
|
5014
|
-
"kind": "field",
|
|
5015
|
-
"name": "_options",
|
|
5016
|
-
"attribute": "_options"
|
|
5017
5013
|
}
|
|
5018
5014
|
],
|
|
5019
5015
|
"attributes": [
|
|
@@ -5081,10 +5077,6 @@
|
|
|
5081
5077
|
"description": "Renders the field in a readonly state.",
|
|
5082
5078
|
"fieldName": "readOnly"
|
|
5083
5079
|
},
|
|
5084
|
-
{
|
|
5085
|
-
"name": "_options",
|
|
5086
|
-
"fieldName": "_options"
|
|
5087
|
-
},
|
|
5088
5080
|
{
|
|
5089
5081
|
"name": "name",
|
|
5090
5082
|
"type": {
|
|
@@ -5598,7 +5590,8 @@
|
|
|
5598
5590
|
"type": {
|
|
5599
5591
|
"text": "string"
|
|
5600
5592
|
},
|
|
5601
|
-
"attribute": "aria-label"
|
|
5593
|
+
"attribute": "aria-label",
|
|
5594
|
+
"reflects": true
|
|
5602
5595
|
},
|
|
5603
5596
|
{
|
|
5604
5597
|
"kind": "field",
|
|
@@ -5606,7 +5599,8 @@
|
|
|
5606
5599
|
"type": {
|
|
5607
5600
|
"text": "string"
|
|
5608
5601
|
},
|
|
5609
|
-
"attribute": "aria-description"
|
|
5602
|
+
"attribute": "aria-description",
|
|
5603
|
+
"reflects": true
|
|
5610
5604
|
},
|
|
5611
5605
|
{
|
|
5612
5606
|
"kind": "field",
|
|
@@ -5614,7 +5608,8 @@
|
|
|
5614
5608
|
"type": {
|
|
5615
5609
|
"text": "string"
|
|
5616
5610
|
},
|
|
5617
|
-
"attribute": "label"
|
|
5611
|
+
"attribute": "label",
|
|
5612
|
+
"reflects": true
|
|
5618
5613
|
},
|
|
5619
5614
|
{
|
|
5620
5615
|
"kind": "field",
|
|
@@ -5622,7 +5617,8 @@
|
|
|
5622
5617
|
"type": {
|
|
5623
5618
|
"text": "string"
|
|
5624
5619
|
},
|
|
5625
|
-
"attribute": "name"
|
|
5620
|
+
"attribute": "name",
|
|
5621
|
+
"reflects": true
|
|
5626
5622
|
},
|
|
5627
5623
|
{
|
|
5628
5624
|
"kind": "field",
|
|
@@ -5885,7 +5881,8 @@
|
|
|
5885
5881
|
"text": "string"
|
|
5886
5882
|
},
|
|
5887
5883
|
"description": "The slider fieldset label. Required for proper accessibility.\n\nIf you need to display HTML, use the `label` slot instead.",
|
|
5888
|
-
"attribute": "label"
|
|
5884
|
+
"attribute": "label",
|
|
5885
|
+
"reflects": true
|
|
5889
5886
|
},
|
|
5890
5887
|
{
|
|
5891
5888
|
"kind": "field",
|
|
@@ -5943,7 +5940,8 @@
|
|
|
5943
5940
|
"text": "number"
|
|
5944
5941
|
},
|
|
5945
5942
|
"description": "Pass a value similar to step to create visual markers at that interval",
|
|
5946
|
-
"attribute": "markers"
|
|
5943
|
+
"attribute": "markers",
|
|
5944
|
+
"reflects": true
|
|
5947
5945
|
},
|
|
5948
5946
|
{
|
|
5949
5947
|
"kind": "field",
|
|
@@ -5951,7 +5949,8 @@
|
|
|
5951
5949
|
"type": {
|
|
5952
5950
|
"text": "number"
|
|
5953
5951
|
},
|
|
5954
|
-
"attribute": "step"
|
|
5952
|
+
"attribute": "step",
|
|
5953
|
+
"reflects": true
|
|
5955
5954
|
},
|
|
5956
5955
|
{
|
|
5957
5956
|
"kind": "field",
|
|
@@ -5960,7 +5959,8 @@
|
|
|
5960
5959
|
"text": "string"
|
|
5961
5960
|
},
|
|
5962
5961
|
"description": "Suffix used in text input fields and for the min and max values of the slider.",
|
|
5963
|
-
"attribute": "suffix"
|
|
5962
|
+
"attribute": "suffix",
|
|
5963
|
+
"reflects": true
|
|
5964
5964
|
},
|
|
5965
5965
|
{
|
|
5966
5966
|
"kind": "field",
|
|
@@ -6283,14 +6283,253 @@
|
|
|
6283
6283
|
}
|
|
6284
6284
|
},
|
|
6285
6285
|
{
|
|
6286
|
-
"kind": "method",
|
|
6287
|
-
"name": "getAriaLabel",
|
|
6286
|
+
"kind": "method",
|
|
6287
|
+
"name": "getAriaLabel",
|
|
6288
|
+
"type": {
|
|
6289
|
+
"text": "getAriaLabel() => void"
|
|
6290
|
+
}
|
|
6291
|
+
}
|
|
6292
|
+
],
|
|
6293
|
+
"attributes": [
|
|
6294
|
+
{
|
|
6295
|
+
"name": "active",
|
|
6296
|
+
"type": {
|
|
6297
|
+
"text": "boolean"
|
|
6298
|
+
},
|
|
6299
|
+
"default": "false",
|
|
6300
|
+
"fieldName": "active"
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"name": "completed",
|
|
6304
|
+
"type": {
|
|
6305
|
+
"text": "boolean"
|
|
6306
|
+
},
|
|
6307
|
+
"default": "false",
|
|
6308
|
+
"fieldName": "completed"
|
|
6309
|
+
}
|
|
6310
|
+
],
|
|
6311
|
+
"superclass": {
|
|
6312
|
+
"name": "LitElement",
|
|
6313
|
+
"package": "lit"
|
|
6314
|
+
},
|
|
6315
|
+
"tagName": "w-step",
|
|
6316
|
+
"customElement": true,
|
|
6317
|
+
"modulePath": "packages/steps/index.ts",
|
|
6318
|
+
"definitionPath": "packages/steps/index.ts"
|
|
6319
|
+
}
|
|
6320
|
+
],
|
|
6321
|
+
"exports": [
|
|
6322
|
+
{
|
|
6323
|
+
"kind": "custom-element-definition",
|
|
6324
|
+
"name": "w-steps",
|
|
6325
|
+
"declaration": {
|
|
6326
|
+
"name": "WarpSteps",
|
|
6327
|
+
"module": "packages/steps/index.ts"
|
|
6328
|
+
}
|
|
6329
|
+
},
|
|
6330
|
+
{
|
|
6331
|
+
"kind": "custom-element-definition",
|
|
6332
|
+
"name": "w-step",
|
|
6333
|
+
"declaration": {
|
|
6334
|
+
"name": "WarpStep",
|
|
6335
|
+
"module": "packages/steps/index.ts"
|
|
6336
|
+
}
|
|
6337
|
+
},
|
|
6338
|
+
{
|
|
6339
|
+
"kind": "js",
|
|
6340
|
+
"name": "WarpSteps",
|
|
6341
|
+
"declaration": {
|
|
6342
|
+
"name": "WarpSteps",
|
|
6343
|
+
"module": "packages/steps/index.ts"
|
|
6344
|
+
}
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"kind": "js",
|
|
6348
|
+
"name": "WarpStep",
|
|
6349
|
+
"declaration": {
|
|
6350
|
+
"name": "WarpStep",
|
|
6351
|
+
"module": "packages/steps/index.ts"
|
|
6352
|
+
}
|
|
6353
|
+
}
|
|
6354
|
+
]
|
|
6355
|
+
},
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "javascript-module",
|
|
6358
|
+
"path": "packages/switch/index.ts",
|
|
6359
|
+
"declarations": [
|
|
6360
|
+
{
|
|
6361
|
+
"kind": "class",
|
|
6362
|
+
"description": "",
|
|
6363
|
+
"name": "WarpSwitch",
|
|
6364
|
+
"members": [
|
|
6365
|
+
{
|
|
6366
|
+
"kind": "field",
|
|
6367
|
+
"name": "value",
|
|
6368
|
+
"type": {
|
|
6369
|
+
"text": "boolean"
|
|
6370
|
+
},
|
|
6371
|
+
"default": "false",
|
|
6372
|
+
"attribute": "value",
|
|
6373
|
+
"reflects": true
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
"kind": "field",
|
|
6377
|
+
"name": "disabled",
|
|
6378
|
+
"type": {
|
|
6379
|
+
"text": "boolean"
|
|
6380
|
+
},
|
|
6381
|
+
"default": "false",
|
|
6382
|
+
"attribute": "disabled",
|
|
6383
|
+
"reflects": true
|
|
6384
|
+
}
|
|
6385
|
+
],
|
|
6386
|
+
"events": [
|
|
6387
|
+
{
|
|
6388
|
+
"name": "change",
|
|
6389
|
+
"type": {
|
|
6390
|
+
"text": "CustomEvent"
|
|
6391
|
+
}
|
|
6392
|
+
}
|
|
6393
|
+
],
|
|
6394
|
+
"attributes": [
|
|
6395
|
+
{
|
|
6396
|
+
"name": "value",
|
|
6397
|
+
"type": {
|
|
6398
|
+
"text": "boolean"
|
|
6399
|
+
},
|
|
6400
|
+
"default": "false",
|
|
6401
|
+
"fieldName": "value"
|
|
6402
|
+
},
|
|
6403
|
+
{
|
|
6404
|
+
"name": "disabled",
|
|
6405
|
+
"type": {
|
|
6406
|
+
"text": "boolean"
|
|
6407
|
+
},
|
|
6408
|
+
"default": "false",
|
|
6409
|
+
"fieldName": "disabled"
|
|
6410
|
+
}
|
|
6411
|
+
],
|
|
6412
|
+
"superclass": {
|
|
6413
|
+
"name": "LitElement",
|
|
6414
|
+
"package": "lit"
|
|
6415
|
+
},
|
|
6416
|
+
"tagName": "w-switch",
|
|
6417
|
+
"customElement": true,
|
|
6418
|
+
"modulePath": "packages/switch/index.ts",
|
|
6419
|
+
"definitionPath": "packages/switch/index.ts"
|
|
6420
|
+
}
|
|
6421
|
+
],
|
|
6422
|
+
"exports": [
|
|
6423
|
+
{
|
|
6424
|
+
"kind": "js",
|
|
6425
|
+
"name": "WarpSwitch",
|
|
6426
|
+
"declaration": {
|
|
6427
|
+
"name": "WarpSwitch",
|
|
6428
|
+
"module": "packages/switch/index.ts"
|
|
6429
|
+
}
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
"kind": "custom-element-definition",
|
|
6433
|
+
"name": "w-switch",
|
|
6434
|
+
"declaration": {
|
|
6435
|
+
"name": "WarpSwitch",
|
|
6436
|
+
"module": "packages/switch/index.ts"
|
|
6437
|
+
}
|
|
6438
|
+
}
|
|
6439
|
+
]
|
|
6440
|
+
},
|
|
6441
|
+
{
|
|
6442
|
+
"kind": "javascript-module",
|
|
6443
|
+
"path": "packages/tabs/tab.ts",
|
|
6444
|
+
"declarations": [
|
|
6445
|
+
{
|
|
6446
|
+
"kind": "class",
|
|
6447
|
+
"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)",
|
|
6448
|
+
"name": "WarpTab",
|
|
6449
|
+
"members": [
|
|
6450
|
+
{
|
|
6451
|
+
"kind": "field",
|
|
6452
|
+
"name": "name",
|
|
6453
|
+
"type": {
|
|
6454
|
+
"text": "string"
|
|
6455
|
+
},
|
|
6456
|
+
"attribute": "name",
|
|
6457
|
+
"reflects": true
|
|
6458
|
+
},
|
|
6459
|
+
{
|
|
6460
|
+
"kind": "field",
|
|
6461
|
+
"name": "label",
|
|
6462
|
+
"type": {
|
|
6463
|
+
"text": "string"
|
|
6464
|
+
},
|
|
6465
|
+
"default": "''",
|
|
6466
|
+
"attribute": "label",
|
|
6467
|
+
"reflects": true
|
|
6468
|
+
},
|
|
6469
|
+
{
|
|
6470
|
+
"kind": "field",
|
|
6471
|
+
"name": "active",
|
|
6472
|
+
"type": {
|
|
6473
|
+
"text": "boolean"
|
|
6474
|
+
},
|
|
6475
|
+
"default": "false",
|
|
6476
|
+
"attribute": "active",
|
|
6477
|
+
"reflects": true
|
|
6478
|
+
},
|
|
6479
|
+
{
|
|
6480
|
+
"kind": "field",
|
|
6481
|
+
"name": "over",
|
|
6482
|
+
"type": {
|
|
6483
|
+
"text": "boolean"
|
|
6484
|
+
},
|
|
6485
|
+
"default": "false",
|
|
6486
|
+
"attribute": "over",
|
|
6487
|
+
"reflects": true
|
|
6488
|
+
},
|
|
6489
|
+
{
|
|
6490
|
+
"kind": "field",
|
|
6491
|
+
"name": "tabClass",
|
|
6492
|
+
"type": {
|
|
6493
|
+
"text": "string"
|
|
6494
|
+
},
|
|
6495
|
+
"default": "''",
|
|
6496
|
+
"attribute": "tab-class",
|
|
6497
|
+
"reflects": true
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"kind": "field",
|
|
6501
|
+
"name": "_handleClick",
|
|
6502
|
+
"privacy": "private"
|
|
6503
|
+
},
|
|
6504
|
+
{
|
|
6505
|
+
"kind": "field",
|
|
6506
|
+
"name": "_classes",
|
|
6507
|
+
"privacy": "private",
|
|
6508
|
+
"readonly": true
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"kind": "field",
|
|
6512
|
+
"name": "_hasChildren",
|
|
6513
|
+
"privacy": "private",
|
|
6514
|
+
"readonly": true
|
|
6515
|
+
}
|
|
6516
|
+
],
|
|
6517
|
+
"attributes": [
|
|
6518
|
+
{
|
|
6519
|
+
"name": "name",
|
|
6520
|
+
"type": {
|
|
6521
|
+
"text": "string"
|
|
6522
|
+
},
|
|
6523
|
+
"fieldName": "name"
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
"name": "label",
|
|
6288
6527
|
"type": {
|
|
6289
|
-
"text": "
|
|
6290
|
-
}
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6528
|
+
"text": "string"
|
|
6529
|
+
},
|
|
6530
|
+
"default": "''",
|
|
6531
|
+
"fieldName": "label"
|
|
6532
|
+
},
|
|
6294
6533
|
{
|
|
6295
6534
|
"name": "active",
|
|
6296
6535
|
"type": {
|
|
@@ -6300,140 +6539,122 @@
|
|
|
6300
6539
|
"fieldName": "active"
|
|
6301
6540
|
},
|
|
6302
6541
|
{
|
|
6303
|
-
"name": "
|
|
6542
|
+
"name": "over",
|
|
6304
6543
|
"type": {
|
|
6305
6544
|
"text": "boolean"
|
|
6306
6545
|
},
|
|
6307
6546
|
"default": "false",
|
|
6308
|
-
"fieldName": "
|
|
6547
|
+
"fieldName": "over"
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"name": "tab-class",
|
|
6551
|
+
"type": {
|
|
6552
|
+
"text": "string"
|
|
6553
|
+
},
|
|
6554
|
+
"default": "''",
|
|
6555
|
+
"fieldName": "tabClass"
|
|
6309
6556
|
}
|
|
6310
6557
|
],
|
|
6311
6558
|
"superclass": {
|
|
6312
6559
|
"name": "LitElement",
|
|
6313
6560
|
"package": "lit"
|
|
6314
6561
|
},
|
|
6315
|
-
"tagName": "w-
|
|
6562
|
+
"tagName": "w-tab",
|
|
6316
6563
|
"customElement": true,
|
|
6317
|
-
"modulePath": "packages/
|
|
6318
|
-
"definitionPath": "packages/
|
|
6564
|
+
"modulePath": "packages/tabs/tab.ts",
|
|
6565
|
+
"definitionPath": "packages/tabs/tab.ts"
|
|
6319
6566
|
}
|
|
6320
6567
|
],
|
|
6321
6568
|
"exports": [
|
|
6322
|
-
{
|
|
6323
|
-
"kind": "custom-element-definition",
|
|
6324
|
-
"name": "w-steps",
|
|
6325
|
-
"declaration": {
|
|
6326
|
-
"name": "WarpSteps",
|
|
6327
|
-
"module": "packages/steps/index.ts"
|
|
6328
|
-
}
|
|
6329
|
-
},
|
|
6330
|
-
{
|
|
6331
|
-
"kind": "custom-element-definition",
|
|
6332
|
-
"name": "w-step",
|
|
6333
|
-
"declaration": {
|
|
6334
|
-
"name": "WarpStep",
|
|
6335
|
-
"module": "packages/steps/index.ts"
|
|
6336
|
-
}
|
|
6337
|
-
},
|
|
6338
6569
|
{
|
|
6339
6570
|
"kind": "js",
|
|
6340
|
-
"name": "
|
|
6571
|
+
"name": "WarpTab",
|
|
6341
6572
|
"declaration": {
|
|
6342
|
-
"name": "
|
|
6343
|
-
"module": "packages/
|
|
6573
|
+
"name": "WarpTab",
|
|
6574
|
+
"module": "packages/tabs/tab.ts"
|
|
6344
6575
|
}
|
|
6345
6576
|
},
|
|
6346
6577
|
{
|
|
6347
|
-
"kind": "
|
|
6348
|
-
"name": "
|
|
6578
|
+
"kind": "custom-element-definition",
|
|
6579
|
+
"name": "w-tab",
|
|
6349
6580
|
"declaration": {
|
|
6350
|
-
"name": "
|
|
6351
|
-
"module": "packages/
|
|
6581
|
+
"name": "WarpTab",
|
|
6582
|
+
"module": "packages/tabs/tab.ts"
|
|
6352
6583
|
}
|
|
6353
6584
|
}
|
|
6354
6585
|
]
|
|
6355
6586
|
},
|
|
6356
6587
|
{
|
|
6357
6588
|
"kind": "javascript-module",
|
|
6358
|
-
"path": "packages/
|
|
6589
|
+
"path": "packages/tabs/tab-panel.ts",
|
|
6359
6590
|
"declarations": [
|
|
6360
6591
|
{
|
|
6361
6592
|
"kind": "class",
|
|
6362
|
-
"description": "",
|
|
6363
|
-
"name": "
|
|
6593
|
+
"description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6594
|
+
"name": "WarpTabPanel",
|
|
6364
6595
|
"members": [
|
|
6365
6596
|
{
|
|
6366
6597
|
"kind": "field",
|
|
6367
|
-
"name": "
|
|
6598
|
+
"name": "name",
|
|
6368
6599
|
"type": {
|
|
6369
|
-
"text": "
|
|
6600
|
+
"text": "string"
|
|
6370
6601
|
},
|
|
6371
|
-
"
|
|
6372
|
-
"attribute": "value",
|
|
6602
|
+
"attribute": "name",
|
|
6373
6603
|
"reflects": true
|
|
6374
6604
|
},
|
|
6375
6605
|
{
|
|
6376
6606
|
"kind": "field",
|
|
6377
|
-
"name": "
|
|
6607
|
+
"name": "hidden",
|
|
6378
6608
|
"type": {
|
|
6379
6609
|
"text": "boolean"
|
|
6380
6610
|
},
|
|
6381
|
-
"default": "
|
|
6382
|
-
"attribute": "
|
|
6611
|
+
"default": "true",
|
|
6612
|
+
"attribute": "hidden",
|
|
6383
6613
|
"reflects": true
|
|
6384
6614
|
}
|
|
6385
6615
|
],
|
|
6386
|
-
"events": [
|
|
6387
|
-
{
|
|
6388
|
-
"name": "change",
|
|
6389
|
-
"type": {
|
|
6390
|
-
"text": "CustomEvent"
|
|
6391
|
-
}
|
|
6392
|
-
}
|
|
6393
|
-
],
|
|
6394
6616
|
"attributes": [
|
|
6395
6617
|
{
|
|
6396
|
-
"name": "
|
|
6618
|
+
"name": "name",
|
|
6397
6619
|
"type": {
|
|
6398
|
-
"text": "
|
|
6620
|
+
"text": "string"
|
|
6399
6621
|
},
|
|
6400
|
-
"
|
|
6401
|
-
"fieldName": "value"
|
|
6622
|
+
"fieldName": "name"
|
|
6402
6623
|
},
|
|
6403
6624
|
{
|
|
6404
|
-
"name": "
|
|
6625
|
+
"name": "hidden",
|
|
6405
6626
|
"type": {
|
|
6406
6627
|
"text": "boolean"
|
|
6407
6628
|
},
|
|
6408
|
-
"default": "
|
|
6409
|
-
"fieldName": "
|
|
6629
|
+
"default": "true",
|
|
6630
|
+
"fieldName": "hidden"
|
|
6410
6631
|
}
|
|
6411
6632
|
],
|
|
6412
6633
|
"superclass": {
|
|
6413
6634
|
"name": "LitElement",
|
|
6414
6635
|
"package": "lit"
|
|
6415
6636
|
},
|
|
6416
|
-
"tagName": "w-
|
|
6637
|
+
"tagName": "w-tab-panel",
|
|
6417
6638
|
"customElement": true,
|
|
6418
|
-
"modulePath": "packages/
|
|
6419
|
-
"definitionPath": "packages/
|
|
6639
|
+
"modulePath": "packages/tabs/tab-panel.ts",
|
|
6640
|
+
"definitionPath": "packages/tabs/tab-panel.ts"
|
|
6420
6641
|
}
|
|
6421
6642
|
],
|
|
6422
6643
|
"exports": [
|
|
6423
6644
|
{
|
|
6424
6645
|
"kind": "js",
|
|
6425
|
-
"name": "
|
|
6646
|
+
"name": "WarpTabPanel",
|
|
6426
6647
|
"declaration": {
|
|
6427
|
-
"name": "
|
|
6428
|
-
"module": "packages/
|
|
6648
|
+
"name": "WarpTabPanel",
|
|
6649
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
6429
6650
|
}
|
|
6430
6651
|
},
|
|
6431
6652
|
{
|
|
6432
6653
|
"kind": "custom-element-definition",
|
|
6433
|
-
"name": "w-
|
|
6654
|
+
"name": "w-tab-panel",
|
|
6434
6655
|
"declaration": {
|
|
6435
|
-
"name": "
|
|
6436
|
-
"module": "packages/
|
|
6656
|
+
"name": "WarpTabPanel",
|
|
6657
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
6437
6658
|
}
|
|
6438
6659
|
}
|
|
6439
6660
|
]
|
|
@@ -6505,212 +6726,76 @@
|
|
|
6505
6726
|
"name": "_updateSelectionIndicatorDebounced",
|
|
6506
6727
|
"privacy": "private"
|
|
6507
6728
|
},
|
|
6508
|
-
{
|
|
6509
|
-
"kind": "method",
|
|
6510
|
-
"name": "_initializeActiveTab",
|
|
6511
|
-
"privacy": "private"
|
|
6512
|
-
},
|
|
6513
|
-
{
|
|
6514
|
-
"kind": "field",
|
|
6515
|
-
"name": "_handleTabClick",
|
|
6516
|
-
"privacy": "private"
|
|
6517
|
-
},
|
|
6518
|
-
{
|
|
6519
|
-
"kind": "method",
|
|
6520
|
-
"name": "_notifyTabChange",
|
|
6521
|
-
"privacy": "private"
|
|
6522
|
-
},
|
|
6523
|
-
{
|
|
6524
|
-
"kind": "method",
|
|
6525
|
-
"name": "updateSelectionIndicator",
|
|
6526
|
-
"privacy": "private"
|
|
6527
|
-
},
|
|
6528
|
-
{
|
|
6529
|
-
"kind": "method",
|
|
6530
|
-
"name": "updatePanels",
|
|
6531
|
-
"privacy": "private"
|
|
6532
|
-
},
|
|
6533
6729
|
{
|
|
6534
6730
|
"kind": "field",
|
|
6535
|
-
"name": "
|
|
6536
|
-
"privacy": "private"
|
|
6537
|
-
},
|
|
6538
|
-
{
|
|
6539
|
-
"kind": "field",
|
|
6540
|
-
"name": "_tabCount",
|
|
6541
|
-
"privacy": "private",
|
|
6731
|
+
"name": "tabs",
|
|
6542
6732
|
"readonly": true
|
|
6543
6733
|
},
|
|
6544
6734
|
{
|
|
6545
6735
|
"kind": "field",
|
|
6546
|
-
"name": "
|
|
6547
|
-
"privacy": "private",
|
|
6736
|
+
"name": "activeTab",
|
|
6548
6737
|
"readonly": true
|
|
6549
|
-
}
|
|
6550
|
-
],
|
|
6551
|
-
"events": [
|
|
6552
|
-
{
|
|
6553
|
-
"name": "change",
|
|
6554
|
-
"type": {
|
|
6555
|
-
"text": "CustomEvent"
|
|
6556
|
-
}
|
|
6557
|
-
}
|
|
6558
|
-
],
|
|
6559
|
-
"attributes": [
|
|
6560
|
-
{
|
|
6561
|
-
"name": "active",
|
|
6562
|
-
"type": {
|
|
6563
|
-
"text": "string"
|
|
6564
|
-
},
|
|
6565
|
-
"default": "''",
|
|
6566
|
-
"fieldName": "active"
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"name": "tab-class",
|
|
6570
|
-
"type": {
|
|
6571
|
-
"text": "string"
|
|
6572
|
-
},
|
|
6573
|
-
"default": "''",
|
|
6574
|
-
"fieldName": "tabClass"
|
|
6575
|
-
}
|
|
6576
|
-
],
|
|
6577
|
-
"superclass": {
|
|
6578
|
-
"name": "LitElement",
|
|
6579
|
-
"package": "lit"
|
|
6580
|
-
},
|
|
6581
|
-
"tagName": "w-tabs",
|
|
6582
|
-
"customElement": true,
|
|
6583
|
-
"modulePath": "packages/tabs/tabs.ts",
|
|
6584
|
-
"definitionPath": "packages/tabs/tabs.ts"
|
|
6585
|
-
}
|
|
6586
|
-
],
|
|
6587
|
-
"exports": [
|
|
6588
|
-
{
|
|
6589
|
-
"kind": "js",
|
|
6590
|
-
"name": "WarpTabs",
|
|
6591
|
-
"declaration": {
|
|
6592
|
-
"name": "WarpTabs",
|
|
6593
|
-
"module": "packages/tabs/tabs.ts"
|
|
6594
|
-
}
|
|
6595
|
-
},
|
|
6596
|
-
{
|
|
6597
|
-
"kind": "custom-element-definition",
|
|
6598
|
-
"name": "w-tabs",
|
|
6599
|
-
"declaration": {
|
|
6600
|
-
"name": "WarpTabs",
|
|
6601
|
-
"module": "packages/tabs/tabs.ts"
|
|
6602
|
-
}
|
|
6603
|
-
}
|
|
6604
|
-
]
|
|
6605
|
-
},
|
|
6606
|
-
{
|
|
6607
|
-
"kind": "javascript-module",
|
|
6608
|
-
"path": "packages/tabs/tab.ts",
|
|
6609
|
-
"declarations": [
|
|
6610
|
-
{
|
|
6611
|
-
"kind": "class",
|
|
6612
|
-
"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)",
|
|
6613
|
-
"name": "WarpTab",
|
|
6614
|
-
"members": [
|
|
6615
|
-
{
|
|
6616
|
-
"kind": "field",
|
|
6617
|
-
"name": "name",
|
|
6618
|
-
"type": {
|
|
6619
|
-
"text": "string"
|
|
6620
|
-
},
|
|
6621
|
-
"attribute": "name",
|
|
6622
|
-
"reflects": true
|
|
6623
6738
|
},
|
|
6624
6739
|
{
|
|
6625
|
-
"kind": "
|
|
6626
|
-
"name": "
|
|
6627
|
-
"
|
|
6628
|
-
"text": "string"
|
|
6629
|
-
},
|
|
6630
|
-
"default": "''",
|
|
6631
|
-
"attribute": "label",
|
|
6632
|
-
"reflects": true
|
|
6740
|
+
"kind": "method",
|
|
6741
|
+
"name": "_initializeActiveTab",
|
|
6742
|
+
"privacy": "private"
|
|
6633
6743
|
},
|
|
6634
6744
|
{
|
|
6635
6745
|
"kind": "field",
|
|
6636
|
-
"name": "
|
|
6637
|
-
"
|
|
6638
|
-
"text": "boolean"
|
|
6639
|
-
},
|
|
6640
|
-
"default": "false",
|
|
6641
|
-
"attribute": "active",
|
|
6642
|
-
"reflects": true
|
|
6746
|
+
"name": "_handleTabClick",
|
|
6747
|
+
"privacy": "private"
|
|
6643
6748
|
},
|
|
6644
6749
|
{
|
|
6645
|
-
"kind": "
|
|
6646
|
-
"name": "
|
|
6647
|
-
"
|
|
6648
|
-
"text": "boolean"
|
|
6649
|
-
},
|
|
6650
|
-
"default": "false",
|
|
6651
|
-
"attribute": "over",
|
|
6652
|
-
"reflects": true
|
|
6750
|
+
"kind": "method",
|
|
6751
|
+
"name": "_notifyTabChange",
|
|
6752
|
+
"privacy": "private"
|
|
6653
6753
|
},
|
|
6654
6754
|
{
|
|
6655
|
-
"kind": "
|
|
6656
|
-
"name": "
|
|
6657
|
-
"
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
"
|
|
6661
|
-
"
|
|
6662
|
-
"
|
|
6755
|
+
"kind": "method",
|
|
6756
|
+
"name": "updateSelectionIndicator",
|
|
6757
|
+
"privacy": "private"
|
|
6758
|
+
},
|
|
6759
|
+
{
|
|
6760
|
+
"kind": "method",
|
|
6761
|
+
"name": "updatePanels",
|
|
6762
|
+
"privacy": "private"
|
|
6663
6763
|
},
|
|
6664
6764
|
{
|
|
6665
6765
|
"kind": "field",
|
|
6666
|
-
"name": "
|
|
6766
|
+
"name": "_handleKeyDown",
|
|
6667
6767
|
"privacy": "private"
|
|
6668
6768
|
},
|
|
6669
6769
|
{
|
|
6670
6770
|
"kind": "field",
|
|
6671
|
-
"name": "
|
|
6771
|
+
"name": "_tabCount",
|
|
6672
6772
|
"privacy": "private",
|
|
6673
6773
|
"readonly": true
|
|
6674
6774
|
},
|
|
6675
6775
|
{
|
|
6676
6776
|
"kind": "field",
|
|
6677
|
-
"name": "
|
|
6777
|
+
"name": "_gridClass",
|
|
6678
6778
|
"privacy": "private",
|
|
6679
6779
|
"readonly": true
|
|
6680
6780
|
}
|
|
6681
6781
|
],
|
|
6682
|
-
"
|
|
6782
|
+
"events": [
|
|
6683
6783
|
{
|
|
6684
|
-
"name": "
|
|
6784
|
+
"name": "change",
|
|
6685
6785
|
"type": {
|
|
6686
|
-
"text": "
|
|
6687
|
-
}
|
|
6688
|
-
|
|
6689
|
-
|
|
6786
|
+
"text": "CustomEvent"
|
|
6787
|
+
}
|
|
6788
|
+
}
|
|
6789
|
+
],
|
|
6790
|
+
"attributes": [
|
|
6690
6791
|
{
|
|
6691
|
-
"name": "
|
|
6792
|
+
"name": "active",
|
|
6692
6793
|
"type": {
|
|
6693
6794
|
"text": "string"
|
|
6694
6795
|
},
|
|
6695
6796
|
"default": "''",
|
|
6696
|
-
"fieldName": "label"
|
|
6697
|
-
},
|
|
6698
|
-
{
|
|
6699
|
-
"name": "active",
|
|
6700
|
-
"type": {
|
|
6701
|
-
"text": "boolean"
|
|
6702
|
-
},
|
|
6703
|
-
"default": "false",
|
|
6704
6797
|
"fieldName": "active"
|
|
6705
6798
|
},
|
|
6706
|
-
{
|
|
6707
|
-
"name": "over",
|
|
6708
|
-
"type": {
|
|
6709
|
-
"text": "boolean"
|
|
6710
|
-
},
|
|
6711
|
-
"default": "false",
|
|
6712
|
-
"fieldName": "over"
|
|
6713
|
-
},
|
|
6714
6799
|
{
|
|
6715
6800
|
"name": "tab-class",
|
|
6716
6801
|
"type": {
|
|
@@ -6724,150 +6809,230 @@
|
|
|
6724
6809
|
"name": "LitElement",
|
|
6725
6810
|
"package": "lit"
|
|
6726
6811
|
},
|
|
6727
|
-
"tagName": "w-
|
|
6812
|
+
"tagName": "w-tabs",
|
|
6728
6813
|
"customElement": true,
|
|
6729
|
-
"modulePath": "packages/tabs/
|
|
6730
|
-
"definitionPath": "packages/tabs/
|
|
6814
|
+
"modulePath": "packages/tabs/tabs.ts",
|
|
6815
|
+
"definitionPath": "packages/tabs/tabs.ts"
|
|
6731
6816
|
}
|
|
6732
6817
|
],
|
|
6733
6818
|
"exports": [
|
|
6734
6819
|
{
|
|
6735
6820
|
"kind": "js",
|
|
6736
|
-
"name": "
|
|
6821
|
+
"name": "WarpTabs",
|
|
6737
6822
|
"declaration": {
|
|
6738
|
-
"name": "
|
|
6739
|
-
"module": "packages/tabs/
|
|
6823
|
+
"name": "WarpTabs",
|
|
6824
|
+
"module": "packages/tabs/tabs.ts"
|
|
6740
6825
|
}
|
|
6741
6826
|
},
|
|
6742
6827
|
{
|
|
6743
6828
|
"kind": "custom-element-definition",
|
|
6744
|
-
"name": "w-
|
|
6829
|
+
"name": "w-tabs",
|
|
6830
|
+
"declaration": {
|
|
6831
|
+
"name": "WarpTabs",
|
|
6832
|
+
"module": "packages/tabs/tabs.ts"
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
]
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"kind": "javascript-module",
|
|
6839
|
+
"path": "packages/tabs/index.ts",
|
|
6840
|
+
"declarations": [],
|
|
6841
|
+
"exports": [
|
|
6842
|
+
{
|
|
6843
|
+
"kind": "js",
|
|
6844
|
+
"name": "WarpTab",
|
|
6745
6845
|
"declaration": {
|
|
6746
6846
|
"name": "WarpTab",
|
|
6747
|
-
"module": "
|
|
6847
|
+
"module": "./tab.js"
|
|
6848
|
+
}
|
|
6849
|
+
},
|
|
6850
|
+
{
|
|
6851
|
+
"kind": "js",
|
|
6852
|
+
"name": "WarpTabPanel",
|
|
6853
|
+
"declaration": {
|
|
6854
|
+
"name": "WarpTabPanel",
|
|
6855
|
+
"module": "./tab-panel.js"
|
|
6856
|
+
}
|
|
6857
|
+
},
|
|
6858
|
+
{
|
|
6859
|
+
"kind": "js",
|
|
6860
|
+
"name": "TabChangeEvent",
|
|
6861
|
+
"declaration": {
|
|
6862
|
+
"name": "TabChangeEvent",
|
|
6863
|
+
"module": "./tabs.js"
|
|
6864
|
+
}
|
|
6865
|
+
},
|
|
6866
|
+
{
|
|
6867
|
+
"kind": "js",
|
|
6868
|
+
"name": "WarpTabs",
|
|
6869
|
+
"declaration": {
|
|
6870
|
+
"name": "WarpTabs",
|
|
6871
|
+
"module": "./tabs.js"
|
|
6748
6872
|
}
|
|
6749
6873
|
}
|
|
6750
6874
|
]
|
|
6751
6875
|
},
|
|
6752
6876
|
{
|
|
6753
6877
|
"kind": "javascript-module",
|
|
6754
|
-
"path": "packages/
|
|
6878
|
+
"path": "packages/toast/toast.ts",
|
|
6879
|
+
"declarations": [],
|
|
6880
|
+
"exports": []
|
|
6881
|
+
},
|
|
6882
|
+
{
|
|
6883
|
+
"kind": "javascript-module",
|
|
6884
|
+
"path": "packages/toast/toast-container.ts",
|
|
6755
6885
|
"declarations": [
|
|
6756
6886
|
{
|
|
6757
6887
|
"kind": "class",
|
|
6758
|
-
"description": "
|
|
6759
|
-
"name": "
|
|
6888
|
+
"description": "",
|
|
6889
|
+
"name": "WarpToastContainer",
|
|
6760
6890
|
"members": [
|
|
6761
6891
|
{
|
|
6762
6892
|
"kind": "field",
|
|
6763
|
-
"name": "
|
|
6893
|
+
"name": "_toasts",
|
|
6764
6894
|
"type": {
|
|
6765
|
-
"text": "string"
|
|
6895
|
+
"text": "Map<string | number, ToastInternal>"
|
|
6766
6896
|
},
|
|
6767
|
-
"
|
|
6768
|
-
"
|
|
6897
|
+
"privacy": "private",
|
|
6898
|
+
"default": "new Map()"
|
|
6769
6899
|
},
|
|
6770
6900
|
{
|
|
6771
6901
|
"kind": "field",
|
|
6772
|
-
"name": "
|
|
6902
|
+
"name": "_interval",
|
|
6773
6903
|
"type": {
|
|
6774
|
-
"text": "
|
|
6904
|
+
"text": "NodeJS.Timeout | undefined"
|
|
6775
6905
|
},
|
|
6776
|
-
"
|
|
6777
|
-
|
|
6778
|
-
"reflects": true
|
|
6779
|
-
}
|
|
6780
|
-
],
|
|
6781
|
-
"attributes": [
|
|
6906
|
+
"privacy": "private"
|
|
6907
|
+
},
|
|
6782
6908
|
{
|
|
6783
|
-
"
|
|
6909
|
+
"kind": "method",
|
|
6910
|
+
"name": "init",
|
|
6911
|
+
"privacy": "public",
|
|
6912
|
+
"static": true,
|
|
6784
6913
|
"type": {
|
|
6785
|
-
"text": "
|
|
6914
|
+
"text": "init() => void"
|
|
6915
|
+
}
|
|
6916
|
+
},
|
|
6917
|
+
{
|
|
6918
|
+
"kind": "method",
|
|
6919
|
+
"name": "get",
|
|
6920
|
+
"return": {
|
|
6921
|
+
"type": {
|
|
6922
|
+
"text": "ToastInternal | undefined"
|
|
6923
|
+
}
|
|
6786
6924
|
},
|
|
6787
|
-
"
|
|
6925
|
+
"parameters": [
|
|
6926
|
+
{
|
|
6927
|
+
"name": "id",
|
|
6928
|
+
"type": {
|
|
6929
|
+
"text": "string | number"
|
|
6930
|
+
}
|
|
6931
|
+
}
|
|
6932
|
+
],
|
|
6933
|
+
"type": {
|
|
6934
|
+
"text": "get(id: string | number) => ToastInternal | undefined"
|
|
6935
|
+
}
|
|
6788
6936
|
},
|
|
6789
6937
|
{
|
|
6790
|
-
"
|
|
6938
|
+
"kind": "method",
|
|
6939
|
+
"name": "set",
|
|
6940
|
+
"return": {
|
|
6941
|
+
"type": {
|
|
6942
|
+
"text": "Map<string | number, ToastInternal>"
|
|
6943
|
+
}
|
|
6944
|
+
},
|
|
6945
|
+
"parameters": [
|
|
6946
|
+
{
|
|
6947
|
+
"name": "toast",
|
|
6948
|
+
"type": {
|
|
6949
|
+
"text": "ToastOptions"
|
|
6950
|
+
}
|
|
6951
|
+
}
|
|
6952
|
+
],
|
|
6791
6953
|
"type": {
|
|
6792
|
-
"text": "
|
|
6954
|
+
"text": "set(toast: ToastOptions) => Map<string | number, ToastInternal>"
|
|
6955
|
+
}
|
|
6956
|
+
},
|
|
6957
|
+
{
|
|
6958
|
+
"kind": "method",
|
|
6959
|
+
"name": "del",
|
|
6960
|
+
"return": {
|
|
6961
|
+
"type": {
|
|
6962
|
+
"text": "Promise<boolean>"
|
|
6963
|
+
}
|
|
6793
6964
|
},
|
|
6794
|
-
"
|
|
6795
|
-
|
|
6965
|
+
"parameters": [
|
|
6966
|
+
{
|
|
6967
|
+
"name": "id",
|
|
6968
|
+
"type": {
|
|
6969
|
+
"text": "string | number"
|
|
6970
|
+
}
|
|
6971
|
+
}
|
|
6972
|
+
],
|
|
6973
|
+
"type": {
|
|
6974
|
+
"text": "del(id: string | number) => Promise<boolean>"
|
|
6975
|
+
}
|
|
6796
6976
|
}
|
|
6797
6977
|
],
|
|
6798
6978
|
"superclass": {
|
|
6799
6979
|
"name": "LitElement",
|
|
6800
6980
|
"package": "lit"
|
|
6801
6981
|
},
|
|
6802
|
-
"tagName": "w-
|
|
6982
|
+
"tagName": "w-toast-container",
|
|
6803
6983
|
"customElement": true,
|
|
6804
|
-
"modulePath": "packages/
|
|
6805
|
-
"definitionPath": "packages/
|
|
6984
|
+
"modulePath": "packages/toast/toast-container.ts",
|
|
6985
|
+
"definitionPath": "packages/toast/toast-container.ts"
|
|
6806
6986
|
}
|
|
6807
6987
|
],
|
|
6808
6988
|
"exports": [
|
|
6809
6989
|
{
|
|
6810
6990
|
"kind": "js",
|
|
6811
|
-
"name": "
|
|
6991
|
+
"name": "WarpToastContainer",
|
|
6812
6992
|
"declaration": {
|
|
6813
|
-
"name": "
|
|
6814
|
-
"module": "packages/
|
|
6993
|
+
"name": "WarpToastContainer",
|
|
6994
|
+
"module": "packages/toast/toast-container.ts"
|
|
6815
6995
|
}
|
|
6816
6996
|
},
|
|
6817
6997
|
{
|
|
6818
6998
|
"kind": "custom-element-definition",
|
|
6819
|
-
"name": "w-
|
|
6999
|
+
"name": "w-toast-container",
|
|
6820
7000
|
"declaration": {
|
|
6821
|
-
"name": "
|
|
6822
|
-
"module": "packages/
|
|
7001
|
+
"name": "WarpToastContainer",
|
|
7002
|
+
"module": "packages/toast/toast-container.ts"
|
|
6823
7003
|
}
|
|
6824
7004
|
}
|
|
6825
7005
|
]
|
|
6826
7006
|
},
|
|
6827
7007
|
{
|
|
6828
7008
|
"kind": "javascript-module",
|
|
6829
|
-
"path": "packages/
|
|
7009
|
+
"path": "packages/toast/index.ts",
|
|
6830
7010
|
"declarations": [],
|
|
6831
7011
|
"exports": [
|
|
6832
7012
|
{
|
|
6833
7013
|
"kind": "js",
|
|
6834
|
-
"name": "
|
|
7014
|
+
"name": "removeToast",
|
|
6835
7015
|
"declaration": {
|
|
6836
|
-
"name": "
|
|
6837
|
-
"module": "./
|
|
7016
|
+
"name": "removeToast",
|
|
7017
|
+
"module": "./api"
|
|
6838
7018
|
}
|
|
6839
7019
|
},
|
|
6840
7020
|
{
|
|
6841
7021
|
"kind": "js",
|
|
6842
|
-
"name": "
|
|
7022
|
+
"name": "toast",
|
|
6843
7023
|
"declaration": {
|
|
6844
|
-
"name": "
|
|
6845
|
-
"module": "./
|
|
7024
|
+
"name": "toast",
|
|
7025
|
+
"module": "./api"
|
|
6846
7026
|
}
|
|
6847
7027
|
},
|
|
6848
7028
|
{
|
|
6849
7029
|
"kind": "js",
|
|
6850
|
-
"name": "
|
|
7030
|
+
"name": "updateToast",
|
|
6851
7031
|
"declaration": {
|
|
6852
|
-
"name": "
|
|
6853
|
-
"module": "./
|
|
7032
|
+
"name": "updateToast",
|
|
7033
|
+
"module": "./api"
|
|
6854
7034
|
}
|
|
6855
7035
|
},
|
|
6856
|
-
{
|
|
6857
|
-
"kind": "js",
|
|
6858
|
-
"name": "TabChangeEvent",
|
|
6859
|
-
"declaration": {
|
|
6860
|
-
"name": "TabChangeEvent",
|
|
6861
|
-
"module": "./tabs.js"
|
|
6862
|
-
}
|
|
6863
|
-
}
|
|
6864
|
-
]
|
|
6865
|
-
},
|
|
6866
|
-
{
|
|
6867
|
-
"kind": "javascript-module",
|
|
6868
|
-
"path": "packages/toast/index.ts",
|
|
6869
|
-
"declarations": [],
|
|
6870
|
-
"exports": [
|
|
6871
7036
|
{
|
|
6872
7037
|
"kind": "js",
|
|
6873
7038
|
"name": "WarpToast",
|
|
@@ -6883,30 +7048,6 @@
|
|
|
6883
7048
|
"name": "WarpToastContainer",
|
|
6884
7049
|
"module": "./toast-container"
|
|
6885
7050
|
}
|
|
6886
|
-
},
|
|
6887
|
-
{
|
|
6888
|
-
"kind": "js",
|
|
6889
|
-
"name": "toast",
|
|
6890
|
-
"declaration": {
|
|
6891
|
-
"name": "toast",
|
|
6892
|
-
"module": "./api"
|
|
6893
|
-
}
|
|
6894
|
-
},
|
|
6895
|
-
{
|
|
6896
|
-
"kind": "js",
|
|
6897
|
-
"name": "updateToast",
|
|
6898
|
-
"declaration": {
|
|
6899
|
-
"name": "updateToast",
|
|
6900
|
-
"module": "./api"
|
|
6901
|
-
}
|
|
6902
|
-
},
|
|
6903
|
-
{
|
|
6904
|
-
"kind": "js",
|
|
6905
|
-
"name": "removeToast",
|
|
6906
|
-
"declaration": {
|
|
6907
|
-
"name": "removeToast",
|
|
6908
|
-
"module": "./api"
|
|
6909
|
-
}
|
|
6910
7051
|
}
|
|
6911
7052
|
]
|
|
6912
7053
|
},
|