@warp-ds/elements 2.3.0-next.24 → 2.3.0-next.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +311 -22
- package/dist/index.d.ts +261 -0
- package/dist/packages/attention/index.js +20 -20
- package/dist/packages/attention/index.js.map +3 -3
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/button.test.js +30 -1
- package/dist/packages/button/index.d.ts +2 -0
- package/dist/packages/button/index.js +12 -12
- package/dist/packages/button/index.js.map +3 -3
- package/dist/packages/checkbox/checkbox-group.js +2 -2
- package/dist/packages/checkbox/checkbox-group.js.map +2 -2
- package/dist/packages/checkbox/checkbox.js +1 -1
- package/dist/packages/checkbox/checkbox.js.map +2 -2
- package/dist/packages/checkbox/index.d.ts +2 -1
- package/dist/packages/checkbox/index.js +2 -6
- package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
- package/dist/packages/combobox/combobox.stories.d.ts +1 -0
- package/dist/packages/combobox/combobox.stories.js +29 -3
- package/dist/packages/combobox/index.d.ts +7 -1
- package/dist/packages/combobox/index.js +19 -19
- package/dist/packages/combobox/index.js.map +4 -4
- package/dist/packages/datepicker/datepicker.d.ts +1 -0
- package/dist/packages/datepicker/datepicker.js +35 -35
- package/dist/packages/datepicker/datepicker.js.map +3 -3
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/datepicker.test.js +27 -0
- package/dist/packages/link/link.react.stories.d.ts +1 -1
- package/dist/packages/radio/index.d.ts +2 -1
- package/dist/packages/radio/index.js +2 -6
- package/dist/packages/radio/radio-group.js +5 -5
- package/dist/packages/radio/radio-group.js.map +2 -2
- package/dist/packages/radio/radio.js +1 -1
- package/dist/packages/radio/radio.js.map +2 -2
- package/dist/packages/radio/radio.stories.js +3 -3
- package/dist/packages/radio/radio.stories.js.map +4 -4
- package/dist/packages/select/index.d.ts +1 -0
- package/dist/packages/select/index.js +15 -15
- package/dist/packages/select/index.js.map +3 -3
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.test.js +30 -0
- package/dist/packages/slider/slider-thumb.d.ts +1 -0
- package/dist/packages/slider/slider-thumb.js +23 -23
- package/dist/packages/slider/slider-thumb.js.map +3 -3
- package/dist/packages/slider/slider.d.ts +1 -2
- package/dist/packages/slider/slider.js +20 -20
- package/dist/packages/slider/slider.js.map +4 -4
- package/dist/packages/slider/slider.stories.js +2 -2
- package/dist/packages/slider/slider.test.js +28 -0
- package/dist/packages/switch/index.d.ts +10 -2
- package/dist/packages/switch/index.js +5 -5
- package/dist/packages/switch/index.js.map +4 -4
- package/dist/packages/switch/switch.react.stories.js +4 -4
- package/dist/packages/switch/switch.stories.js +6 -5
- package/dist/packages/switch/switch.test.d.ts +1 -0
- package/dist/packages/switch/switch.test.js +40 -0
- package/dist/packages/textarea/textarea.d.ts +1 -0
- package/dist/packages/textarea/textarea.js +14 -14
- package/dist/packages/textarea/textarea.js.map +3 -3
- package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
- package/dist/packages/textarea/textarea.test.js +19 -0
- package/dist/packages/textfield/index.d.ts +3 -0
- package/dist/packages/textfield/index.js +8 -8
- package/dist/packages/textfield/index.js.map +3 -3
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/textfield/textfield.stories.d.ts +1 -0
- package/dist/packages/textfield/textfield.stories.js +17 -0
- package/dist/web-types.json +340 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,9 @@ import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
|
21
21
|
import type { WarpDeadToggle } from "./packages/deadtoggle/index.ts";
|
|
22
22
|
import type { WarpPageIndicator } from "./packages/pageindicator/index.ts";
|
|
23
23
|
import type { WarpPagination } from "./packages/pagination/index.ts";
|
|
24
|
+
import type { WRadio } from "./packages/radio/radio.ts";
|
|
25
|
+
import type { WRadioGroup } from "./packages/radio/radio-group.ts";
|
|
26
|
+
import type { WCheckbox } from "./packages/checkbox/checkbox.ts";
|
|
24
27
|
import type { WCheckboxGroup } from "./packages/checkbox/checkbox-group.ts";
|
|
25
28
|
import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
|
|
26
29
|
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
@@ -697,6 +700,104 @@ export type WarpPaginationProps = {
|
|
|
697
700
|
}
|
|
698
701
|
|
|
699
702
|
|
|
703
|
+
export type WRadioProps = {
|
|
704
|
+
/** The string pointing to a form's id. */
|
|
705
|
+
"form"?: WRadio['form'];
|
|
706
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
707
|
+
"value"?: WRadio['value'];
|
|
708
|
+
/** The radio's value. When selected, the radio group will receive this value. */
|
|
709
|
+
"appearance"?: WRadio['appearance'];
|
|
710
|
+
/** The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
711
|
+
attribute can typically be omitted. */
|
|
712
|
+
"size"?: WRadio['size'];
|
|
713
|
+
/** Disables the radio. */
|
|
714
|
+
"disabled"?: WRadio['disabled'];
|
|
715
|
+
/** */
|
|
716
|
+
"checked"?: WRadio['checked'];
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
export type WRadioGroupProps = {
|
|
723
|
+
/** The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
724
|
+
instead. */
|
|
725
|
+
"label"?: WRadioGroup['label'];
|
|
726
|
+
/** The radio groups's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
727
|
+
"hint"?: WRadioGroup['hint'];
|
|
728
|
+
/** The name of the radio group, submitted as a name/value pair with form data. */
|
|
729
|
+
"name"?: WRadioGroup['name'];
|
|
730
|
+
/** Disables the radio group and all child radios. */
|
|
731
|
+
"disabled"?: WRadioGroup['disabled'];
|
|
732
|
+
/** The orientation in which to show radio items. */
|
|
733
|
+
"orientation"?: WRadioGroup['orientation'];
|
|
734
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
735
|
+
"value"?: WRadioGroup['defaultValue'];
|
|
736
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
737
|
+
"defaultValue"?: WRadioGroup['defaultValue'];
|
|
738
|
+
/** The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden. */
|
|
739
|
+
"size"?: WRadioGroup['size'];
|
|
740
|
+
/** Ensures a child radio is checked before allowing the containing form to submit. */
|
|
741
|
+
"required"?: WRadioGroup['required'];
|
|
742
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
743
|
+
"with-label"?: WRadioGroup['withLabel'];
|
|
744
|
+
/** Used for SSR. if true, will show slotted label on initial render. */
|
|
745
|
+
"withLabel"?: WRadioGroup['withLabel'];
|
|
746
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
747
|
+
"with-hint"?: WRadioGroup['withHint'];
|
|
748
|
+
/** Used for SSR. if true, will show slotted hint on initial render. */
|
|
749
|
+
"withHint"?: WRadioGroup['withHint'];
|
|
750
|
+
/** */
|
|
751
|
+
"hasRadioButtons"?: WRadioGroup['hasRadioButtons'];
|
|
752
|
+
/** */
|
|
753
|
+
"defaultSlot"?: WRadioGroup['defaultSlot'];
|
|
754
|
+
|
|
755
|
+
/** */
|
|
756
|
+
"oninput"?: (e: CustomEvent<InputEvent>) => void;
|
|
757
|
+
/** */
|
|
758
|
+
"onchange"?: (e: CustomEvent<Event>) => void;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
export type WCheckboxProps = {
|
|
763
|
+
/** */
|
|
764
|
+
"title"?: WCheckbox['title'];
|
|
765
|
+
/** The name of the checkbox, submitted as a name/value pair with form data. */
|
|
766
|
+
"name"?: WCheckbox['name'];
|
|
767
|
+
/** The value of the checkbox, submitted as a name/value pair with form data. */
|
|
768
|
+
"value"?: WCheckbox['value'];
|
|
769
|
+
/** The checkbox's size. */
|
|
770
|
+
"size"?: WCheckbox['size'];
|
|
771
|
+
/** Disables the checkbox. */
|
|
772
|
+
"disabled"?: WCheckbox['disabled'];
|
|
773
|
+
/** Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
774
|
+
all/none" behavior when associated checkboxes have a mix of checked and unchecked states. */
|
|
775
|
+
"indeterminate"?: WCheckbox['indeterminate'];
|
|
776
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
777
|
+
"checked"?: WCheckbox['defaultChecked'];
|
|
778
|
+
/** The default value of the form control. Primarily used for resetting the form control. */
|
|
779
|
+
"defaultChecked"?: WCheckbox['defaultChecked'];
|
|
780
|
+
/** By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
781
|
+
to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
782
|
+
the same document or shadow root for this to work. */
|
|
783
|
+
"form"?: WCheckbox['form'];
|
|
784
|
+
/** Makes the checkbox a required field. */
|
|
785
|
+
"required"?: WCheckbox['required'];
|
|
786
|
+
/** The checkbox's hint. If you need to display HTML, use the `hint` slot instead. */
|
|
787
|
+
"hint"?: WCheckbox['hint'];
|
|
788
|
+
/** */
|
|
789
|
+
"input"?: WCheckbox['input'];
|
|
790
|
+
|
|
791
|
+
/** */
|
|
792
|
+
"onchange"?: (e: CustomEvent<Event>) => void;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
export type WCheckboxGroupProps = {
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
}
|
|
800
|
+
|
|
700
801
|
|
|
701
802
|
export type WarpSliderThumbProps = {
|
|
702
803
|
/** */
|
|
@@ -806,9 +907,13 @@ export type WarpStepProps = {
|
|
|
806
907
|
|
|
807
908
|
|
|
808
909
|
export type WarpSwitchProps = {
|
|
910
|
+
/** */
|
|
911
|
+
"name"?: WarpSwitch['name'];
|
|
809
912
|
/** */
|
|
810
913
|
"value"?: WarpSwitch['value'];
|
|
811
914
|
/** */
|
|
915
|
+
"checked"?: WarpSwitch['checked'];
|
|
916
|
+
/** */
|
|
812
917
|
"disabled"?: WarpSwitch['disabled'];
|
|
813
918
|
|
|
814
919
|
/** */
|
|
@@ -980,6 +1085,12 @@ export type WarpTextareaProps = {
|
|
|
980
1085
|
* - `name`: undefined
|
|
981
1086
|
* - `value`: undefined
|
|
982
1087
|
* - `ariaValueTextLoading`: undefined (property only)
|
|
1088
|
+
*
|
|
1089
|
+
* ## Methods
|
|
1090
|
+
*
|
|
1091
|
+
* Methods that can be called to access component functionality.
|
|
1092
|
+
*
|
|
1093
|
+
* - `resetFormControl() => void`: undefined
|
|
983
1094
|
*/
|
|
984
1095
|
"w-button": Partial<WarpButtonProps & BaseProps<WarpButton> & BaseEvents>;
|
|
985
1096
|
|
|
@@ -1177,6 +1288,7 @@ export type WarpTextareaProps = {
|
|
|
1177
1288
|
*
|
|
1178
1289
|
* Methods that can be called to access component functionality.
|
|
1179
1290
|
*
|
|
1291
|
+
* - `resetFormControl() => void`: undefined
|
|
1180
1292
|
* - `handleKeyDown(event: KeyboardEvent) => void`: undefined
|
|
1181
1293
|
* - `onChange({ target }) => void`: undefined
|
|
1182
1294
|
*/
|
|
@@ -1223,6 +1335,7 @@ export type WarpTextareaProps = {
|
|
|
1223
1335
|
*
|
|
1224
1336
|
* Methods that can be called to access component functionality.
|
|
1225
1337
|
*
|
|
1338
|
+
* - `resetFormControl() => void`: undefined
|
|
1226
1339
|
* - `handler(e: Event) => void`: undefined
|
|
1227
1340
|
* - `prefixSlotChange() => void`: undefined
|
|
1228
1341
|
* - `suffixSlotChange() => void`: undefined
|
|
@@ -1363,6 +1476,12 @@ export type WarpTextareaProps = {
|
|
|
1363
1476
|
* - `class-name`/`containerClassName`: Additional container styling
|
|
1364
1477
|
* - `list-class-name`/`listClassName`: Additional list styling
|
|
1365
1478
|
* - `name`: Name attribute for form submission
|
|
1479
|
+
*
|
|
1480
|
+
* ## Methods
|
|
1481
|
+
*
|
|
1482
|
+
* Methods that can be called to access component functionality.
|
|
1483
|
+
*
|
|
1484
|
+
* - `resetFormControl() => void`: undefined
|
|
1366
1485
|
*/
|
|
1367
1486
|
"w-combobox": Partial<WarpComboboxProps & BaseProps<WarpCombobox> & BaseEvents>;
|
|
1368
1487
|
|
|
@@ -1410,6 +1529,12 @@ export type WarpTextareaProps = {
|
|
|
1410
1529
|
* the query will point to an element that doesn't exist anymore. (property only)
|
|
1411
1530
|
* - `todayCell`: undefined (property only)
|
|
1412
1531
|
* - `selectedCell`: undefined (property only)
|
|
1532
|
+
*
|
|
1533
|
+
* ## Methods
|
|
1534
|
+
*
|
|
1535
|
+
* Methods that can be called to access component functionality.
|
|
1536
|
+
*
|
|
1537
|
+
* - `resetFormControl() => void`: undefined
|
|
1413
1538
|
*/
|
|
1414
1539
|
"w-datepicker": Partial<WarpDatepickerProps & BaseProps<WarpDatepicker> & BaseEvents>;
|
|
1415
1540
|
|
|
@@ -1468,6 +1593,127 @@ export type WarpTextareaProps = {
|
|
|
1468
1593
|
"w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
|
|
1469
1594
|
|
|
1470
1595
|
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
*
|
|
1599
|
+
* ## Attributes & Properties
|
|
1600
|
+
*
|
|
1601
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1602
|
+
*
|
|
1603
|
+
* - `form`: The string pointing to a form's id.
|
|
1604
|
+
* - `value`: The radio's value. When selected, the radio group will receive this value.
|
|
1605
|
+
* - `appearance`: The radio's value. When selected, the radio group will receive this value.
|
|
1606
|
+
* - `size`: The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this
|
|
1607
|
+
* attribute can typically be omitted.
|
|
1608
|
+
* - `disabled`: Disables the radio.
|
|
1609
|
+
* - `checked`: undefined (property only)
|
|
1610
|
+
*
|
|
1611
|
+
* ## Methods
|
|
1612
|
+
*
|
|
1613
|
+
* Methods that can be called to access component functionality.
|
|
1614
|
+
*
|
|
1615
|
+
* - `setValue() => void`: undefined
|
|
1616
|
+
*/
|
|
1617
|
+
"w-radio": Partial<WRadioProps & BaseProps<WRadio> & BaseEvents>;
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
*
|
|
1622
|
+
*
|
|
1623
|
+
* ## Attributes & Properties
|
|
1624
|
+
*
|
|
1625
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1626
|
+
*
|
|
1627
|
+
* - `label`: The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot
|
|
1628
|
+
* instead.
|
|
1629
|
+
* - `hint`: The radio groups's hint. If you need to display HTML, use the `hint` slot instead.
|
|
1630
|
+
* - `name`: The name of the radio group, submitted as a name/value pair with form data.
|
|
1631
|
+
* - `disabled`: Disables the radio group and all child radios.
|
|
1632
|
+
* - `orientation`: The orientation in which to show radio items.
|
|
1633
|
+
* - `value`/`defaultValue`: The default value of the form control. Primarily used for resetting the form control.
|
|
1634
|
+
* - `size`: The radio group's size. This size will be applied to all child radios and radio buttons, except when explicitly overridden.
|
|
1635
|
+
* - `required`: Ensures a child radio is checked before allowing the containing form to submit.
|
|
1636
|
+
* - `with-label`/`withLabel`: Used for SSR. if true, will show slotted label on initial render.
|
|
1637
|
+
* - `with-hint`/`withHint`: Used for SSR. if true, will show slotted hint on initial render.
|
|
1638
|
+
* - `hasRadioButtons`: undefined (property only)
|
|
1639
|
+
* - `defaultSlot`: undefined (property only)
|
|
1640
|
+
* - `value`: The current value of the radio group, submitted as a name/value pair with form data. (property only)
|
|
1641
|
+
* - `validationTarget`: We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
|
|
1642
|
+
* the first radio element. (property only) (readonly)
|
|
1643
|
+
*
|
|
1644
|
+
* ## Events
|
|
1645
|
+
*
|
|
1646
|
+
* Events that will be emitted by the component.
|
|
1647
|
+
*
|
|
1648
|
+
* - `input`: undefined
|
|
1649
|
+
* - `change`: undefined
|
|
1650
|
+
*
|
|
1651
|
+
* ## Slots
|
|
1652
|
+
*
|
|
1653
|
+
* Areas where markup can be added to the component.
|
|
1654
|
+
*
|
|
1655
|
+
* - `label`: Alternative to the `label` attribute should you need custom HTML.
|
|
1656
|
+
*
|
|
1657
|
+
* ## Methods
|
|
1658
|
+
*
|
|
1659
|
+
* Methods that can be called to access component functionality.
|
|
1660
|
+
*
|
|
1661
|
+
* - `formResetCallback(args: Parameters<BaseFormAssociatedElement['formResetCallback']>) => void`: undefined
|
|
1662
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the radio group.
|
|
1663
|
+
*/
|
|
1664
|
+
"w-radio-group": Partial<WRadioGroupProps & BaseProps<WRadioGroup> & BaseEvents>;
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
*
|
|
1669
|
+
*
|
|
1670
|
+
* ## Attributes & Properties
|
|
1671
|
+
*
|
|
1672
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1673
|
+
*
|
|
1674
|
+
* - `title`: undefined
|
|
1675
|
+
* - `name`: The name of the checkbox, submitted as a name/value pair with form data.
|
|
1676
|
+
* - `value`: The value of the checkbox, submitted as a name/value pair with form data.
|
|
1677
|
+
* - `size`: The checkbox's size.
|
|
1678
|
+
* - `disabled`: Disables the checkbox.
|
|
1679
|
+
* - `indeterminate`: Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a "select
|
|
1680
|
+
* all/none" behavior when associated checkboxes have a mix of checked and unchecked states.
|
|
1681
|
+
* - `checked`/`defaultChecked`: The default value of the form control. Primarily used for resetting the form control.
|
|
1682
|
+
* - `form`: By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you
|
|
1683
|
+
* to place the form control outside of a form and associate it with the form that has this `id`. The form must be in
|
|
1684
|
+
* the same document or shadow root for this to work.
|
|
1685
|
+
* - `required`: Makes the checkbox a required field.
|
|
1686
|
+
* - `hint`: The checkbox's hint. If you need to display HTML, use the `hint` slot instead.
|
|
1687
|
+
* - `input`: undefined (property only)
|
|
1688
|
+
* - `checked`: Draws the checkbox in a checked state. (property only)
|
|
1689
|
+
*
|
|
1690
|
+
* ## Events
|
|
1691
|
+
*
|
|
1692
|
+
* Events that will be emitted by the component.
|
|
1693
|
+
*
|
|
1694
|
+
* - `change`: undefined
|
|
1695
|
+
*
|
|
1696
|
+
* ## Methods
|
|
1697
|
+
*
|
|
1698
|
+
* Methods that can be called to access component functionality.
|
|
1699
|
+
*
|
|
1700
|
+
* - `handleDefaultCheckedChange() => void`: undefined
|
|
1701
|
+
* - `handleValueOrCheckedChange() => void`: undefined
|
|
1702
|
+
* - `handleStateChange() => void`: undefined
|
|
1703
|
+
* - `handleDisabledChange() => void`: undefined
|
|
1704
|
+
* - `formResetCallback() => void`: undefined
|
|
1705
|
+
* - `click() => void`: Simulates a click on the checkbox.
|
|
1706
|
+
* - `focus(options?: FocusOptions) => void`: Sets focus on the checkbox.
|
|
1707
|
+
* - `blur() => void`: Removes focus from the checkbox.
|
|
1708
|
+
*/
|
|
1709
|
+
"w-checkbox": Partial<WCheckboxProps & BaseProps<WCheckbox> & BaseEvents>;
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
*
|
|
1714
|
+
*/
|
|
1715
|
+
"w-checkbox-group": Partial<WCheckboxGroupProps & BaseProps<WCheckboxGroup> & BaseEvents>;
|
|
1716
|
+
|
|
1471
1717
|
|
|
1472
1718
|
/**
|
|
1473
1719
|
* Component to place inside a `<w-slider>`.
|
|
@@ -1504,6 +1750,12 @@ export type WarpTextareaProps = {
|
|
|
1504
1750
|
* Events that will be emitted by the component.
|
|
1505
1751
|
*
|
|
1506
1752
|
* - `slidervalidity`: undefined
|
|
1753
|
+
*
|
|
1754
|
+
* ## Methods
|
|
1755
|
+
*
|
|
1756
|
+
* Methods that can be called to access component functionality.
|
|
1757
|
+
*
|
|
1758
|
+
* - `resetFormControl() => void`: undefined
|
|
1507
1759
|
*/
|
|
1508
1760
|
"w-slider-thumb": Partial<WarpSliderThumbProps & BaseProps<WarpSliderThumb> & BaseEvents>;
|
|
1509
1761
|
|
|
@@ -1600,7 +1852,9 @@ export type WarpTextareaProps = {
|
|
|
1600
1852
|
*
|
|
1601
1853
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1602
1854
|
*
|
|
1855
|
+
* - `name`: undefined
|
|
1603
1856
|
* - `value`: undefined
|
|
1857
|
+
* - `checked`: undefined
|
|
1604
1858
|
* - `disabled`: undefined
|
|
1605
1859
|
*
|
|
1606
1860
|
* ## Events
|
|
@@ -1608,6 +1862,12 @@ export type WarpTextareaProps = {
|
|
|
1608
1862
|
* Events that will be emitted by the component.
|
|
1609
1863
|
*
|
|
1610
1864
|
* - `change`: undefined
|
|
1865
|
+
*
|
|
1866
|
+
* ## Methods
|
|
1867
|
+
*
|
|
1868
|
+
* Methods that can be called to access component functionality.
|
|
1869
|
+
*
|
|
1870
|
+
* - `resetFormControl() => void`: undefined
|
|
1611
1871
|
*/
|
|
1612
1872
|
"w-switch": Partial<WarpSwitchProps & BaseProps<WarpSwitch> & BaseEvents>;
|
|
1613
1873
|
|
|
@@ -1682,6 +1942,7 @@ export type WarpTextareaProps = {
|
|
|
1682
1942
|
*
|
|
1683
1943
|
* Methods that can be called to access component functionality.
|
|
1684
1944
|
*
|
|
1945
|
+
* - `resetFormControl() => void`: undefined
|
|
1685
1946
|
* - `handler(e: InputEvent) => void`: undefined
|
|
1686
1947
|
*/
|
|
1687
1948
|
"w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
|