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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/custom-elements.json +3216 -0
  2. package/dist/index.d.ts +752 -0
  3. package/dist/packages/checkbox/checkbox-group.js +3 -11
  4. package/dist/packages/checkbox/checkbox-group.js.map +7 -0
  5. package/dist/packages/checkbox/checkbox.js +2572 -201
  6. package/dist/packages/checkbox/checkbox.js.map +7 -0
  7. package/dist/packages/deadtoggle/index.js +2547 -51
  8. package/dist/packages/deadtoggle/index.js.map +7 -0
  9. package/dist/packages/pageindicator/index.js +28 -44
  10. package/dist/packages/pageindicator/index.js.map +7 -0
  11. package/dist/packages/pagination/index.js +2484 -183
  12. package/dist/packages/pagination/index.js.map +7 -0
  13. package/dist/packages/radio/radio-group-styles.js +3 -3
  14. package/dist/packages/radio/radio-group-styles.js.map +7 -0
  15. package/dist/packages/radio/radio-group.js +2618 -312
  16. package/dist/packages/radio/radio-group.js.map +7 -0
  17. package/dist/packages/radio/radio-styles.js +1 -0
  18. package/dist/packages/radio/radio-styles.js.map +7 -0
  19. package/dist/packages/radio/radio.js +2556 -109
  20. package/dist/packages/radio/radio.js.map +7 -0
  21. package/dist/packages/radio/radio.stories.js +3688 -47
  22. package/dist/packages/radio/radio.stories.js.map +7 -0
  23. package/dist/packages/slider/slider-thumb.js +2646 -399
  24. package/dist/packages/slider/slider-thumb.js.map +7 -0
  25. package/dist/packages/slider/slider.js +2603 -272
  26. package/dist/packages/slider/slider.js.map +7 -0
  27. package/dist/packages/stepindicator/index.js +2459 -189
  28. package/dist/packages/stepindicator/index.js.map +7 -0
  29. package/dist/packages/tabs/index.js +2473 -4
  30. package/dist/packages/tabs/index.js.map +7 -0
  31. package/dist/packages/tabs/tab-panel.js +2441 -47
  32. package/dist/packages/tabs/tab-panel.js.map +7 -0
  33. package/dist/packages/tabs/tab.js +2451 -78
  34. package/dist/packages/tabs/tab.js.map +7 -0
  35. package/dist/packages/tabs/tabs.js +2443 -260
  36. package/dist/packages/tabs/tabs.js.map +7 -0
  37. package/dist/packages/textarea/textarea.js +2465 -210
  38. package/dist/packages/textarea/textarea.js.map +7 -0
  39. package/dist/web-types.json +800 -1
  40. package/package.json +37 -1
package/dist/index.d.ts CHANGED
@@ -19,6 +19,20 @@ import type { WarpToastContainer } from "./packages/toast/toast-container.ts";
19
19
  import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
20
20
  import type { WarpSwitch } from "./packages/switch/index.ts";
21
21
  import type { WarpCombobox } from "./packages/combobox/index.ts";
22
+ import type { WarpDeadToggle } from "./packages/deadtoggle/index.ts";
23
+ import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
24
+ import type { WarpPagination } from "./packages/pagination/index.ts";
25
+ import type { WRadio } from "./packages/radio/radio.ts";
26
+ import type { WRadioGroup } from "./packages/radio/radio-group.ts";
27
+ import type { WCheckbox } from "./packages/checkbox/checkbox.ts";
28
+ import type { WCheckboxGroup } from "./packages/checkbox/checkbox-group.ts";
29
+ import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
30
+ import type { WarpSlider } from "./packages/slider/slider.ts";
31
+ import type { WarpStepIndicator, WarpStep } from "./packages/stepindicator/index.ts";
32
+ import type { WarpTab } from "./packages/tabs/tab.ts";
33
+ import type { WarpTabPanel } from "./packages/tabs/tab-panel.ts";
34
+ import type { WarpTabs } from "./packages/tabs/tabs.ts";
35
+ import type { WarpTextarea } from "./packages/textarea/textarea.ts";
22
36
 
23
37
  /**
24
38
  * This type can be used to create scoped tags for your components.
@@ -634,6 +648,346 @@ export type WarpComboboxProps = {
634
648
  "autocomplete"?: WarpCombobox['autocomplete'];
635
649
 
636
650
 
651
+ }
652
+
653
+
654
+ export type WarpDeadToggleProps = {
655
+ /** */
656
+ "type"?: WarpDeadToggle['type'];
657
+ /** */
658
+ "checked"?: WarpDeadToggle['checked'];
659
+ /** */
660
+ "indeterminate"?: WarpDeadToggle['indeterminate'];
661
+ /** */
662
+ "invalid"?: WarpDeadToggle['invalid'];
663
+ /** */
664
+ "disabled"?: WarpDeadToggle['disabled'];
665
+
666
+
667
+ }
668
+
669
+
670
+ export type WarpPageIndicatorProps = {
671
+ /** Currently selected page (1-based index) */
672
+ "selected-page"?: WarpPageIndicator['selectedPage'];
673
+ /** Currently selected page (1-based index) */
674
+ "selectedPage"?: WarpPageIndicator['selectedPage'];
675
+ /** Total number of pages */
676
+ "page-count"?: WarpPageIndicator['pageCount'];
677
+ /** Total number of pages */
678
+ "pageCount"?: WarpPageIndicator['pageCount'];
679
+
680
+
681
+ }
682
+
683
+
684
+ export type WarpPaginationProps = {
685
+ /** */
686
+ "base-url"?: WarpPagination['baseUrl'];
687
+ /** */
688
+ "baseUrl"?: WarpPagination['baseUrl'];
689
+ /** */
690
+ "pages"?: WarpPagination['pages'];
691
+ /** */
692
+ "current-page"?: WarpPagination['currentPageNumber'];
693
+ /** */
694
+ "currentPageNumber"?: WarpPagination['currentPageNumber'];
695
+ /** */
696
+ "visible-pages"?: WarpPagination['visiblePages'];
697
+ /** */
698
+ "visiblePages"?: WarpPagination['visiblePages'];
699
+
700
+ /** Triggered when a link button in the pagination is clicked. Contains the page number in `string` form. */
701
+ "onpage-click"?: (e: CustomEvent<CustomEvent>) => void;
702
+ }
703
+
704
+
705
+ export type WRadioProps = {
706
+ /** The string pointing to a form's id. */
707
+ "form"?: WRadio['form'];
708
+ /** The radio's value. When selected, the radio group will receive this value. */
709
+ "value"?: WRadio['value'];
710
+ /** The radio's value. When selected, the radio group will receive this value. */
711
+ "appearance"?: WRadio['appearance'];
712
+ /** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
713
+ attribute can typically be omitted. */
714
+ "size"?: WRadio['size'];
715
+ /** Disables the radio. */
716
+ "disabled"?: WRadio['disabled'];
717
+ /** */
718
+ "checked"?: WRadio['checked'];
719
+
720
+
721
+ }
722
+
723
+
724
+ export type WRadioGroupProps = {
725
+ /** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
726
+ instead. */
727
+ "label"?: WRadioGroup['label'];
728
+ /** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
729
+ "hint"?: WRadioGroup['hint'];
730
+ /** The name of the radio group, submitted as a name/value pair with form data. */
731
+ "name"?: WRadioGroup['name'];
732
+ /** Disables the radio group and all child radios. */
733
+ "disabled"?: WRadioGroup['disabled'];
734
+ /** The orientation in which to show radio items. */
735
+ "orientation"?: WRadioGroup['orientation'];
736
+ /** The default value of the form control. Primarily used for resetting the form control. */
737
+ "value"?: WRadioGroup['defaultValue'];
738
+ /** The default value of the form control. Primarily used for resetting the form control. */
739
+ "defaultValue"?: WRadioGroup['defaultValue'];
740
+ /** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
741
+ "size"?: WRadioGroup['size'];
742
+ /** Ensures a child radio is checked before allowing the containing form to submit. */
743
+ "required"?: WRadioGroup['required'];
744
+ /** Used for SSR. if true, will show slotted label on initial render. */
745
+ "with-label"?: WRadioGroup['withLabel'];
746
+ /** Used for SSR. if true, will show slotted label on initial render. */
747
+ "withLabel"?: WRadioGroup['withLabel'];
748
+ /** Used for SSR. if true, will show slotted hint on initial render. */
749
+ "with-hint"?: WRadioGroup['withHint'];
750
+ /** Used for SSR. if true, will show slotted hint on initial render. */
751
+ "withHint"?: WRadioGroup['withHint'];
752
+ /** */
753
+ "hasRadioButtons"?: WRadioGroup['hasRadioButtons'];
754
+ /** */
755
+ "defaultSlot"?: WRadioGroup['defaultSlot'];
756
+
757
+ /** */
758
+ "oninput"?: (e: CustomEvent<InputEvent>) => void;
759
+ /** */
760
+ "onchange"?: (e: CustomEvent<Event>) => void;
761
+ }
762
+
763
+
764
+ export type WCheckboxProps = {
765
+ /** */
766
+ "title"?: WCheckbox['title'];
767
+ /** The name of the checkbox, submitted as a name/value pair with form data. */
768
+ "name"?: WCheckbox['name'];
769
+ /** The value of the checkbox, submitted as a name/value pair with form data. */
770
+ "value"?: WCheckbox['value'];
771
+ /** The checkbox's size. */
772
+ "size"?: WCheckbox['size'];
773
+ /** Disables the checkbox. */
774
+ "disabled"?: WCheckbox['disabled'];
775
+ /** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
776
+ all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
777
+ "indeterminate"?: WCheckbox['indeterminate'];
778
+ /** The default value of the form control. Primarily used for resetting the form control. */
779
+ "checked"?: WCheckbox['defaultChecked'];
780
+ /** The default value of the form control. Primarily used for resetting the form control. */
781
+ "defaultChecked"?: WCheckbox['defaultChecked'];
782
+ /** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
783
+ to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
784
+ the same document or shadow root for this to work. */
785
+ "form"?: WCheckbox['form'];
786
+ /** Makes the checkbox a required field. */
787
+ "required"?: WCheckbox['required'];
788
+ /** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
789
+ "hint"?: WCheckbox['hint'];
790
+ /** */
791
+ "input"?: WCheckbox['input'];
792
+
793
+ /** */
794
+ "onchange"?: (e: CustomEvent<Event>) => void;
795
+ }
796
+
797
+
798
+ export type WCheckboxGroupProps = {
799
+
800
+
801
+ }
802
+
803
+
804
+ export type WarpSliderThumbProps = {
805
+ /** */
806
+ "aria-label"?: WarpSliderThumb['ariaLabel'];
807
+ /** */
808
+ "ariaLabel"?: WarpSliderThumb['ariaLabel'];
809
+ /** */
810
+ "aria-description"?: WarpSliderThumb['ariaDescription'];
811
+ /** */
812
+ "ariaDescription"?: WarpSliderThumb['ariaDescription'];
813
+ /** */
814
+ "label"?: WarpSliderThumb['label'];
815
+ /** */
816
+ "name"?: WarpSliderThumb['name'];
817
+ /** */
818
+ "value"?: WarpSliderThumb['value'];
819
+ /** */
820
+ "disabled"?: WarpSliderThumb['disabled'];
821
+ /** */
822
+ "invalid"?: WarpSliderThumb['invalid'];
823
+ /** Set by `<w-slider>` */
824
+ "allowValuesOutsideRange"?: WarpSliderThumb['allowValuesOutsideRange'];
825
+ /** Set by `<w-slider>` */
826
+ "markers"?: WarpSliderThumb['markers'];
827
+ /** Set by `<w-slider>` */
828
+ "required"?: WarpSliderThumb['required'];
829
+ /** Set by `<w-slider>` */
830
+ "step"?: WarpSliderThumb['step'];
831
+ /** Set by `<w-slider>` */
832
+ "min"?: WarpSliderThumb['min'];
833
+ /** Set by `<w-slider>` */
834
+ "max"?: WarpSliderThumb['max'];
835
+ /** Set by `<w-slider>` */
836
+ "suffix"?: WarpSliderThumb['suffix'];
837
+ /** JS hook to help you format the numeric value how you want. */
838
+ "formatter"?: WarpSliderThumb['formatter'];
839
+ /** */
840
+ "range"?: WarpSliderThumb['range'];
841
+ /** */
842
+ "textfield"?: WarpSliderThumb['textfield'];
843
+
844
+ /** */
845
+ "onslidervalidity"?: (e: CustomEvent<CustomEvent>) => void;
846
+ }
847
+
848
+
849
+ export type WarpSliderProps = {
850
+ /** The slider fieldset label. Required for proper accessibility.
851
+
852
+ If you need to display HTML, use the `label` slot instead. */
853
+ "label"?: WarpSlider['label'];
854
+ /** */
855
+ "disabled"?: WarpSlider['disabled'];
856
+ /** */
857
+ "allow-values-outside-range"?: WarpSlider['allowValuesOutsideRange'];
858
+ /** */
859
+ "allowValuesOutsideRange"?: WarpSlider['allowValuesOutsideRange'];
860
+ /** */
861
+ "error"?: WarpSlider['error'];
862
+ /** */
863
+ "help-text"?: WarpSlider['helpText'];
864
+ /** */
865
+ "helpText"?: WarpSlider['helpText'];
866
+ /** */
867
+ "invalid"?: WarpSlider['invalid'];
868
+ /** Ensures a child slider thumb has a value before allowing the containing form to submit. */
869
+ "required"?: WarpSlider['required'];
870
+ /** */
871
+ "min"?: WarpSlider['min'];
872
+ /** */
873
+ "max"?: WarpSlider['max'];
874
+ /** Pass a value similar to step to create visual markers at that interval */
875
+ "markers"?: WarpSlider['markers'];
876
+ /** */
877
+ "step"?: WarpSlider['step'];
878
+ /** Suffix used in text input fields and for the min and max values of the slider. */
879
+ "suffix"?: WarpSlider['suffix'];
880
+ /** Function to format the to- and from labels and value in the slider thumb tooltip. */
881
+ "formatter"?: WarpSlider['formatter'];
882
+ /** */
883
+ "_invalidMessage"?: WarpSlider['_invalidMessage'];
884
+ /** */
885
+ "_hasInternalError"?: WarpSlider['_hasInternalError'];
886
+
887
+
888
+ }
889
+
890
+
891
+ export type WarpStepIndicatorProps = {
892
+ /** */
893
+ "horizontal"?: WarpStepIndicator['horizontal'];
894
+ /** */
895
+ "right"?: WarpStepIndicator['right'];
896
+
897
+
898
+ }
899
+
900
+
901
+ export type WarpStepProps = {
902
+ /** */
903
+ "active"?: WarpStep['active'];
904
+ /** */
905
+ "completed"?: WarpStep['completed'];
906
+
907
+
908
+ }
909
+
910
+
911
+ export type WarpTabProps = {
912
+ /** */
913
+ "for"?: WarpTab['for'];
914
+ /** */
915
+ "label"?: WarpTab['label'];
916
+ /** */
917
+ "active"?: WarpTab['active'];
918
+ /** */
919
+ "over"?: WarpTab['over'];
920
+ /** */
921
+ "tab-class"?: WarpTab['tabClass'];
922
+ /** */
923
+ "tabClass"?: WarpTab['tabClass'];
924
+
925
+
926
+ }
927
+
928
+
929
+ export type WarpTabPanelProps = {
930
+ /** */
931
+ "hidden"?: WarpTabPanel['hidden'];
932
+
933
+
934
+ }
935
+
936
+
937
+ export type WarpTabsProps = {
938
+ /** */
939
+ "active"?: WarpTabs['active'];
940
+ /** */
941
+ "tab-class"?: WarpTabs['tabClass'];
942
+ /** */
943
+ "tabClass"?: WarpTabs['tabClass'];
944
+
945
+ /** */
946
+ "onchange"?: (e: CustomEvent<CustomEvent>) => void;
947
+ }
948
+
949
+
950
+ export type WarpTextareaProps = {
951
+ /** */
952
+ "disabled"?: WarpTextarea['disabled'];
953
+ /** */
954
+ "invalid"?: WarpTextarea['invalid'];
955
+ /** */
956
+ "label"?: WarpTextarea['label'];
957
+ /** */
958
+ "help-text"?: WarpTextarea['helpText'];
959
+ /** */
960
+ "helpText"?: WarpTextarea['helpText'];
961
+ /** */
962
+ "maximum-rows"?: WarpTextarea['maxRows'];
963
+ /** */
964
+ "maxRows"?: WarpTextarea['maxRows'];
965
+ /** */
966
+ "minimum-rows"?: WarpTextarea['minRows'];
967
+ /** */
968
+ "minRows"?: WarpTextarea['minRows'];
969
+ /** */
970
+ "name"?: WarpTextarea['name'];
971
+ /** */
972
+ "placeholder"?: WarpTextarea['placeholder'];
973
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
974
+ "read-only"?: WarpTextarea['readOnly'];
975
+ /** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
976
+ "readOnly"?: WarpTextarea['readOnly'];
977
+ /** */
978
+ "readonly"?: WarpTextarea['readonly'];
979
+ /** */
980
+ "required"?: WarpTextarea['required'];
981
+ /** */
982
+ "value"?: WarpTextarea['value'];
983
+ /** */
984
+ "optional"?: WarpTextarea['optional'];
985
+ /** */
986
+ "minHeight"?: WarpTextarea['minHeight'];
987
+ /** */
988
+ "maxHeight"?: WarpTextarea['maxHeight'];
989
+
990
+
637
991
  }
638
992
 
639
993
  export type CustomElements = {
@@ -1201,6 +1555,404 @@ export type WarpComboboxProps = {
1201
1555
  * - `resetFormControl() => void`: undefined
1202
1556
  */
1203
1557
  "w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
1558
+
1559
+
1560
+ /**
1561
+ * Dead toggle can be used where the appearance of a checkbox or radio is needed - but for accessibility purposes an actual input element should not be present.
1562
+ *
1563
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-dead-toggle--docs)
1564
+ *
1565
+ * ## Attributes & Properties
1566
+ *
1567
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1568
+ *
1569
+ * - `type`: undefined
1570
+ * - `checked`: undefined
1571
+ * - `indeterminate`: undefined
1572
+ * - `invalid`: undefined
1573
+ * - `disabled`: undefined
1574
+ */
1575
+ "w-dead-toggle": Partial<WarpDeadToggleProps & BaseProps<WarpDeadToggle> & BaseEvents>;
1576
+
1577
+
1578
+ /**
1579
+ *
1580
+ *
1581
+ * ## Attributes & Properties
1582
+ *
1583
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1584
+ *
1585
+ * - `selected-page`/`selectedPage`: Currently selected page (1-based index)
1586
+ * - `page-count`/`pageCount`: Total number of pages
1587
+ */
1588
+ "w-pageindicator": Partial<WarpPageIndicatorProps & BaseProps<WarpPageIndicator> & BaseEvents>;
1589
+
1590
+
1591
+ /**
1592
+ * Pagination allows users to navigate through multiple pages of content by providing navigation controls with page numbers and directional arrows.
1593
+ *
1594
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/navigation-pagination--docs)
1595
+ *
1596
+ * ## Attributes & Properties
1597
+ *
1598
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1599
+ *
1600
+ * - `base-url`/`baseUrl`: undefined
1601
+ * - `pages`: undefined
1602
+ * - `current-page`/`currentPageNumber`: undefined
1603
+ * - `visible-pages`/`visiblePages`: undefined
1604
+ *
1605
+ * ## Events
1606
+ *
1607
+ * Events that will be emitted by the component.
1608
+ *
1609
+ * - `page-click`: Triggered when a link button in the pagination is clicked. Contains the page number in `string` form.
1610
+ */
1611
+ "w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
1612
+
1613
+
1614
+ /**
1615
+ *
1616
+ *
1617
+ * ## Attributes & Properties
1618
+ *
1619
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1620
+ *
1621
+ * - `form`: The string pointing to a form's id.
1622
+ * - `value`: The radio's value. When selected, the radio group will receive this value.
1623
+ * - `appearance`: The radio's value. When selected, the radio group will receive this value.
1624
+ * - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
1625
+ * attribute can typically be omitted.
1626
+ * - `disabled`: Disables the radio.
1627
+ * - `checked`: undefined (property only)
1628
+ *
1629
+ * ## Methods
1630
+ *
1631
+ * Methods that can be called to access component functionality.
1632
+ *
1633
+ * - `setValue() => void`: undefined
1634
+ */
1635
+ "w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
1636
+
1637
+
1638
+ /**
1639
+ *
1640
+ *
1641
+ * ## Attributes & Properties
1642
+ *
1643
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1644
+ *
1645
+ * - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
1646
+ * instead.
1647
+ * - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
1648
+ * - `name`: The name of the radio group, submitted as a name/value pair with form data.
1649
+ * - `disabled`: Disables the radio group and all child radios.
1650
+ * - `orientation`: The orientation in which to show radio items.
1651
+ * - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
1652
+ * - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
1653
+ * - `required`: Ensures a child radio is checked before allowing the containing form to submit.
1654
+ * - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
1655
+ * - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
1656
+ * - `hasRadioButtons`: undefined (property only)
1657
+ * - `defaultSlot`: undefined (property only)
1658
+ * - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
1659
+ * - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
1660
+ * the first radio element. (property only) (readonly)
1661
+ *
1662
+ * ## Events
1663
+ *
1664
+ * Events that will be emitted by the component.
1665
+ *
1666
+ * - `input`: undefined
1667
+ * - `change`: undefined
1668
+ *
1669
+ * ## Slots
1670
+ *
1671
+ * Areas where markup can be added to the component.
1672
+ *
1673
+ * - `label`: Alternative to the `label` attribute should you need custom HTML.
1674
+ *
1675
+ * ## Methods
1676
+ *
1677
+ * Methods that can be called to access component functionality.
1678
+ *
1679
+ * - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
1680
+ * - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
1681
+ */
1682
+ "w-radio-group": Partial<WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents>;
1683
+
1684
+
1685
+ /**
1686
+ *
1687
+ *
1688
+ * ## Attributes & Properties
1689
+ *
1690
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1691
+ *
1692
+ * - `title`: undefined
1693
+ * - `name`: The name of the checkbox, submitted as a name/value pair with form data.
1694
+ * - `value`: The value of the checkbox, submitted as a name/value pair with form data.
1695
+ * - `size`: The checkbox's size.
1696
+ * - `disabled`: Disables the checkbox.
1697
+ * - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
1698
+ * all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
1699
+ * - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
1700
+ * - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
1701
+ * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
1702
+ * the same document or shadow root for this to work.
1703
+ * - `required`: Makes the checkbox a required field.
1704
+ * - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
1705
+ * - `input`: undefined (property only)
1706
+ * - `checked`: Draws the checkbox in a checked state. (property only)
1707
+ *
1708
+ * ## Events
1709
+ *
1710
+ * Events that will be emitted by the component.
1711
+ *
1712
+ * - `change`: undefined
1713
+ *
1714
+ * ## Methods
1715
+ *
1716
+ * Methods that can be called to access component functionality.
1717
+ *
1718
+ * - `handleDefaultCheckedChange() => void`: undefined
1719
+ * - `handleValueOrCheckedChange() => void`: undefined
1720
+ * - `handleStateChange() => void`: undefined
1721
+ * - `handleDisabledChange() => void`: undefined
1722
+ * - `formResetCallback() => void`: undefined
1723
+ * - `click() => void`: Simulates a click on the checkbox.
1724
+ * - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
1725
+ * - `blur() => void`: Removes focus from the checkbox.
1726
+ */
1727
+ "w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
1728
+
1729
+
1730
+ /**
1731
+ *
1732
+ */
1733
+ "w-checkbox-group": Partial<WCheckboxGroupProps & BaseProps<WCheckboxGroup> & BaseEvents>;
1734
+
1735
+
1736
+ /**
1737
+ * Component to place inside a `<w-slider>`.
1738
+ *
1739
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
1740
+ *
1741
+ * ## Attributes & Properties
1742
+ *
1743
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1744
+ *
1745
+ * - `aria-label`/`ariaLabel`: undefined
1746
+ * - `aria-description`/`ariaDescription`: undefined
1747
+ * - `label`: undefined
1748
+ * - `name`: undefined
1749
+ * - `value`: undefined
1750
+ * - `disabled`: undefined
1751
+ * - `invalid`: undefined
1752
+ * - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
1753
+ * - `markers`: Set by `<w-slider>` (property only)
1754
+ * - `required`: Set by `<w-slider>` (property only)
1755
+ * - `step`: Set by `<w-slider>` (property only)
1756
+ * - `min`: Set by `<w-slider>` (property only)
1757
+ * - `max`: Set by `<w-slider>` (property only)
1758
+ * - `suffix`: Set by `<w-slider>` (property only)
1759
+ * - `formatter`: JS hook to help you format the numeric value how you want. (property only)
1760
+ * - `range`: undefined (property only)
1761
+ * - `textfield`: undefined (property only)
1762
+ * - `boundaryValue`: undefined (property only) (readonly)
1763
+ * - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
1764
+ * - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
1765
+ *
1766
+ * ## Events
1767
+ *
1768
+ * Events that will be emitted by the component.
1769
+ *
1770
+ * - `slidervalidity`: undefined
1771
+ *
1772
+ * ## Methods
1773
+ *
1774
+ * Methods that can be called to access component functionality.
1775
+ *
1776
+ * - `resetFormControl() => void`: undefined
1777
+ * - `updateFieldAfterValidation() => void`: undefined
1778
+ */
1779
+ "w-slider-thumb": Partial<WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents>;
1780
+
1781
+
1782
+ /**
1783
+ * Parent component for sliders (both single and range sliders). Used in combination with a `<w-slider-thumb>`.
1784
+ *
1785
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-slider-and-range-slider--docs)
1786
+ *
1787
+ * ## Attributes & Properties
1788
+ *
1789
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1790
+ *
1791
+ * - `label`: The slider fieldset label. Required for proper accessibility.
1792
+ *
1793
+ * If you need to display HTML, use the `label` slot instead.
1794
+ * - `disabled`: undefined
1795
+ * - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
1796
+ * - `error`: undefined
1797
+ * - `help-text`/`helpText`: undefined
1798
+ * - `invalid`: undefined
1799
+ * - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
1800
+ * - `min`: undefined
1801
+ * - `max`: undefined
1802
+ * - `markers`: Pass a value similar to step to create visual markers at that interval
1803
+ * - `step`: undefined
1804
+ * - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
1805
+ * - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
1806
+ * - `_invalidMessage`: undefined (property only)
1807
+ * - `_hasInternalError`: undefined (property only)
1808
+ * - `edgeMin`: undefined (property only) (readonly)
1809
+ * - `edgeMax`: undefined (property only) (readonly)
1810
+ * - `componentHasError`: undefined (property only) (readonly)
1811
+ * - `errorText`: undefined (property only) (readonly)
1812
+ *
1813
+ * ## Slots
1814
+ *
1815
+ * Areas where markup can be added to the component.
1816
+ *
1817
+ * - `(default)`: For single sliders place a `<w-slider-thumb>` in the default slot.
1818
+ * - `label`: Label for the slider or range slider as a whole.
1819
+ * - `description`: Optional description between the label and slider.
1820
+ * - `from`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
1821
+ * - `to`: Range sliders need to place a `<w-slider-thumb>` in the from and to slots.
1822
+ */
1823
+ "w-slider": Partial<WarpSliderProps & BaseProps<WarpSlider> & BaseEvents>;
1824
+
1825
+
1826
+ /**
1827
+ * Steps are used to show progress through a process or to guide users through a multi-step task.
1828
+ *
1829
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/components-steps--docs)
1830
+ *
1831
+ * ## Attributes & Properties
1832
+ *
1833
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1834
+ *
1835
+ * - `horizontal`: undefined
1836
+ * - `right`: undefined
1837
+ *
1838
+ * ## Methods
1839
+ *
1840
+ * Methods that can be called to access component functionality.
1841
+ *
1842
+ * - `updateStepsContext() => void`: undefined
1843
+ */
1844
+ "w-step-indicator": Partial<WarpStepIndicatorProps & BaseProps<WarpStepIndicator> & BaseEvents>;
1845
+
1846
+
1847
+ /**
1848
+ * Individual step component that shows a single step in a process
1849
+ *
1850
+ * ## Attributes & Properties
1851
+ *
1852
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1853
+ *
1854
+ * - `active`: undefined
1855
+ * - `completed`: undefined
1856
+ *
1857
+ * ## Methods
1858
+ *
1859
+ * Methods that can be called to access component functionality.
1860
+ *
1861
+ * - `setContext(context: StepsContext) => void`: undefined
1862
+ * - `getAriaLabel() => void`: undefined
1863
+ */
1864
+ "w-step": Partial<WarpStepProps & BaseProps<WarpStep> & BaseEvents>;
1865
+
1866
+
1867
+ /**
1868
+ * Individual tab component used within w-tabs container.
1869
+ *
1870
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1871
+ *
1872
+ * ## Attributes & Properties
1873
+ *
1874
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1875
+ *
1876
+ * - `for`: undefined
1877
+ * - `label`: undefined
1878
+ * - `active`: undefined
1879
+ * - `over`: undefined
1880
+ * - `tab-class`/`tabClass`: undefined
1881
+ */
1882
+ "w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
1883
+
1884
+
1885
+ /**
1886
+ * Tab panel component that holds content for individual tabs.
1887
+ * Each tab panel should have a name that matches a corresponding tab.
1888
+ *
1889
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1890
+ *
1891
+ * ## Attributes & Properties
1892
+ *
1893
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1894
+ *
1895
+ * - `hidden`: undefined
1896
+ */
1897
+ "w-tab-panel": Partial<WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents>;
1898
+
1899
+
1900
+ /**
1901
+ * Tabs are used to organize content by grouping similar information on the same page.
1902
+ *
1903
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
1904
+ *
1905
+ * ## Attributes & Properties
1906
+ *
1907
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1908
+ *
1909
+ * - `active`: undefined
1910
+ * - `tab-class`/`tabClass`: undefined
1911
+ * - `tabs`: undefined (property only) (readonly)
1912
+ * - `activeTab`: undefined (property only) (readonly)
1913
+ *
1914
+ * ## Events
1915
+ *
1916
+ * Events that will be emitted by the component.
1917
+ *
1918
+ * - `change`: undefined
1919
+ */
1920
+ "w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
1921
+
1922
+
1923
+ /**
1924
+ * A single line text input element.
1925
+ *
1926
+ * [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
1927
+ *
1928
+ * ## Attributes & Properties
1929
+ *
1930
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1931
+ *
1932
+ * - `disabled`: undefined
1933
+ * - `invalid`: undefined
1934
+ * - `label`: undefined
1935
+ * - `help-text`/`helpText`: undefined
1936
+ * - `maximum-rows`/`maxRows`: undefined
1937
+ * - `minimum-rows`/`minRows`: undefined
1938
+ * - `name`: undefined
1939
+ * - `placeholder`: undefined
1940
+ * - `read-only`/`readOnly`: undefined
1941
+ * - `readonly`: undefined
1942
+ * - `required`: undefined
1943
+ * - `value`: undefined
1944
+ * - `optional`: undefined
1945
+ * - `minHeight`: undefined (property only)
1946
+ * - `maxHeight`: undefined (property only)
1947
+ *
1948
+ * ## Methods
1949
+ *
1950
+ * Methods that can be called to access component functionality.
1951
+ *
1952
+ * - `resetFormControl() => void`: undefined
1953
+ * - `handler(e: InputEvent) => void`: undefined
1954
+ */
1955
+ "w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
1204
1956
  }
1205
1957
 
1206
1958
  export type CustomCssProperties = {