@warp-ds/elements 2.3.0-next.2 → 2.3.0-next.20
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 +715 -28
- package/dist/index.d.ts +150 -19
- package/dist/packages/affix/index.js.map +2 -2
- package/dist/packages/affix/react.d.ts +1 -1
- package/dist/packages/alert/index.js.map +2 -2
- package/dist/packages/alert/react.d.ts +1 -1
- package/dist/packages/attention/attention.stories.js +4 -1
- package/dist/packages/attention/index.js +5 -5
- package/dist/packages/attention/index.js.map +2 -2
- package/dist/packages/attention/react.d.ts +1 -1
- package/dist/packages/attention/styles.js +1 -1
- package/dist/packages/badge/index.js.map +2 -2
- package/dist/packages/badge/react.d.ts +1 -1
- package/dist/packages/box/index.js.map +2 -2
- package/dist/packages/box/react.d.ts +1 -1
- package/dist/packages/breadcrumbs/index.js.map +2 -2
- package/dist/packages/breadcrumbs/react.d.ts +1 -1
- package/dist/packages/button/button.stories.d.ts +4 -4
- package/dist/packages/button/button.stories.js +4 -4
- package/dist/packages/button/index.js +3 -3
- package/dist/packages/button/index.js.map +2 -2
- package/dist/packages/button/react.d.ts +1 -1
- package/dist/packages/card/index.js.map +2 -2
- package/dist/packages/card/react.d.ts +1 -1
- package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
- package/dist/packages/combobox/index.js.map +2 -2
- package/dist/packages/combobox/react.d.ts +1 -1
- package/dist/packages/datepicker/react.d.ts +1 -1
- package/dist/packages/dead-toggle/index.js +2 -3
- package/dist/packages/dead-toggle/index.js.map +2 -2
- package/dist/packages/dead-toggle/react.d.ts +1 -1
- package/dist/packages/expandable/index.js.map +2 -2
- package/dist/packages/expandable/react.d.ts +1 -1
- package/dist/packages/link/index.js +3 -3
- package/dist/packages/link/index.js.map +1 -1
- package/dist/packages/link/react.d.ts +1 -1
- package/dist/packages/link/styles.js +3 -3
- package/dist/packages/modal/index.js.map +2 -2
- package/dist/packages/modal/modal-header.js.map +2 -2
- package/dist/packages/modal/modal.stories.d.ts +3 -3
- package/dist/packages/modal/modal.stories.js +32 -32
- package/dist/packages/modal/react.d.ts +1 -1
- package/dist/packages/pageindicator/react.d.ts +1 -1
- package/dist/packages/pagination/index.js.map +2 -2
- package/dist/packages/pagination/react.d.ts +1 -1
- package/dist/packages/pill/index.js.map +2 -2
- package/dist/packages/pill/react.d.ts +1 -1
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.d.ts +10 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js +7 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox-group.js.map +7 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.js +2 -3
- package/dist/packages/rip-and-tear-checkbox/checkbox.js.map +2 -2
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.d.ts +3 -0
- package/dist/packages/rip-and-tear-checkbox/checkbox.stories.js +14 -0
- package/dist/packages/rip-and-tear-checkbox/index.js +2 -0
- package/dist/packages/rip-and-tear-checkbox/react.d.ts +3 -1
- package/dist/packages/rip-and-tear-checkbox/react.js +5 -0
- package/dist/packages/rip-and-tear-radio/radio-group.js +2 -3
- package/dist/packages/rip-and-tear-radio/radio-group.js.map +2 -2
- package/dist/packages/rip-and-tear-radio/radio.js +2 -3
- package/dist/packages/rip-and-tear-radio/radio.js.map +2 -2
- package/dist/packages/rip-and-tear-radio/radio.stories.js +2 -3
- package/dist/packages/rip-and-tear-radio/radio.stories.js.map +2 -2
- package/dist/packages/rip-and-tear-radio/react.d.ts +2 -2
- package/dist/packages/select/index.d.ts +25 -5
- package/dist/packages/select/index.js +14 -13
- package/dist/packages/select/index.js.map +2 -2
- package/dist/packages/select/react.d.ts +1 -1
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.d.ts +1 -1
- package/dist/packages/select/select.stories.js +3 -4
- package/dist/packages/slider/react.d.ts +2 -2
- package/dist/packages/slider/slider-thumb.d.ts +11 -7
- package/dist/packages/slider/slider-thumb.js +92 -49
- package/dist/packages/slider/slider-thumb.js.map +4 -4
- package/dist/packages/slider/slider.d.ts +10 -1
- package/dist/packages/slider/slider.js +99 -31
- package/dist/packages/slider/slider.js.map +3 -3
- package/dist/packages/slider/slider.react.stories.d.ts +1 -0
- package/dist/packages/slider/slider.react.stories.js +22 -0
- package/dist/packages/slider/slider.stories.d.ts +3 -0
- package/dist/packages/slider/slider.stories.js +240 -33
- package/dist/packages/slider/styles/w-slider-thumb.styles.js +24 -16
- package/dist/packages/slider/styles/w-slider.styles.js +65 -18
- package/dist/packages/steps/index.d.ts +3 -2
- package/dist/packages/steps/index.js +8 -8
- package/dist/packages/steps/index.js.map +3 -3
- package/dist/packages/steps/react.d.ts +2 -2
- package/dist/packages/steps/react.js +2 -2
- package/dist/packages/steps/steps.react.stories.d.ts +4 -4
- package/dist/packages/steps/steps.react.stories.js +11 -11
- package/dist/packages/steps/steps.stories.js +16 -16
- package/dist/packages/switch/index.js +4 -3
- package/dist/packages/switch/index.js.map +2 -2
- package/dist/packages/switch/react.d.ts +1 -1
- package/dist/packages/switch/styles.js +1 -1
- package/dist/packages/tabs/tab.js +4 -3
- package/dist/packages/tabs/tab.js.map +2 -2
- package/dist/packages/tabs/tabs.js +5 -5
- package/dist/packages/tabs/tabs.js.map +3 -3
- package/dist/packages/tabs/tabs.stories.d.ts +3 -0
- package/dist/packages/tabs/tabs.stories.js +16 -7
- package/dist/packages/textarea/index.d.ts +1 -0
- package/dist/packages/textarea/index.js +1 -0
- package/dist/packages/textarea/locales/da/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/da/messages.mjs +1 -0
- package/dist/packages/textarea/locales/en/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/en/messages.mjs +1 -0
- package/dist/packages/textarea/locales/fi/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/fi/messages.mjs +1 -0
- package/dist/packages/textarea/locales/nb/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/nb/messages.mjs +1 -0
- package/dist/packages/textarea/locales/sv/messages.d.mts +1 -0
- package/dist/packages/textarea/locales/sv/messages.mjs +1 -0
- package/dist/packages/textarea/react.d.ts +11 -0
- package/dist/packages/textarea/react.js +21 -0
- package/dist/packages/textarea/styles.d.ts +1 -0
- package/dist/packages/textarea/styles.js +2 -0
- package/dist/packages/textarea/textarea.d.ts +48 -0
- package/dist/packages/textarea/textarea.js +2475 -0
- package/dist/packages/textarea/textarea.js.map +7 -0
- package/dist/packages/textarea/textarea.react.stories.d.ts +33 -0
- package/dist/packages/textarea/textarea.react.stories.js +41 -0
- package/dist/packages/textarea/textarea.stories.d.ts +19 -0
- package/dist/packages/textarea/textarea.stories.js +85 -0
- package/dist/packages/textarea/textarea.test.d.ts +1 -0
- package/dist/packages/textarea/textarea.test.js +49 -0
- package/dist/packages/textfield/index.d.ts +3 -0
- package/dist/packages/textfield/index.js +17 -16
- package/dist/packages/textfield/index.js.map +2 -2
- package/dist/packages/textfield/react.d.ts +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/toggle-styles.js +2 -3
- package/dist/web-types.json +128 -15
- package/package.json +201 -12
package/dist/index.d.ts
CHANGED
|
@@ -21,12 +21,14 @@ import type { WarpDatepicker } from "./packages/datepicker/datepicker.ts";
|
|
|
21
21
|
import type { WarpDeadToggle } from "./packages/dead-toggle/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 { WCheckboxGroup } from "./packages/rip-and-tear-checkbox/checkbox-group.ts";
|
|
24
25
|
import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
|
|
25
26
|
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
26
|
-
import type {
|
|
27
|
+
import type { WarpStepIndicator, WarpStep } from "./packages/steps/index.ts";
|
|
27
28
|
import type { WarpSwitch } from "./packages/switch/index.ts";
|
|
28
29
|
import type { WarpTab } from "./packages/tabs/tab.ts";
|
|
29
30
|
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
31
|
+
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
30
32
|
|
|
31
33
|
/**
|
|
32
34
|
* This type can be used to create scoped tags for your components.
|
|
@@ -377,15 +379,21 @@ export type WarpPillProps = {
|
|
|
377
379
|
|
|
378
380
|
|
|
379
381
|
export type WarpSelectProps = {
|
|
380
|
-
/** Whether the element should receive focus on render */
|
|
382
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
381
383
|
"auto-focus"?: WarpSelect['autoFocus'];
|
|
382
|
-
/** Whether the element should receive focus on render */
|
|
384
|
+
/** @deprecated Use the native `autofocus` attribute instead. - Whether the element should receive focus on render. */
|
|
383
385
|
"autoFocus"?: WarpSelect['autoFocus'];
|
|
384
|
-
/**
|
|
386
|
+
/** Whether the element should receive focus on render */
|
|
387
|
+
"autofocus"?: WarpSelect['autofocus'];
|
|
388
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
389
|
+
"help-text"?: WarpSelect['helpText'];
|
|
390
|
+
/** The content displayed as the help text. Paired with `invalid` to show the text as a validation error. */
|
|
391
|
+
"helpText"?: WarpSelect['helpText'];
|
|
392
|
+
/** Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. */
|
|
385
393
|
"invalid"?: WarpSelect['invalid'];
|
|
386
|
-
/** Whether to always show a hint */
|
|
394
|
+
/** @deprecated Use `help-text` instead and only set it if you want to display the help text. - Whether to always show a hint. */
|
|
387
395
|
"always"?: WarpSelect['always'];
|
|
388
|
-
/** The content displayed as the help text */
|
|
396
|
+
/** @deprecated Use `help-text` instead. - The content displayed as the help text. */
|
|
389
397
|
"hint"?: WarpSelect['hint'];
|
|
390
398
|
/** The content to disply as the label */
|
|
391
399
|
"label"?: WarpSelect['label'];
|
|
@@ -393,10 +401,12 @@ export type WarpSelectProps = {
|
|
|
393
401
|
"optional"?: WarpSelect['optional'];
|
|
394
402
|
/** Renders the field in a disabled state. */
|
|
395
403
|
"disabled"?: WarpSelect['disabled'];
|
|
396
|
-
/** Renders the field in a readonly state. */
|
|
404
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
397
405
|
"read-only"?: WarpSelect['readOnly'];
|
|
398
|
-
/** Renders the field in a readonly state. */
|
|
406
|
+
/** @deprecated Use the native readonly attribute instead. - Renders the field in a readonly state. */
|
|
399
407
|
"readOnly"?: WarpSelect['readOnly'];
|
|
408
|
+
/** Renders the field in a readonly state. */
|
|
409
|
+
"readonly"?: WarpSelect['readonly'];
|
|
400
410
|
/** */
|
|
401
411
|
"name"?: WarpSelect['name'];
|
|
402
412
|
/** */
|
|
@@ -437,11 +447,13 @@ export type WarpTextFieldProps = {
|
|
|
437
447
|
"pattern"?: WarpTextField['pattern'];
|
|
438
448
|
/** */
|
|
439
449
|
"placeholder"?: WarpTextField['placeholder'];
|
|
440
|
-
/** */
|
|
450
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
441
451
|
"read-only"?: WarpTextField['readOnly'];
|
|
442
|
-
/** */
|
|
452
|
+
/** @deprecated Use the native readonly attribute instead. */
|
|
443
453
|
"readOnly"?: WarpTextField['readOnly'];
|
|
444
454
|
/** */
|
|
455
|
+
"readonly"?: WarpTextField['readonly'];
|
|
456
|
+
/** */
|
|
445
457
|
"required"?: WarpTextField['required'];
|
|
446
458
|
/** */
|
|
447
459
|
"type"?: WarpTextField['type'];
|
|
@@ -449,6 +461,8 @@ export type WarpTextFieldProps = {
|
|
|
449
461
|
"value"?: WarpTextField['value'];
|
|
450
462
|
/** */
|
|
451
463
|
"name"?: WarpTextField['name'];
|
|
464
|
+
/** */
|
|
465
|
+
"step"?: WarpTextField['step'];
|
|
452
466
|
/** Function to format value when the input field.
|
|
453
467
|
|
|
454
468
|
Only active when the input field does not have focus,
|
|
@@ -683,6 +697,7 @@ export type WarpPaginationProps = {
|
|
|
683
697
|
}
|
|
684
698
|
|
|
685
699
|
|
|
700
|
+
|
|
686
701
|
export type WarpSliderThumbProps = {
|
|
687
702
|
/** */
|
|
688
703
|
"aria-label"?: WarpSliderThumb['ariaLabel'];
|
|
@@ -700,6 +715,10 @@ export type WarpSliderThumbProps = {
|
|
|
700
715
|
"value"?: WarpSliderThumb['value'];
|
|
701
716
|
/** */
|
|
702
717
|
"disabled"?: WarpSliderThumb['disabled'];
|
|
718
|
+
/** */
|
|
719
|
+
"invalid"?: WarpSliderThumb['invalid'];
|
|
720
|
+
/** Set by `<w-slider>` */
|
|
721
|
+
"allowValuesOutsideRange"?: WarpSliderThumb['allowValuesOutsideRange'];
|
|
703
722
|
/** Set by `<w-slider>` */
|
|
704
723
|
"markers"?: WarpSliderThumb['markers'];
|
|
705
724
|
/** Set by `<w-slider>` */
|
|
@@ -732,6 +751,16 @@ If you need to display HTML, use the `label` slot instead. */
|
|
|
732
751
|
/** */
|
|
733
752
|
"disabled"?: WarpSlider['disabled'];
|
|
734
753
|
/** */
|
|
754
|
+
"allow-values-outside-range"?: WarpSlider['allowValuesOutsideRange'];
|
|
755
|
+
/** */
|
|
756
|
+
"allowValuesOutsideRange"?: WarpSlider['allowValuesOutsideRange'];
|
|
757
|
+
/** */
|
|
758
|
+
"error"?: WarpSlider['error'];
|
|
759
|
+
/** */
|
|
760
|
+
"help-text"?: WarpSlider['helpText'];
|
|
761
|
+
/** */
|
|
762
|
+
"helpText"?: WarpSlider['helpText'];
|
|
763
|
+
/** */
|
|
735
764
|
"invalid"?: WarpSlider['invalid'];
|
|
736
765
|
/** Ensures a child slider thumb has a value before allowing the containing form to submit. */
|
|
737
766
|
"required"?: WarpSlider['required'];
|
|
@@ -747,16 +776,20 @@ If you need to display HTML, use the `label` slot instead. */
|
|
|
747
776
|
"suffix"?: WarpSlider['suffix'];
|
|
748
777
|
/** Function to format the to- and from labels and value in the slider thumb tooltip. */
|
|
749
778
|
"formatter"?: WarpSlider['formatter'];
|
|
779
|
+
/** */
|
|
780
|
+
"_invalidMessage"?: WarpSlider['_invalidMessage'];
|
|
781
|
+
/** */
|
|
782
|
+
"_hasInternalError"?: WarpSlider['_hasInternalError'];
|
|
750
783
|
|
|
751
784
|
|
|
752
785
|
}
|
|
753
786
|
|
|
754
787
|
|
|
755
|
-
export type
|
|
788
|
+
export type WarpStepIndicatorProps = {
|
|
756
789
|
/** */
|
|
757
|
-
"horizontal"?:
|
|
790
|
+
"horizontal"?: WarpStepIndicator['horizontal'];
|
|
758
791
|
/** */
|
|
759
|
-
"right"?:
|
|
792
|
+
"right"?: WarpStepIndicator['right'];
|
|
760
793
|
|
|
761
794
|
|
|
762
795
|
}
|
|
@@ -811,6 +844,50 @@ export type WarpTabsProps = {
|
|
|
811
844
|
|
|
812
845
|
/** */
|
|
813
846
|
"onchange"?: (e: CustomEvent<CustomEvent>) => void;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
export type WarpTextareaProps = {
|
|
851
|
+
/** */
|
|
852
|
+
"disabled"?: WarpTextarea['disabled'];
|
|
853
|
+
/** */
|
|
854
|
+
"invalid"?: WarpTextarea['invalid'];
|
|
855
|
+
/** */
|
|
856
|
+
"label"?: WarpTextarea['label'];
|
|
857
|
+
/** */
|
|
858
|
+
"help-text"?: WarpTextarea['helpText'];
|
|
859
|
+
/** */
|
|
860
|
+
"helpText"?: WarpTextarea['helpText'];
|
|
861
|
+
/** */
|
|
862
|
+
"maximum-rows"?: WarpTextarea['maxRows'];
|
|
863
|
+
/** */
|
|
864
|
+
"maxRows"?: WarpTextarea['maxRows'];
|
|
865
|
+
/** */
|
|
866
|
+
"minimum-rows"?: WarpTextarea['minRows'];
|
|
867
|
+
/** */
|
|
868
|
+
"minRows"?: WarpTextarea['minRows'];
|
|
869
|
+
/** */
|
|
870
|
+
"name"?: WarpTextarea['name'];
|
|
871
|
+
/** */
|
|
872
|
+
"placeholder"?: WarpTextarea['placeholder'];
|
|
873
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
874
|
+
"read-only"?: WarpTextarea['readOnly'];
|
|
875
|
+
/** @deprecated Use the native readonly attribute instead. Here for API consistency with `w-textfield`. */
|
|
876
|
+
"readOnly"?: WarpTextarea['readOnly'];
|
|
877
|
+
/** */
|
|
878
|
+
"readonly"?: WarpTextarea['readonly'];
|
|
879
|
+
/** */
|
|
880
|
+
"required"?: WarpTextarea['required'];
|
|
881
|
+
/** */
|
|
882
|
+
"value"?: WarpTextarea['value'];
|
|
883
|
+
/** */
|
|
884
|
+
"optional"?: WarpTextarea['optional'];
|
|
885
|
+
/** */
|
|
886
|
+
"minHeight"?: WarpTextarea['minHeight'];
|
|
887
|
+
/** */
|
|
888
|
+
"maxHeight"?: WarpTextarea['maxHeight'];
|
|
889
|
+
|
|
890
|
+
|
|
814
891
|
}
|
|
815
892
|
|
|
816
893
|
export type CustomElements = {
|
|
@@ -1082,14 +1159,17 @@ export type WarpTabsProps = {
|
|
|
1082
1159
|
*
|
|
1083
1160
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1084
1161
|
*
|
|
1085
|
-
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render
|
|
1086
|
-
* - `
|
|
1087
|
-
* - `
|
|
1088
|
-
* - `
|
|
1162
|
+
* - `auto-focus`/`autoFocus`: Whether the element should receive focus on render.
|
|
1163
|
+
* - `autofocus`: Whether the element should receive focus on render
|
|
1164
|
+
* - `help-text`/`helpText`: The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
|
|
1165
|
+
* - `invalid`: Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
|
|
1166
|
+
* - `always`: Whether to always show a hint.
|
|
1167
|
+
* - `hint`: The content displayed as the help text.
|
|
1089
1168
|
* - `label`: The content to disply as the label
|
|
1090
1169
|
* - `optional`: Whether to show optional text
|
|
1091
1170
|
* - `disabled`: Renders the field in a disabled state.
|
|
1092
1171
|
* - `read-only`/`readOnly`: Renders the field in a readonly state.
|
|
1172
|
+
* - `readonly`: Renders the field in a readonly state.
|
|
1093
1173
|
* - `name`: undefined
|
|
1094
1174
|
* - `value`: undefined
|
|
1095
1175
|
*
|
|
@@ -1125,10 +1205,12 @@ export type WarpTabsProps = {
|
|
|
1125
1205
|
* - `pattern`: undefined
|
|
1126
1206
|
* - `placeholder`: undefined
|
|
1127
1207
|
* - `read-only`/`readOnly`: undefined
|
|
1208
|
+
* - `readonly`: undefined
|
|
1128
1209
|
* - `required`: undefined
|
|
1129
1210
|
* - `type`: undefined
|
|
1130
1211
|
* - `value`: undefined
|
|
1131
1212
|
* - `name`: undefined
|
|
1213
|
+
* - `step`: undefined
|
|
1132
1214
|
* - `formatter`: Function to format value when the input field.
|
|
1133
1215
|
*
|
|
1134
1216
|
* Only active when the input field does not have focus,
|
|
@@ -1386,6 +1468,7 @@ export type WarpTabsProps = {
|
|
|
1386
1468
|
"w-pagination": Partial<WarpPaginationProps & BaseProps<WarpPagination> & BaseEvents>;
|
|
1387
1469
|
|
|
1388
1470
|
|
|
1471
|
+
|
|
1389
1472
|
/**
|
|
1390
1473
|
* Component to place inside a `<w-slider>`.
|
|
1391
1474
|
*
|
|
@@ -1401,6 +1484,8 @@ export type WarpTabsProps = {
|
|
|
1401
1484
|
* - `name`: undefined
|
|
1402
1485
|
* - `value`: undefined
|
|
1403
1486
|
* - `disabled`: undefined
|
|
1487
|
+
* - `invalid`: undefined
|
|
1488
|
+
* - `allowValuesOutsideRange`: Set by `<w-slider>` (property only)
|
|
1404
1489
|
* - `markers`: Set by `<w-slider>` (property only)
|
|
1405
1490
|
* - `required`: Set by `<w-slider>` (property only)
|
|
1406
1491
|
* - `step`: Set by `<w-slider>` (property only)
|
|
@@ -1410,6 +1495,9 @@ export type WarpTabsProps = {
|
|
|
1410
1495
|
* - `formatter`: JS hook to help you format the numeric value how you want. (property only)
|
|
1411
1496
|
* - `range`: undefined (property only)
|
|
1412
1497
|
* - `textfield`: undefined (property only)
|
|
1498
|
+
* - `boundaryValue`: undefined (property only) (readonly)
|
|
1499
|
+
* - `textFieldDisplayValue`: Value to display in the textfield (shows boundary when focused on empty value) (property only) (readonly)
|
|
1500
|
+
* - `tooltipDisplayValue`: Value to display in the tooltip (property only) (readonly)
|
|
1413
1501
|
*
|
|
1414
1502
|
* ## Events
|
|
1415
1503
|
*
|
|
@@ -1433,6 +1521,9 @@ export type WarpTabsProps = {
|
|
|
1433
1521
|
*
|
|
1434
1522
|
* If you need to display HTML, use the `label` slot instead.
|
|
1435
1523
|
* - `disabled`: undefined
|
|
1524
|
+
* - `allow-values-outside-range`/`allowValuesOutsideRange`: undefined
|
|
1525
|
+
* - `error`: undefined
|
|
1526
|
+
* - `help-text`/`helpText`: undefined
|
|
1436
1527
|
* - `invalid`: undefined
|
|
1437
1528
|
* - `required`: Ensures a child slider thumb has a value before allowing the containing form to submit.
|
|
1438
1529
|
* - `min`: undefined
|
|
@@ -1441,6 +1532,12 @@ export type WarpTabsProps = {
|
|
|
1441
1532
|
* - `step`: undefined
|
|
1442
1533
|
* - `suffix`: Suffix used in text input fields and for the min and max values of the slider.
|
|
1443
1534
|
* - `formatter`: Function to format the to- and from labels and value in the slider thumb tooltip. (property only)
|
|
1535
|
+
* - `_invalidMessage`: undefined (property only)
|
|
1536
|
+
* - `_hasInternalError`: undefined (property only)
|
|
1537
|
+
* - `edgeMin`: undefined (property only) (readonly)
|
|
1538
|
+
* - `edgeMax`: undefined (property only) (readonly)
|
|
1539
|
+
* - `componentHasError`: undefined (property only) (readonly)
|
|
1540
|
+
* - `errorText`: undefined (property only) (readonly)
|
|
1444
1541
|
*
|
|
1445
1542
|
* ## Slots
|
|
1446
1543
|
*
|
|
@@ -1473,7 +1570,7 @@ export type WarpTabsProps = {
|
|
|
1473
1570
|
*
|
|
1474
1571
|
* - `updateStepsContext() => void`: undefined
|
|
1475
1572
|
*/
|
|
1476
|
-
"w-
|
|
1573
|
+
"w-step-indicator": Partial<WarpStepIndicatorProps & BaseProps<WarpStepIndicator> & BaseEvents>;
|
|
1477
1574
|
|
|
1478
1575
|
|
|
1479
1576
|
/**
|
|
@@ -1554,6 +1651,40 @@ export type WarpTabsProps = {
|
|
|
1554
1651
|
* - `change`: undefined
|
|
1555
1652
|
*/
|
|
1556
1653
|
"w-tabs": Partial<WarpTabsProps & BaseProps<WarpTabs> & BaseEvents>;
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* A single line text input element.
|
|
1658
|
+
*
|
|
1659
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/forms-textfield--docs)
|
|
1660
|
+
*
|
|
1661
|
+
* ## Attributes & Properties
|
|
1662
|
+
*
|
|
1663
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1664
|
+
*
|
|
1665
|
+
* - `disabled`: undefined
|
|
1666
|
+
* - `invalid`: undefined
|
|
1667
|
+
* - `label`: undefined
|
|
1668
|
+
* - `help-text`/`helpText`: undefined
|
|
1669
|
+
* - `maximum-rows`/`maxRows`: undefined
|
|
1670
|
+
* - `minimum-rows`/`minRows`: undefined
|
|
1671
|
+
* - `name`: undefined
|
|
1672
|
+
* - `placeholder`: undefined
|
|
1673
|
+
* - `read-only`/`readOnly`: undefined
|
|
1674
|
+
* - `readonly`: undefined
|
|
1675
|
+
* - `required`: undefined
|
|
1676
|
+
* - `value`: undefined
|
|
1677
|
+
* - `optional`: undefined
|
|
1678
|
+
* - `minHeight`: undefined (property only)
|
|
1679
|
+
* - `maxHeight`: undefined (property only)
|
|
1680
|
+
*
|
|
1681
|
+
* ## Methods
|
|
1682
|
+
*
|
|
1683
|
+
* Methods that can be called to access component functionality.
|
|
1684
|
+
*
|
|
1685
|
+
* - `handler(e: InputEvent) => void`: undefined
|
|
1686
|
+
*/
|
|
1687
|
+
"w-textarea": Partial<WarpTextareaProps & BaseProps<WarpTextarea> & BaseEvents>;
|
|
1557
1688
|
}
|
|
1558
1689
|
|
|
1559
1690
|
export type CustomCssProperties = {
|
|
@@ -1589,7 +1720,7 @@ declare module '@stencil/core' {
|
|
|
1589
1720
|
export interface CSSProperties extends CustomCssProperties {}
|
|
1590
1721
|
}
|
|
1591
1722
|
|
|
1592
|
-
declare module 'hono' {
|
|
1723
|
+
declare module 'hono/jsx' {
|
|
1593
1724
|
namespace JSX {
|
|
1594
1725
|
interface IntrinsicElements extends CustomElements {}
|
|
1595
1726
|
}
|