@warp-ds/elements 2.5.1 → 2.6.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/.storybook/utilities.d.ts +1 -0
  2. package/dist/.storybook/utilities.js +22 -14
  3. package/dist/custom-elements.json +2806 -2023
  4. package/dist/index.d.ts +1394 -998
  5. package/dist/packages/combobox/combobox.d.ts +5 -0
  6. package/dist/packages/combobox/combobox.js +12 -12
  7. package/dist/packages/combobox/combobox.js.map +3 -3
  8. package/dist/packages/combobox/combobox.stories.js +7 -7
  9. package/dist/packages/combobox/combobox.test.js +90 -0
  10. package/dist/packages/pagination/locales/da/messages.d.mts +1 -0
  11. package/dist/packages/pagination/locales/da/messages.mjs +1 -0
  12. package/dist/packages/pagination/locales/en/messages.d.mts +1 -0
  13. package/dist/packages/pagination/locales/en/messages.mjs +1 -0
  14. package/dist/packages/pagination/locales/fi/messages.d.mts +1 -0
  15. package/dist/packages/pagination/locales/fi/messages.mjs +1 -0
  16. package/dist/packages/pagination/locales/nb/messages.d.mts +1 -0
  17. package/dist/packages/pagination/locales/nb/messages.mjs +1 -0
  18. package/dist/packages/pagination/locales/sv/messages.d.mts +1 -0
  19. package/dist/packages/pagination/locales/sv/messages.mjs +1 -0
  20. package/dist/packages/pagination/pagination.d.ts +32 -0
  21. package/dist/packages/pagination/pagination.js +2503 -0
  22. package/dist/packages/pagination/pagination.js.map +7 -0
  23. package/dist/packages/pagination/pagination.react.stories.d.ts +21 -0
  24. package/dist/packages/pagination/pagination.react.stories.js +45 -0
  25. package/dist/packages/pagination/pagination.stories.d.ts +14 -0
  26. package/dist/packages/pagination/pagination.stories.js +56 -0
  27. package/dist/packages/pagination/pagination.test.d.ts +1 -0
  28. package/dist/packages/pagination/pagination.test.js +76 -0
  29. package/dist/packages/pagination/react.d.ts +5 -0
  30. package/dist/packages/pagination/react.js +15 -0
  31. package/dist/packages/pagination/styles.d.ts +1 -0
  32. package/dist/packages/pagination/styles.js +2 -0
  33. package/dist/packages/step/locales/da/messages.d.mts +1 -0
  34. package/dist/packages/step/locales/da/messages.mjs +1 -0
  35. package/dist/packages/step/locales/en/messages.d.mts +1 -0
  36. package/dist/packages/step/locales/en/messages.mjs +1 -0
  37. package/dist/packages/step/locales/fi/messages.d.mts +1 -0
  38. package/dist/packages/step/locales/fi/messages.mjs +1 -0
  39. package/dist/packages/step/locales/nb/messages.d.mts +1 -0
  40. package/dist/packages/step/locales/nb/messages.mjs +1 -0
  41. package/dist/packages/step/locales/sv/messages.d.mts +1 -0
  42. package/dist/packages/step/locales/sv/messages.mjs +1 -0
  43. package/dist/packages/step/react.d.ts +2 -0
  44. package/dist/packages/step/react.js +11 -0
  45. package/dist/packages/step/step.d.ts +22 -0
  46. package/dist/packages/step/step.js +2461 -0
  47. package/dist/packages/step/step.js.map +7 -0
  48. package/dist/packages/step-indicator/index.d.ts +2 -0
  49. package/dist/packages/step-indicator/index.js +2 -0
  50. package/dist/packages/step-indicator/react.d.ts +3 -0
  51. package/dist/packages/step-indicator/react.js +13 -0
  52. package/dist/packages/step-indicator/step-indicator.d.ts +14 -0
  53. package/dist/packages/step-indicator/step-indicator.js +2445 -0
  54. package/dist/packages/step-indicator/step-indicator.js.map +7 -0
  55. package/dist/packages/step-indicator/stepindicator.react.stories.d.ts +15 -0
  56. package/dist/packages/step-indicator/stepindicator.react.stories.js +112 -0
  57. package/dist/packages/step-indicator/stepindicator.stories.d.ts +13 -0
  58. package/dist/packages/step-indicator/stepindicator.stories.js +173 -0
  59. package/dist/packages/step-indicator/styles.d.ts +1 -0
  60. package/dist/packages/step-indicator/styles.js +2 -0
  61. package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
  62. package/dist/packages/textarea/locales/da/messages.mjs +1 -0
  63. package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
  64. package/dist/packages/textarea/locales/en/messages.mjs +1 -0
  65. package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
  66. package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
  67. package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
  68. package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
  69. package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
  70. package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
  71. package/dist/packages/textarea/react.d.ts +11 -0
  72. package/dist/packages/textarea/react.js +21 -0
  73. package/dist/packages/textarea/styles.d.ts +1 -0
  74. package/dist/packages/textarea/styles.js +2 -0
  75. package/dist/packages/textarea/textarea.d.ts +62 -0
  76. package/dist/packages/textarea/textarea.js +2476 -0
  77. package/dist/packages/textarea/textarea.js.map +7 -0
  78. package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
  79. package/dist/packages/textarea/textarea.react.stories.js +41 -0
  80. package/dist/packages/textarea/textarea.stories.d.ts +20 -0
  81. package/dist/packages/textarea/textarea.stories.js +113 -0
  82. package/dist/packages/textarea/textarea.test.d.ts +1 -0
  83. package/dist/packages/textarea/textarea.test.js +172 -0
  84. package/dist/packages/toast/toast.d.ts +1 -0
  85. package/dist/packages/toast/toast.js +11 -11
  86. package/dist/packages/toast/toast.js.map +4 -4
  87. package/dist/packages/utils.d.ts +1 -0
  88. package/dist/packages/utils.js +4 -0
  89. package/dist/web-types.json +568 -432
  90. package/package.json +18 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@warp-ds/elements",
4
- "version": "2.5.0",
4
+ "version": "2.6.0-next.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -350,292 +350,351 @@
350
350
  }
351
351
  },
352
352
  {
353
- "name": "w-expandable",
354
- "description": "Expandable is a layout component used for creating expandable content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)\n---\n\n\n### **Slots:**\n - **title** - Alternative to the `title` attribute should you need to provide some additional markup.",
353
+ "name": "w-combobox",
354
+ "description": "A combobox element for text input with selectable options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)\n---\n",
355
355
  "doc-url": "",
356
356
  "attributes": [
357
357
  {
358
- "name": "expanded",
359
- "value": { "type": "boolean", "default": "false" }
358
+ "name": "options",
359
+ "description": "The available options to select from",
360
+ "value": { "type": "ComboboxOption[]", "default": "[]" }
360
361
  },
361
- { "name": "title", "value": { "type": "string" } },
362
362
  {
363
- "name": "box",
364
- "value": { "type": "boolean", "default": "false" }
363
+ "name": "label",
364
+ "description": "Label above input",
365
+ "value": { "type": "string | undefined" }
365
366
  },
366
367
  {
367
- "name": "bleed",
368
- "value": { "type": "boolean", "default": "false" }
368
+ "name": "placeholder",
369
+ "description": "Input placeholder",
370
+ "value": { "type": "string | undefined" }
369
371
  },
370
- { "name": "button-class", "value": { "type": "string" } },
371
- { "name": "content-class", "value": { "type": "string" } },
372
372
  {
373
- "name": "no-chevron",
374
- "value": { "type": "boolean", "default": "false" }
373
+ "name": "value",
374
+ "description": "The input value",
375
+ "value": { "type": "string", "default": "''" }
375
376
  },
376
377
  {
377
- "name": "animated",
378
+ "name": "open-on-focus",
379
+ "description": "Whether the popover opens when focus is on the text field",
378
380
  "value": { "type": "boolean", "default": "false" }
379
381
  },
380
- { "name": "heading-level", "value": { "type": "number" } },
381
382
  {
382
- "name": "_hasTitle",
383
+ "name": "select-on-blur",
384
+ "description": "Select active option on blur",
383
385
  "value": { "type": "boolean", "default": "true" }
384
386
  },
385
387
  {
386
- "name": "_showChevronUp",
387
- "value": { "type": "boolean", "default": "false" }
388
- }
389
- ],
390
- "slots": [
391
- {
392
- "name": "title",
393
- "description": "Alternative to the `title` attribute should you need to provide some additional markup."
394
- }
395
- ],
396
- "events": [],
397
- "js": {
398
- "properties": [
399
- { "name": "expanded", "type": "boolean" },
400
- { "name": "title", "type": "string" },
401
- { "name": "box", "type": "boolean" },
402
- { "name": "bleed", "type": "boolean" },
403
- { "name": "buttonClass", "type": "string" },
404
- { "name": "contentClass", "type": "string" },
405
- { "name": "noChevron", "type": "boolean" },
406
- { "name": "animated", "type": "boolean" },
407
- { "name": "headingLevel", "type": "number" },
408
- { "name": "_hasTitle", "type": "boolean" },
409
- { "name": "_showChevronUp", "type": "boolean" }
410
- ],
411
- "events": []
412
- }
413
- },
414
- {
415
- "name": "w-pill",
416
- "description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)\n---\n\n\n### **Events:**\n - **w-pill-click**\n- **w-pill-close**",
417
- "doc-url": "",
418
- "attributes": [
419
- {
420
- "name": "can-close",
388
+ "name": "match-text-segments",
389
+ "description": "Whether the matching text segments in the options should be highlighted",
421
390
  "value": { "type": "boolean", "default": "false" }
422
391
  },
423
392
  {
424
- "name": "suggestion",
393
+ "name": "disable-static-filtering",
394
+ "description": "Disable client-side static filtering",
425
395
  "value": { "type": "boolean", "default": "false" }
426
396
  },
427
- { "name": "open-sr-label", "value": { "type": "string" } },
428
- { "name": "open-aria-label", "value": { "type": "string" } },
429
- { "name": "close-sr-label", "value": { "type": "string" } },
430
- { "name": "close-aria-label", "value": { "type": "string" } }
431
- ],
432
- "events": [
433
- { "name": "w-pill-click", "type": "CustomEvent" },
434
- { "name": "w-pill-close", "type": "CustomEvent" }
435
- ],
436
- "js": {
437
- "properties": [
438
- { "name": "canClose", "type": "boolean" },
439
- { "name": "suggestion", "type": "boolean" },
440
- { "name": "openSrLabel", "type": "string" },
441
- { "name": "openAriaLabel", "type": "string" },
442
- { "name": "closeSrLabel", "type": "string" },
443
- { "name": "closeAriaLabel", "type": "string" },
444
- { "name": "openFilterSrText" },
445
- { "name": "removeFilterSrText" }
446
- ],
447
- "events": [
448
- { "name": "w-pill-click", "type": "CustomEvent" },
449
- { "name": "w-pill-close", "type": "CustomEvent" }
450
- ]
451
- }
452
- },
453
- {
454
- "name": "w-select",
455
- "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)\n---\n",
456
- "doc-url": "",
457
- "attributes": [
458
- {
459
- "name": "auto-focus",
460
- "description": "Whether the element should receive focus on render.",
461
- "value": { "type": "boolean" }
462
- },
463
- {
464
- "name": "autofocus",
465
- "description": "Whether the element should receive focus on render",
466
- "value": { "type": "boolean" }
467
- },
468
- {
469
- "name": "help-text",
470
- "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
471
- "value": { "type": "string" }
472
- },
473
397
  {
474
398
  "name": "invalid",
475
- "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
476
- "value": { "type": "boolean" }
399
+ "description": "Renders the input field in an invalid state",
400
+ "value": { "type": "boolean", "default": "false" }
477
401
  },
478
402
  {
479
- "name": "always",
480
- "description": "Whether to always show a hint.",
481
- "value": { "type": "boolean" }
403
+ "name": "help-text",
404
+ "description": "The content to display as the help text",
405
+ "value": { "type": "string | undefined" }
482
406
  },
483
407
  {
484
- "name": "hint",
485
- "description": "The content displayed as the help text.",
486
- "value": { "type": "string" }
408
+ "name": "disabled",
409
+ "description": "Whether the element is disabled",
410
+ "value": { "type": "boolean", "default": "false" }
487
411
  },
488
412
  {
489
- "name": "label",
490
- "description": "The content to disply as the label",
491
- "value": { "type": "string" }
413
+ "name": "required",
414
+ "description": "Whether the element is required",
415
+ "value": { "type": "boolean", "default": "false" }
492
416
  },
493
417
  {
494
418
  "name": "optional",
495
419
  "description": "Whether to show optional text",
496
- "value": { "type": "boolean" }
497
- },
498
- {
499
- "name": "disabled",
500
- "description": "Renders the field in a disabled state.",
501
- "value": { "type": "boolean" }
420
+ "value": { "type": "boolean", "default": "false" }
502
421
  },
503
422
  {
504
- "name": "read-only",
505
- "description": "Renders the field in a readonly state.",
506
- "value": { "type": "boolean" }
423
+ "name": "name",
424
+ "description": "Name attribute for form submission",
425
+ "value": { "type": "string | undefined" }
507
426
  },
508
427
  {
509
- "name": "readonly",
510
- "description": "Renders the field in a readonly state.",
511
- "value": { "type": "boolean" }
512
- },
513
- { "name": "name", "value": { "type": "string" } },
514
- { "name": "value", "value": { "type": "string" } }
428
+ "name": "autocomplete",
429
+ "description": "Autocomplete attribute for the input field",
430
+ "value": { "type": "string | undefined", "default": "'off'" }
431
+ }
515
432
  ],
516
433
  "events": [],
517
434
  "js": {
518
435
  "properties": [
519
436
  {
520
- "name": "autoFocus",
521
- "description": "Whether the element should receive focus on render.",
522
- "type": "boolean"
437
+ "name": "options",
438
+ "description": "The available options to select from",
439
+ "type": "ComboboxOption[]"
523
440
  },
524
441
  {
525
- "name": "autofocus",
526
- "description": "Whether the element should receive focus on render",
527
- "type": "boolean"
442
+ "name": "label",
443
+ "description": "Label above input",
444
+ "type": "string | undefined"
528
445
  },
529
446
  {
530
- "name": "helpText",
531
- "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
447
+ "name": "placeholder",
448
+ "description": "Input placeholder",
449
+ "type": "string | undefined"
450
+ },
451
+ {
452
+ "name": "value",
453
+ "description": "The input value",
532
454
  "type": "string"
533
455
  },
534
456
  {
535
- "name": "invalid",
536
- "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
457
+ "name": "openOnFocus",
458
+ "description": "Whether the popover opens when focus is on the text field",
537
459
  "type": "boolean"
538
460
  },
539
461
  {
540
- "name": "always",
541
- "description": "Whether to always show a hint.",
462
+ "name": "selectOnBlur",
463
+ "description": "Select active option on blur",
542
464
  "type": "boolean"
543
465
  },
544
466
  {
545
- "name": "hint",
546
- "description": "The content displayed as the help text.",
547
- "type": "string"
467
+ "name": "matchTextSegments",
468
+ "description": "Whether the matching text segments in the options should be highlighted",
469
+ "type": "boolean"
548
470
  },
549
471
  {
550
- "name": "label",
551
- "description": "The content to disply as the label",
552
- "type": "string"
472
+ "name": "disableStaticFiltering",
473
+ "description": "Disable client-side static filtering",
474
+ "type": "boolean"
553
475
  },
554
476
  {
555
- "name": "optional",
556
- "description": "Whether to show optional text",
477
+ "name": "invalid",
478
+ "description": "Renders the input field in an invalid state",
557
479
  "type": "boolean"
558
480
  },
481
+ {
482
+ "name": "helpText",
483
+ "description": "The content to display as the help text",
484
+ "type": "string | undefined"
485
+ },
559
486
  {
560
487
  "name": "disabled",
561
- "description": "Renders the field in a disabled state.",
488
+ "description": "Whether the element is disabled",
562
489
  "type": "boolean"
563
490
  },
564
491
  {
565
- "name": "readOnly",
566
- "description": "Renders the field in a readonly state.",
492
+ "name": "required",
493
+ "description": "Whether the element is required",
567
494
  "type": "boolean"
568
495
  },
569
496
  {
570
- "name": "readonly",
571
- "description": "Renders the field in a readonly state.",
497
+ "name": "optional",
498
+ "description": "Whether to show optional text",
572
499
  "type": "boolean"
573
500
  },
574
- { "name": "name", "type": "string" },
575
- { "name": "value", "type": "string" }
501
+ {
502
+ "name": "name",
503
+ "description": "Name attribute for form submission",
504
+ "type": "string | undefined"
505
+ },
506
+ {
507
+ "name": "autocomplete",
508
+ "description": "Autocomplete attribute for the input field",
509
+ "type": "string | undefined"
510
+ }
576
511
  ],
577
512
  "events": []
578
513
  }
579
514
  },
580
515
  {
581
- "name": "w-textfield",
582
- "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)\n---\n",
516
+ "name": "w-datepicker",
517
+ "description": "An input for dates.\n\nUses the `lang` attribute on either the element or on `<html>` to determine the locale options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)\n---\n",
583
518
  "doc-url": "",
584
519
  "attributes": [
585
- { "name": "disabled", "value": { "type": "boolean" } },
586
- { "name": "invalid", "value": { "type": "boolean" } },
587
- { "name": "id", "value": { "type": "string" } },
588
520
  { "name": "label", "value": { "type": "string" } },
589
- { "name": "help-text", "value": { "type": "string" } },
590
- { "name": "size", "value": { "type": "string" } },
591
- { "name": "max", "value": { "type": "number" } },
592
- { "name": "min", "value": { "type": "number" } },
593
- { "name": "min-length", "value": { "type": "number" } },
594
- { "name": "max-length", "value": { "type": "number" } },
595
- { "name": "pattern", "value": { "type": "string" } },
596
- { "name": "placeholder", "value": { "type": "string" } },
597
- { "name": "read-only", "value": { "type": "boolean" } },
598
- { "name": "readonly", "value": { "type": "boolean" } },
599
- { "name": "required", "value": { "type": "boolean" } },
600
521
  {
601
- "name": "type",
602
- "value": { "type": "string", "default": "'text'" }
522
+ "name": "lang",
523
+ "description": "Takes precedence over the `<html>` lang attribute.",
524
+ "value": { "type": "string" }
603
525
  },
604
- { "name": "value", "value": { "type": "string" } },
605
526
  { "name": "name", "value": { "type": "string" } },
606
- { "name": "step", "value": { "type": "number" } },
527
+ { "name": "value", "value": { "type": "string" } },
607
528
  {
608
- "name": "autocomplete",
609
- "value": { "type": "string | undefined" }
529
+ "name": "header-format",
530
+ "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
531
+ "value": { "type": "string", "default": "'MMMM yyyy'" }
532
+ },
533
+ {
534
+ "name": "weekday-format",
535
+ "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
536
+ "value": { "type": "string", "default": "'EEEEEE'" }
537
+ },
538
+ {
539
+ "name": "day-format",
540
+ "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
541
+ "value": { "type": "string", "default": "'PPPP'" }
610
542
  }
611
543
  ],
612
544
  "events": [],
613
545
  "js": {
614
546
  "properties": [
615
- { "name": "disabled", "type": "boolean" },
616
- { "name": "invalid", "type": "boolean" },
617
- { "name": "id", "type": "string" },
618
547
  { "name": "label", "type": "string" },
619
- { "name": "helpText", "type": "string" },
620
- { "name": "size", "type": "string" },
621
- { "name": "max", "type": "number" },
622
- { "name": "min", "type": "number" },
623
- { "name": "minLength", "type": "number" },
624
- { "name": "maxLength", "type": "number" },
625
- { "name": "pattern", "type": "string" },
626
- { "name": "placeholder", "type": "string" },
627
- { "name": "readOnly", "type": "boolean" },
628
- { "name": "readonly", "type": "boolean" },
629
- { "name": "required", "type": "boolean" },
630
- { "name": "type", "type": "string" },
631
- { "name": "value", "type": "string" },
548
+ {
549
+ "name": "lang",
550
+ "description": "Takes precedence over the `<html>` lang attribute.",
551
+ "type": "string"
552
+ },
632
553
  { "name": "name", "type": "string" },
633
- { "name": "step", "type": "number" },
634
- { "name": "autocomplete", "type": "string | undefined" },
554
+ { "name": "value", "type": "string" },
635
555
  {
636
- "name": "formatter",
637
- "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html",
638
- "type": "(value: string) => string"
556
+ "name": "headerFormat",
557
+ "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
558
+ "type": "string"
559
+ },
560
+ {
561
+ "name": "weekdayFormat",
562
+ "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
563
+ "type": "string"
564
+ },
565
+ {
566
+ "name": "isDayDisabled",
567
+ "description": "Lets you control if a date in the calendar should be disabled.\n\nThis needs to be set on the element instance in JavaScript, not as an HTML attribute.",
568
+ "type": "(day: Date) => boolean"
569
+ },
570
+ {
571
+ "name": "dayFormat",
572
+ "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
573
+ "type": "string"
574
+ },
575
+ { "name": "isCalendarOpen", "type": "boolean" },
576
+ { "name": "navigationDate", "type": "Date" },
577
+ { "name": "selectedDate", "type": "Date | null" },
578
+ { "name": "month" },
579
+ { "name": "weeks" },
580
+ { "name": "calendar", "type": "HTMLDivElement" },
581
+ { "name": "input", "type": "HTMLInputElement" },
582
+ { "name": "toggleButton", "type": "HTMLButtonElement" },
583
+ { "name": "wrapper", "type": "HTMLDivElement" },
584
+ {
585
+ "name": "previousMonthButton",
586
+ "description": "This is the first focusable element, needed for the modal focus trap.\n\nDon't cache this and other `@query` fields from inside the calendar modal.\nThey work the first time, but once the calendar is closed and reopened\nthe query will point to an element that doesn't exist anymore.",
587
+ "type": "HTMLButtonElement"
588
+ },
589
+ { "name": "todayCell", "type": "HTMLTableCellElement" },
590
+ { "name": "selectedCell", "type": "HTMLTableCellElement" }
591
+ ],
592
+ "events": []
593
+ }
594
+ },
595
+ {
596
+ "name": "w-expandable",
597
+ "description": "Expandable is a layout component used for creating expandable content areas on a page.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-expandable--docs)\n---\n\n\n### **Slots:**\n - **title** - Alternative to the `title` attribute should you need to provide some additional markup.",
598
+ "doc-url": "",
599
+ "attributes": [
600
+ {
601
+ "name": "expanded",
602
+ "value": { "type": "boolean", "default": "false" }
603
+ },
604
+ { "name": "title", "value": { "type": "string" } },
605
+ {
606
+ "name": "box",
607
+ "value": { "type": "boolean", "default": "false" }
608
+ },
609
+ {
610
+ "name": "bleed",
611
+ "value": { "type": "boolean", "default": "false" }
612
+ },
613
+ { "name": "button-class", "value": { "type": "string" } },
614
+ { "name": "content-class", "value": { "type": "string" } },
615
+ {
616
+ "name": "no-chevron",
617
+ "value": { "type": "boolean", "default": "false" }
618
+ },
619
+ {
620
+ "name": "animated",
621
+ "value": { "type": "boolean", "default": "false" }
622
+ },
623
+ { "name": "heading-level", "value": { "type": "number" } },
624
+ {
625
+ "name": "_hasTitle",
626
+ "value": { "type": "boolean", "default": "true" }
627
+ },
628
+ {
629
+ "name": "_showChevronUp",
630
+ "value": { "type": "boolean", "default": "false" }
631
+ }
632
+ ],
633
+ "slots": [
634
+ {
635
+ "name": "title",
636
+ "description": "Alternative to the `title` attribute should you need to provide some additional markup."
637
+ }
638
+ ],
639
+ "events": [],
640
+ "js": {
641
+ "properties": [
642
+ { "name": "expanded", "type": "boolean" },
643
+ { "name": "title", "type": "string" },
644
+ { "name": "box", "type": "boolean" },
645
+ { "name": "bleed", "type": "boolean" },
646
+ { "name": "buttonClass", "type": "string" },
647
+ { "name": "contentClass", "type": "string" },
648
+ { "name": "noChevron", "type": "boolean" },
649
+ { "name": "animated", "type": "boolean" },
650
+ { "name": "headingLevel", "type": "number" },
651
+ { "name": "_hasTitle", "type": "boolean" },
652
+ { "name": "_showChevronUp", "type": "boolean" }
653
+ ],
654
+ "events": []
655
+ }
656
+ },
657
+ {
658
+ "name": "w-icon",
659
+ "description": "\n---\n",
660
+ "doc-url": "",
661
+ "attributes": [
662
+ {
663
+ "name": "name",
664
+ "description": "Icon filename (without .svg)",
665
+ "value": { "type": "string", "default": "''" }
666
+ },
667
+ {
668
+ "name": "size",
669
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
670
+ "value": {
671
+ "type": "'small' | 'medium' | 'large' | string",
672
+ "default": "'medium'"
673
+ }
674
+ },
675
+ {
676
+ "name": "locale",
677
+ "description": "Locale used in CDN URL",
678
+ "value": { "type": "string", "default": "'en'" }
679
+ }
680
+ ],
681
+ "events": [],
682
+ "js": {
683
+ "properties": [
684
+ {
685
+ "name": "name",
686
+ "description": "Icon filename (without .svg)",
687
+ "type": "string"
688
+ },
689
+ {
690
+ "name": "size",
691
+ "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
692
+ "type": "'small' | 'medium' | 'large' | string"
693
+ },
694
+ {
695
+ "name": "locale",
696
+ "description": "Locale used in CDN URL",
697
+ "type": "string"
639
698
  }
640
699
  ],
641
700
  "events": []
@@ -683,6 +742,14 @@
683
742
  ]
684
743
  }
685
744
  },
745
+ {
746
+ "name": "w-modal-footer",
747
+ "description": "The footer section of a modal, typically where you place actions.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)\n---\n",
748
+ "doc-url": "",
749
+ "attributes": [],
750
+ "events": [],
751
+ "js": { "properties": [], "events": [] }
752
+ },
686
753
  {
687
754
  "name": "w-modal-header",
688
755
  "description": "The header section of a modal, typically where you place the title and a close button.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)\n---\n\n\n### **Events:**\n - **backClicked**\n\n### **Slots:**\n - **top** - Customize the title bar, for example to have a header image that reaches the modal's edges. See the With Image story for an example.",
@@ -713,324 +780,316 @@
713
780
  }
714
781
  },
715
782
  {
716
- "name": "w-modal-footer",
717
- "description": "The footer section of a modal, typically where you place actions.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/overlays-modal--docs)\n---\n",
718
- "doc-url": "",
719
- "attributes": [],
720
- "events": [],
721
- "js": { "properties": [], "events": [] }
722
- },
723
- {
724
- "name": "w-toast-container",
725
- "description": "\n---\n",
726
- "doc-url": "",
727
- "attributes": [],
728
- "events": [],
729
- "js": { "properties": [], "events": [] }
730
- },
731
- {
732
- "name": "w-datepicker",
733
- "description": "An input for dates.\n\nUses the `lang` attribute on either the element or on `<html>` to determine the locale options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-datepicker--docs)\n---\n",
783
+ "name": "w-page-indicator",
784
+ "description": "A page indicator component that displays a series of dots representing pages.\nOne dot is highlighted to indicate the currently selected page.\n---\n",
734
785
  "doc-url": "",
735
786
  "attributes": [
736
- { "name": "label", "value": { "type": "string" } },
737
787
  {
738
- "name": "lang",
739
- "description": "Takes precedence over the `<html>` lang attribute.",
740
- "value": { "type": "string" }
741
- },
742
- { "name": "name", "value": { "type": "string" } },
743
- { "name": "value", "value": { "type": "string" } },
744
- {
745
- "name": "header-format",
746
- "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
747
- "value": { "type": "string", "default": "'MMMM yyyy'" }
748
- },
749
- {
750
- "name": "weekday-format",
751
- "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
752
- "value": { "type": "string", "default": "'EEEEEE'" }
788
+ "name": "selected-page",
789
+ "description": "Currently selected page (1-based index, clamped to valid range)",
790
+ "value": { "type": "number", "default": "1" }
753
791
  },
754
792
  {
755
- "name": "day-format",
756
- "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
757
- "value": { "type": "string", "default": "'PPPP'" }
793
+ "name": "page-count",
794
+ "description": "Total number of pages (minimum 1)",
795
+ "value": { "type": "number", "default": "1" }
758
796
  }
759
797
  ],
760
798
  "events": [],
761
799
  "js": {
762
800
  "properties": [
763
- { "name": "label", "type": "string" },
764
- {
765
- "name": "lang",
766
- "description": "Takes precedence over the `<html>` lang attribute.",
767
- "type": "string"
768
- },
769
- { "name": "name", "type": "string" },
770
- { "name": "value", "type": "string" },
771
801
  {
772
- "name": "headerFormat",
773
- "description": "Decides the format of the date as shown in the calendar header.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
774
- "type": "string"
775
- },
776
- {
777
- "name": "weekdayFormat",
778
- "description": "Decides the format of the weekday as shown above the grid of dates in the calendar.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
779
- "type": "string"
780
- },
781
- {
782
- "name": "isDayDisabled",
783
- "description": "Lets you control if a date in the calendar should be disabled.\n\nThis needs to be set on the element instance in JavaScript, not as an HTML attribute.",
784
- "type": "(day: Date) => boolean"
785
- },
786
- {
787
- "name": "dayFormat",
788
- "description": "Decides the format of the day in the calendar as read to screen readers.\n\nThe syntax is defined by [date-fns/format](https://date-fns.org/v4.1.0/docs/format).",
789
- "type": "string"
802
+ "name": "selectedPage",
803
+ "description": "Currently selected page (1-based index, clamped to valid range)",
804
+ "type": "number"
790
805
  },
791
- { "name": "isCalendarOpen", "type": "boolean" },
792
- { "name": "navigationDate", "type": "Date" },
793
- { "name": "selectedDate", "type": "Date | null" },
794
- { "name": "month" },
795
- { "name": "weeks" },
796
- { "name": "calendar", "type": "HTMLDivElement" },
797
- { "name": "input", "type": "HTMLInputElement" },
798
- { "name": "toggleButton", "type": "HTMLButtonElement" },
799
- { "name": "wrapper", "type": "HTMLDivElement" },
800
806
  {
801
- "name": "previousMonthButton",
802
- "description": "This is the first focusable element, needed for the modal focus trap.\n\nDon't cache this and other `@query` fields from inside the calendar modal.\nThey work the first time, but once the calendar is closed and reopened\nthe query will point to an element that doesn't exist anymore.",
803
- "type": "HTMLButtonElement"
804
- },
805
- { "name": "todayCell", "type": "HTMLTableCellElement" },
806
- { "name": "selectedCell", "type": "HTMLTableCellElement" }
807
+ "name": "pageCount",
808
+ "description": "Total number of pages (minimum 1)",
809
+ "type": "number"
810
+ }
807
811
  ],
808
812
  "events": []
809
813
  }
810
814
  },
811
815
  {
812
- "name": "w-switch",
813
- "description": "\n---\n\n\n### **Events:**\n - **change**",
816
+ "name": "w-pagination",
817
+ "description": "Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)\n---\n\n\n### **Events:**\n - **page-click** - Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.",
814
818
  "doc-url": "",
815
819
  "attributes": [
816
- { "name": "name", "value": { "type": "string", "default": "''" } },
817
- { "name": "value", "value": { "type": "string", "default": "''" } },
820
+ { "name": "base-url", "value": { "type": "string" } },
821
+ { "name": "pages", "value": { "type": "number" } },
818
822
  {
819
- "name": "checked",
820
- "value": { "type": "boolean", "default": "false" }
823
+ "name": "current-page",
824
+ "value": { "type": "number", "default": "1" }
821
825
  },
822
826
  {
823
- "name": "disabled",
824
- "value": { "type": "boolean", "default": "false" }
827
+ "name": "visible-pages",
828
+ "value": { "type": "number", "default": "7" }
829
+ }
830
+ ],
831
+ "events": [
832
+ {
833
+ "name": "page-click",
834
+ "type": "CustomEvent",
835
+ "description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
825
836
  }
826
837
  ],
827
- "events": [{ "name": "change", "type": "CustomEvent" }],
828
838
  "js": {
829
839
  "properties": [
830
- { "name": "name", "type": "string" },
831
- { "name": "value", "type": "string" },
832
- { "name": "checked", "type": "boolean" },
833
- { "name": "disabled", "type": "boolean" }
840
+ { "name": "baseUrl", "type": "string" },
841
+ { "name": "pages", "type": "number" },
842
+ { "name": "currentPageNumber", "type": "number" },
843
+ { "name": "visiblePages", "type": "number" }
834
844
  ],
835
- "events": [{ "name": "change", "type": "CustomEvent" }]
845
+ "events": [
846
+ {
847
+ "name": "page-click",
848
+ "type": "CustomEvent",
849
+ "description": "Triggered when a link button in the pagination is clicked. Contains the page number in `string` form."
850
+ }
851
+ ]
836
852
  }
837
853
  },
838
854
  {
839
- "name": "w-combobox",
840
- "description": "A combobox element for text input with selectable options.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-combobox--docs)\n---\n",
855
+ "name": "w-pill",
856
+ "description": "Pill is a type of button that is often used as a filter, but can also be used as a rounded button for overlays, etc.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/buttons-pill--docs)\n---\n\n\n### **Events:**\n - **w-pill-click**\n- **w-pill-close**",
841
857
  "doc-url": "",
842
858
  "attributes": [
843
859
  {
844
- "name": "options",
845
- "description": "The available options to select from",
846
- "value": { "type": "ComboboxOption[]", "default": "[]" }
847
- },
848
- {
849
- "name": "label",
850
- "description": "Label above input",
851
- "value": { "type": "string | undefined" }
852
- },
853
- {
854
- "name": "placeholder",
855
- "description": "Input placeholder",
856
- "value": { "type": "string | undefined" }
857
- },
858
- {
859
- "name": "value",
860
- "description": "The input value",
861
- "value": { "type": "string", "default": "''" }
860
+ "name": "can-close",
861
+ "value": { "type": "boolean", "default": "false" }
862
862
  },
863
863
  {
864
- "name": "open-on-focus",
865
- "description": "Whether the popover opens when focus is on the text field",
864
+ "name": "suggestion",
866
865
  "value": { "type": "boolean", "default": "false" }
867
866
  },
867
+ { "name": "open-sr-label", "value": { "type": "string" } },
868
+ { "name": "open-aria-label", "value": { "type": "string" } },
869
+ { "name": "close-sr-label", "value": { "type": "string" } },
870
+ { "name": "close-aria-label", "value": { "type": "string" } }
871
+ ],
872
+ "events": [
873
+ { "name": "w-pill-click", "type": "CustomEvent" },
874
+ { "name": "w-pill-close", "type": "CustomEvent" }
875
+ ],
876
+ "js": {
877
+ "properties": [
878
+ { "name": "canClose", "type": "boolean" },
879
+ { "name": "suggestion", "type": "boolean" },
880
+ { "name": "openSrLabel", "type": "string" },
881
+ { "name": "openAriaLabel", "type": "string" },
882
+ { "name": "closeSrLabel", "type": "string" },
883
+ { "name": "closeAriaLabel", "type": "string" },
884
+ { "name": "openFilterSrText" },
885
+ { "name": "removeFilterSrText" }
886
+ ],
887
+ "events": [
888
+ { "name": "w-pill-click", "type": "CustomEvent" },
889
+ { "name": "w-pill-close", "type": "CustomEvent" }
890
+ ]
891
+ }
892
+ },
893
+ {
894
+ "name": "w-select",
895
+ "description": "A dropdown component for selecting a single value.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-select--docs)\n---\n",
896
+ "doc-url": "",
897
+ "attributes": [
868
898
  {
869
- "name": "select-on-blur",
870
- "description": "Select active option on blur",
871
- "value": { "type": "boolean", "default": "true" }
899
+ "name": "auto-focus",
900
+ "description": "Whether the element should receive focus on render.",
901
+ "value": { "type": "boolean" }
872
902
  },
873
903
  {
874
- "name": "match-text-segments",
875
- "description": "Whether the matching text segments in the options should be highlighted",
876
- "value": { "type": "boolean", "default": "false" }
904
+ "name": "autofocus",
905
+ "description": "Whether the element should receive focus on render",
906
+ "value": { "type": "boolean" }
877
907
  },
878
908
  {
879
- "name": "disable-static-filtering",
880
- "description": "Disable client-side static filtering",
881
- "value": { "type": "boolean", "default": "false" }
909
+ "name": "help-text",
910
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
911
+ "value": { "type": "string" }
882
912
  },
883
913
  {
884
914
  "name": "invalid",
885
- "description": "Renders the input field in an invalid state",
886
- "value": { "type": "boolean", "default": "false" }
915
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
916
+ "value": { "type": "boolean" }
887
917
  },
888
918
  {
889
- "name": "help-text",
890
- "description": "The content to display as the help text",
891
- "value": { "type": "string | undefined" }
919
+ "name": "always",
920
+ "description": "Whether to always show a hint.",
921
+ "value": { "type": "boolean" }
892
922
  },
893
923
  {
894
- "name": "disabled",
895
- "description": "Whether the element is disabled",
896
- "value": { "type": "boolean", "default": "false" }
924
+ "name": "hint",
925
+ "description": "The content displayed as the help text.",
926
+ "value": { "type": "string" }
897
927
  },
898
928
  {
899
- "name": "required",
900
- "description": "Whether the element is required",
901
- "value": { "type": "boolean", "default": "false" }
929
+ "name": "label",
930
+ "description": "The content to disply as the label",
931
+ "value": { "type": "string" }
902
932
  },
903
933
  {
904
934
  "name": "optional",
905
935
  "description": "Whether to show optional text",
906
- "value": { "type": "boolean", "default": "false" }
936
+ "value": { "type": "boolean" }
907
937
  },
908
938
  {
909
- "name": "name",
910
- "description": "Name attribute for form submission",
911
- "value": { "type": "string | undefined" }
939
+ "name": "disabled",
940
+ "description": "Renders the field in a disabled state.",
941
+ "value": { "type": "boolean" }
912
942
  },
913
943
  {
914
- "name": "autocomplete",
915
- "description": "Autocomplete attribute for the input field",
916
- "value": { "type": "string | undefined", "default": "'off'" }
917
- }
944
+ "name": "read-only",
945
+ "description": "Renders the field in a readonly state.",
946
+ "value": { "type": "boolean" }
947
+ },
948
+ {
949
+ "name": "readonly",
950
+ "description": "Renders the field in a readonly state.",
951
+ "value": { "type": "boolean" }
952
+ },
953
+ { "name": "name", "value": { "type": "string" } },
954
+ { "name": "value", "value": { "type": "string" } }
918
955
  ],
919
- "events": [],
920
- "js": {
921
- "properties": [
922
- {
923
- "name": "options",
924
- "description": "The available options to select from",
925
- "type": "ComboboxOption[]"
926
- },
956
+ "events": [],
957
+ "js": {
958
+ "properties": [
927
959
  {
928
- "name": "label",
929
- "description": "Label above input",
930
- "type": "string | undefined"
960
+ "name": "autoFocus",
961
+ "description": "Whether the element should receive focus on render.",
962
+ "type": "boolean"
931
963
  },
932
964
  {
933
- "name": "placeholder",
934
- "description": "Input placeholder",
935
- "type": "string | undefined"
965
+ "name": "autofocus",
966
+ "description": "Whether the element should receive focus on render",
967
+ "type": "boolean"
936
968
  },
937
969
  {
938
- "name": "value",
939
- "description": "The input value",
970
+ "name": "helpText",
971
+ "description": "The content displayed as the help text. Paired with `invalid` to show the text as a validation error.",
940
972
  "type": "string"
941
973
  },
942
974
  {
943
- "name": "openOnFocus",
944
- "description": "Whether the popover opens when focus is on the text field",
975
+ "name": "invalid",
976
+ "description": "Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.",
945
977
  "type": "boolean"
946
978
  },
947
979
  {
948
- "name": "selectOnBlur",
949
- "description": "Select active option on blur",
980
+ "name": "always",
981
+ "description": "Whether to always show a hint.",
950
982
  "type": "boolean"
951
983
  },
952
984
  {
953
- "name": "matchTextSegments",
954
- "description": "Whether the matching text segments in the options should be highlighted",
955
- "type": "boolean"
985
+ "name": "hint",
986
+ "description": "The content displayed as the help text.",
987
+ "type": "string"
956
988
  },
957
989
  {
958
- "name": "disableStaticFiltering",
959
- "description": "Disable client-side static filtering",
960
- "type": "boolean"
990
+ "name": "label",
991
+ "description": "The content to disply as the label",
992
+ "type": "string"
961
993
  },
962
994
  {
963
- "name": "invalid",
964
- "description": "Renders the input field in an invalid state",
995
+ "name": "optional",
996
+ "description": "Whether to show optional text",
965
997
  "type": "boolean"
966
998
  },
967
- {
968
- "name": "helpText",
969
- "description": "The content to display as the help text",
970
- "type": "string | undefined"
971
- },
972
999
  {
973
1000
  "name": "disabled",
974
- "description": "Whether the element is disabled",
1001
+ "description": "Renders the field in a disabled state.",
975
1002
  "type": "boolean"
976
1003
  },
977
1004
  {
978
- "name": "required",
979
- "description": "Whether the element is required",
1005
+ "name": "readOnly",
1006
+ "description": "Renders the field in a readonly state.",
980
1007
  "type": "boolean"
981
1008
  },
982
1009
  {
983
- "name": "optional",
984
- "description": "Whether to show optional text",
1010
+ "name": "readonly",
1011
+ "description": "Renders the field in a readonly state.",
985
1012
  "type": "boolean"
986
1013
  },
987
- {
988
- "name": "name",
989
- "description": "Name attribute for form submission",
990
- "type": "string | undefined"
991
- },
992
- {
993
- "name": "autocomplete",
994
- "description": "Autocomplete attribute for the input field",
995
- "type": "string | undefined"
996
- }
1014
+ { "name": "name", "type": "string" },
1015
+ { "name": "value", "type": "string" }
997
1016
  ],
998
1017
  "events": []
999
1018
  }
1000
1019
  },
1001
1020
  {
1002
- "name": "w-page-indicator",
1003
- "description": "A page indicator component that displays a series of dots representing pages.\nOne dot is highlighted to indicate the currently selected page.\n---\n",
1021
+ "name": "w-step",
1022
+ "description": "Individual step component that shows a single step in a process\n---\n",
1004
1023
  "doc-url": "",
1005
1024
  "attributes": [
1006
1025
  {
1007
- "name": "selected-page",
1008
- "description": "Currently selected page (1-based index, clamped to valid range)",
1009
- "value": { "type": "number", "default": "1" }
1026
+ "name": "active",
1027
+ "value": { "type": "boolean", "default": "false" }
1010
1028
  },
1011
1029
  {
1012
- "name": "page-count",
1013
- "description": "Total number of pages (minimum 1)",
1014
- "value": { "type": "number", "default": "1" }
1030
+ "name": "completed",
1031
+ "value": { "type": "boolean", "default": "false" }
1015
1032
  }
1016
1033
  ],
1017
1034
  "events": [],
1018
1035
  "js": {
1019
1036
  "properties": [
1020
- {
1021
- "name": "selectedPage",
1022
- "description": "Currently selected page (1-based index, clamped to valid range)",
1023
- "type": "number"
1024
- },
1025
- {
1026
- "name": "pageCount",
1027
- "description": "Total number of pages (minimum 1)",
1028
- "type": "number"
1029
- }
1037
+ { "name": "active", "type": "boolean" },
1038
+ { "name": "completed", "type": "boolean" }
1039
+ ],
1040
+ "events": []
1041
+ }
1042
+ },
1043
+ {
1044
+ "name": "w-step-indicator",
1045
+ "description": "Steps are used to show progress through a process or to guide users through a multi-step task.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)\n---\n",
1046
+ "doc-url": "",
1047
+ "attributes": [
1048
+ {
1049
+ "name": "horizontal",
1050
+ "value": { "type": "boolean", "default": "false" }
1051
+ },
1052
+ {
1053
+ "name": "right",
1054
+ "value": { "type": "boolean", "default": "false" }
1055
+ }
1056
+ ],
1057
+ "events": [],
1058
+ "js": {
1059
+ "properties": [
1060
+ { "name": "horizontal", "type": "boolean" },
1061
+ { "name": "right", "type": "boolean" }
1030
1062
  ],
1031
1063
  "events": []
1032
1064
  }
1033
1065
  },
1066
+ {
1067
+ "name": "w-switch",
1068
+ "description": "\n---\n\n\n### **Events:**\n - **change**",
1069
+ "doc-url": "",
1070
+ "attributes": [
1071
+ { "name": "name", "value": { "type": "string", "default": "''" } },
1072
+ { "name": "value", "value": { "type": "string", "default": "''" } },
1073
+ {
1074
+ "name": "checked",
1075
+ "value": { "type": "boolean", "default": "false" }
1076
+ },
1077
+ {
1078
+ "name": "disabled",
1079
+ "value": { "type": "boolean", "default": "false" }
1080
+ }
1081
+ ],
1082
+ "events": [{ "name": "change", "type": "CustomEvent" }],
1083
+ "js": {
1084
+ "properties": [
1085
+ { "name": "name", "type": "string" },
1086
+ { "name": "value", "type": "string" },
1087
+ { "name": "checked", "type": "boolean" },
1088
+ { "name": "disabled", "type": "boolean" }
1089
+ ],
1090
+ "events": [{ "name": "change", "type": "CustomEvent" }]
1091
+ }
1092
+ },
1034
1093
  {
1035
1094
  "name": "w-tab",
1036
1095
  "description": "Individual tab component used within w-tabs container.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)\n---\n",
@@ -1090,50 +1149,127 @@
1090
1149
  }
1091
1150
  },
1092
1151
  {
1093
- "name": "w-icon",
1094
- "description": "\n---\n",
1152
+ "name": "w-textarea",
1153
+ "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the textarea passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid\n- **setCustomValidity(message: _string_): _void_** - Sets a custom validation message. Pass an empty string to clear.",
1095
1154
  "doc-url": "",
1096
1155
  "attributes": [
1097
- {
1098
- "name": "name",
1099
- "description": "Icon filename (without .svg)",
1100
- "value": { "type": "string", "default": "''" }
1101
- },
1102
- {
1103
- "name": "size",
1104
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
1105
- "value": {
1106
- "type": "'small' | 'medium' | 'large' | string",
1107
- "default": "'medium'"
1108
- }
1109
- },
1110
- {
1111
- "name": "locale",
1112
- "description": "Locale used in CDN URL",
1113
- "value": { "type": "string", "default": "'en'" }
1114
- }
1156
+ { "name": "disabled", "value": { "type": "boolean" } },
1157
+ { "name": "invalid", "value": { "type": "boolean" } },
1158
+ { "name": "label", "value": { "type": "string" } },
1159
+ { "name": "help-text", "value": { "type": "string" } },
1160
+ { "name": "maximum-rows", "value": { "type": "number" } },
1161
+ { "name": "minimum-rows", "value": { "type": "number" } },
1162
+ { "name": "name", "value": { "type": "string" } },
1163
+ { "name": "placeholder", "value": { "type": "string" } },
1164
+ { "name": "read-only", "value": { "type": "boolean" } },
1165
+ { "name": "readonly", "value": { "type": "boolean" } },
1166
+ { "name": "required", "value": { "type": "boolean" } },
1167
+ { "name": "value", "value": { "type": "string" } },
1168
+ { "name": "optional", "value": { "type": "boolean" } }
1115
1169
  ],
1116
1170
  "events": [],
1117
1171
  "js": {
1118
1172
  "properties": [
1173
+ { "name": "disabled", "type": "boolean" },
1174
+ { "name": "invalid", "type": "boolean" },
1175
+ { "name": "label", "type": "string" },
1176
+ { "name": "helpText", "type": "string" },
1177
+ { "name": "maxRows", "type": "number" },
1178
+ { "name": "minRows", "type": "number" },
1179
+ { "name": "name", "type": "string" },
1180
+ { "name": "placeholder", "type": "string" },
1181
+ { "name": "readOnly", "type": "boolean" },
1182
+ { "name": "readonly", "type": "boolean" },
1183
+ { "name": "required", "type": "boolean" },
1184
+ { "name": "value", "type": "string" },
1185
+ { "name": "optional", "type": "boolean" },
1186
+ { "name": "minHeight" },
1187
+ { "name": "maxHeight" },
1119
1188
  {
1120
- "name": "name",
1121
- "description": "Icon filename (without .svg)",
1189
+ "name": "validationMessage",
1190
+ "description": "Returns the validation message if the textarea is invalid, otherwise an empty string",
1122
1191
  "type": "string"
1123
1192
  },
1124
1193
  {
1125
- "name": "size",
1126
- "description": "Size: small, medium, large or pixel value (e.g. \"32px\")",
1127
- "type": "'small' | 'medium' | 'large' | string"
1128
- },
1194
+ "name": "validity",
1195
+ "description": "Returns the validity state of the textarea",
1196
+ "type": "ValidityState"
1197
+ }
1198
+ ],
1199
+ "events": []
1200
+ }
1201
+ },
1202
+ {
1203
+ "name": "w-textfield",
1204
+ "description": "A single line text input element.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)\n---\n",
1205
+ "doc-url": "",
1206
+ "attributes": [
1207
+ { "name": "disabled", "value": { "type": "boolean" } },
1208
+ { "name": "invalid", "value": { "type": "boolean" } },
1209
+ { "name": "id", "value": { "type": "string" } },
1210
+ { "name": "label", "value": { "type": "string" } },
1211
+ { "name": "help-text", "value": { "type": "string" } },
1212
+ { "name": "size", "value": { "type": "string" } },
1213
+ { "name": "max", "value": { "type": "number" } },
1214
+ { "name": "min", "value": { "type": "number" } },
1215
+ { "name": "min-length", "value": { "type": "number" } },
1216
+ { "name": "max-length", "value": { "type": "number" } },
1217
+ { "name": "pattern", "value": { "type": "string" } },
1218
+ { "name": "placeholder", "value": { "type": "string" } },
1219
+ { "name": "read-only", "value": { "type": "boolean" } },
1220
+ { "name": "readonly", "value": { "type": "boolean" } },
1221
+ { "name": "required", "value": { "type": "boolean" } },
1222
+ {
1223
+ "name": "type",
1224
+ "value": { "type": "string", "default": "'text'" }
1225
+ },
1226
+ { "name": "value", "value": { "type": "string" } },
1227
+ { "name": "name", "value": { "type": "string" } },
1228
+ { "name": "step", "value": { "type": "number" } },
1229
+ {
1230
+ "name": "autocomplete",
1231
+ "value": { "type": "string | undefined" }
1232
+ }
1233
+ ],
1234
+ "events": [],
1235
+ "js": {
1236
+ "properties": [
1237
+ { "name": "disabled", "type": "boolean" },
1238
+ { "name": "invalid", "type": "boolean" },
1239
+ { "name": "id", "type": "string" },
1240
+ { "name": "label", "type": "string" },
1241
+ { "name": "helpText", "type": "string" },
1242
+ { "name": "size", "type": "string" },
1243
+ { "name": "max", "type": "number" },
1244
+ { "name": "min", "type": "number" },
1245
+ { "name": "minLength", "type": "number" },
1246
+ { "name": "maxLength", "type": "number" },
1247
+ { "name": "pattern", "type": "string" },
1248
+ { "name": "placeholder", "type": "string" },
1249
+ { "name": "readOnly", "type": "boolean" },
1250
+ { "name": "readonly", "type": "boolean" },
1251
+ { "name": "required", "type": "boolean" },
1252
+ { "name": "type", "type": "string" },
1253
+ { "name": "value", "type": "string" },
1254
+ { "name": "name", "type": "string" },
1255
+ { "name": "step", "type": "number" },
1256
+ { "name": "autocomplete", "type": "string | undefined" },
1129
1257
  {
1130
- "name": "locale",
1131
- "description": "Locale used in CDN URL",
1132
- "type": "string"
1258
+ "name": "formatter",
1259
+ "description": "Function to format value when the input field.\n\nOnly active when the input field does not have focus,\nsimilar to the accessible input masking example from Filament Group\n\nhttps://css-tricks.com/input-masking/\nhttps://filamentgroup.github.io/politespace/demo/demo.html",
1260
+ "type": "(value: string) => string"
1133
1261
  }
1134
1262
  ],
1135
1263
  "events": []
1136
1264
  }
1265
+ },
1266
+ {
1267
+ "name": "w-toast-container",
1268
+ "description": "\n---\n",
1269
+ "doc-url": "",
1270
+ "attributes": [],
1271
+ "events": [],
1272
+ "js": { "properties": [], "events": [] }
1137
1273
  }
1138
1274
  ]
1139
1275
  },