@warp-ds/elements 2.9.0-next.5 → 2.9.0

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 (79) hide show
  1. package/dist/custom-elements.json +221 -118
  2. package/dist/docs/affix/affix.md +49 -61
  3. package/dist/docs/affix/api.md +25 -23
  4. package/dist/docs/affix/examples.md +24 -38
  5. package/dist/docs/alert/accessibility.md +4 -9
  6. package/dist/docs/alert/alert.md +36 -51
  7. package/dist/docs/alert/api.md +12 -12
  8. package/dist/docs/alert/examples.md +20 -30
  9. package/dist/docs/attention/accessibility.md +50 -0
  10. package/dist/docs/attention/api.md +72 -59
  11. package/dist/docs/attention/attention.md +305 -56
  12. package/dist/docs/attention/examples.md +91 -0
  13. package/dist/docs/attention/usage.md +91 -0
  14. package/dist/docs/badge/accessibility.md +44 -0
  15. package/dist/docs/badge/api.md +12 -8
  16. package/dist/docs/badge/badge.md +178 -10
  17. package/dist/docs/badge/examples.md +69 -0
  18. package/dist/docs/badge/usage.md +53 -0
  19. package/dist/docs/button/api.md +46 -42
  20. package/dist/docs/button/button.md +46 -42
  21. package/dist/docs/card/api.md +11 -11
  22. package/dist/docs/card/card.md +11 -11
  23. package/dist/docs/combobox/api.md +62 -62
  24. package/dist/docs/combobox/combobox.md +62 -62
  25. package/dist/docs/datepicker/api.md +74 -66
  26. package/dist/docs/datepicker/datepicker.md +74 -66
  27. package/dist/docs/expandable/api.md +26 -26
  28. package/dist/docs/expandable/expandable.md +26 -26
  29. package/dist/docs/link/api.md +28 -28
  30. package/dist/docs/link/link.md +28 -28
  31. package/dist/docs/page-indicator/api.md +6 -6
  32. package/dist/docs/page-indicator/page-indicator.md +6 -6
  33. package/dist/docs/pagination/api.md +3 -3
  34. package/dist/docs/pagination/pagination.md +3 -3
  35. package/dist/docs/pill/api.md +19 -15
  36. package/dist/docs/pill/pill.md +19 -15
  37. package/dist/docs/select/api.md +44 -44
  38. package/dist/docs/select/select.md +44 -44
  39. package/dist/docs/slider/api.md +80 -78
  40. package/dist/docs/slider/slider.md +80 -78
  41. package/dist/docs/slider-thumb/api.md +28 -76
  42. package/dist/docs/slider-thumb/slider-thumb.md +28 -76
  43. package/dist/docs/switch/api.md +16 -16
  44. package/dist/docs/switch/switch.md +16 -16
  45. package/dist/docs/tab/api.md +26 -40
  46. package/dist/docs/tab/tab.md +26 -40
  47. package/dist/docs/tab-panel/api.md +1 -17
  48. package/dist/docs/tab-panel/tab-panel.md +1 -17
  49. package/dist/docs/tabs/api.md +3 -3
  50. package/dist/docs/tabs/tabs.md +3 -3
  51. package/dist/docs/textarea/accessibility.md +5 -0
  52. package/dist/docs/textarea/api.md +52 -65
  53. package/dist/docs/textarea/examples.md +81 -0
  54. package/dist/docs/textarea/textarea.md +151 -65
  55. package/dist/docs/textarea/usage.md +9 -0
  56. package/dist/docs/textfield/accessibility.md +15 -0
  57. package/dist/docs/textfield/api.md +86 -83
  58. package/dist/docs/textfield/examples.md +130 -0
  59. package/dist/docs/textfield/textfield.md +258 -86
  60. package/dist/docs/textfield/usage.md +26 -0
  61. package/dist/index.d.ts +456 -330
  62. package/dist/packages/attention/attention.d.ts +46 -37
  63. package/dist/packages/attention/attention.js +20 -20
  64. package/dist/packages/attention/attention.js.map +3 -3
  65. package/dist/packages/badge/badge.d.ts +7 -5
  66. package/dist/packages/badge/badge.js.map +2 -2
  67. package/dist/packages/datepicker/datepicker.js +1 -1
  68. package/dist/packages/datepicker/datepicker.js.map +2 -2
  69. package/dist/packages/datepicker/datepicker.react.stories.d.ts +9 -1
  70. package/dist/packages/datepicker/react.d.ts +4 -0
  71. package/dist/packages/datepicker/react.js +4 -0
  72. package/dist/packages/textarea/textarea.d.ts +38 -29
  73. package/dist/packages/textarea/textarea.js.map +2 -2
  74. package/dist/packages/textfield/textfield.d.ts +57 -60
  75. package/dist/packages/textfield/textfield.js +5 -5
  76. package/dist/packages/textfield/textfield.js.map +2 -2
  77. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  78. package/dist/web-types.json +573 -153
  79. package/package.json +1 -2
@@ -4,66 +4,85 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | autoFocus | `boolean` | `false` | - |
8
- | autofocus | `boolean` | `false` | - |
9
- | helpText | `string` | `-` | - |
10
- | invalid | `boolean` | `false` | - |
11
- | always | `boolean` | `false` | - |
12
- | hint | `string` | `-` | - |
13
- | label | `string` | `-` | - |
14
- | optional | `boolean` | `false` | - |
15
- | disabled | `boolean` | `false` | - |
16
- | readOnly | `boolean` | `false` | - |
17
- | readonly | `boolean` | `false` | - |
7
+ | always | `boolean` | `false` | Whether to always show a hint.. **Deprecated**: Use `help-text` instead and only set it if you want to display the help text. |
8
+ | autoFocus | `boolean` | `false` | Whether the element should receive focus on render.. **Deprecated**: Use the native `autofocus` attribute instead. |
9
+ | autofocus | `boolean` | `false` | Whether the element should receive focus on render |
10
+ | disabled | `boolean` | `false` | Renders the field in a disabled state. |
11
+ | helpText | `string` | `-` | The content displayed as the help text. Paired with `invalid` to show the text as a validation error. |
12
+ | hint | `string` | `-` | The content displayed as the help text.. **Deprecated**: Use `help-text` instead. |
13
+ | invalid | `boolean` | `false` | Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. |
14
+ | label | `string` | `-` | The content to disply as the label |
18
15
  | name | `string` | `-` | - |
16
+ | optional | `boolean` | `false` | Whether to show optional text |
17
+ | readOnly | `boolean` | `false` | Renders the field in a readonly state.. **Deprecated**: Use the native readonly attribute instead. |
18
+ | readonly | `boolean` | `false` | Renders the field in a readonly state. |
19
19
  | value | `string` | `-` | - |
20
- | _options | `unknown` | `-` | - |
21
20
 
22
21
  ### Property Details
23
22
 
23
+ #### always
24
+
25
+ **Deprecated**: Use `help-text` instead and only set it if you want to display the help text.
26
+
27
+ Whether to always show a hint.
28
+
29
+ - Type: `boolean`
30
+ - Default: `false`
31
+
24
32
  #### autoFocus
25
33
 
34
+ **Deprecated**: Use the native `autofocus` attribute instead.
26
35
 
36
+ Whether the element should receive focus on render.
27
37
 
28
38
  - Type: `boolean`
29
39
  - Default: `false`
30
40
 
31
41
  #### autofocus
32
42
 
43
+ Whether the element should receive focus on render
44
+
45
+ - Type: `boolean`
46
+ - Default: `false`
47
+
48
+ #### disabled
33
49
 
50
+ Renders the field in a disabled state.
34
51
 
35
52
  - Type: `boolean`
36
53
  - Default: `false`
37
54
 
38
55
  #### helpText
39
56
 
40
-
57
+ The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
41
58
 
42
59
  - Type: `string`
43
60
  - Default: `-`
44
61
 
45
- #### invalid
46
-
62
+ #### hint
47
63
 
64
+ **Deprecated**: Use `help-text` instead.
48
65
 
49
- - Type: `boolean`
50
- - Default: `false`
66
+ The content displayed as the help text.
51
67
 
52
- #### always
68
+ - Type: `string`
69
+ - Default: `-`
53
70
 
71
+ #### invalid
54
72
 
73
+ Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
55
74
 
56
75
  - Type: `boolean`
57
76
  - Default: `false`
58
77
 
59
- #### hint
60
-
78
+ #### label
61
79
 
80
+ The content to disply as the label
62
81
 
63
82
  - Type: `string`
64
83
  - Default: `-`
65
84
 
66
- #### label
85
+ #### name
67
86
 
68
87
 
69
88
 
@@ -72,39 +91,27 @@
72
91
 
73
92
  #### optional
74
93
 
75
-
76
-
77
- - Type: `boolean`
78
- - Default: `false`
79
-
80
- #### disabled
81
-
82
-
94
+ Whether to show optional text
83
95
 
84
96
  - Type: `boolean`
85
97
  - Default: `false`
86
98
 
87
99
  #### readOnly
88
100
 
101
+ **Deprecated**: Use the native readonly attribute instead.
89
102
 
103
+ Renders the field in a readonly state.
90
104
 
91
105
  - Type: `boolean`
92
106
  - Default: `false`
93
107
 
94
108
  #### readonly
95
109
 
96
-
110
+ Renders the field in a readonly state.
97
111
 
98
112
  - Type: `boolean`
99
113
  - Default: `false`
100
114
 
101
- #### name
102
-
103
-
104
-
105
- - Type: `string`
106
- - Default: `-`
107
-
108
115
  #### value
109
116
 
110
117
 
@@ -112,13 +119,6 @@
112
119
  - Type: `string`
113
120
  - Default: `-`
114
121
 
115
- #### _options
116
-
117
-
118
-
119
- - Type: `unknown`
120
- - Default: `-`
121
-
122
122
  ### Types
123
123
 
124
124
  No types documented.
@@ -18,66 +18,85 @@ A dropdown component for selecting a single value.
18
18
 
19
19
  | Name | Type | Default | Summary |
20
20
  |-|-|-|-|
21
- | autoFocus | `boolean` | `false` | - |
22
- | autofocus | `boolean` | `false` | - |
23
- | helpText | `string` | `-` | - |
24
- | invalid | `boolean` | `false` | - |
25
- | always | `boolean` | `false` | - |
26
- | hint | `string` | `-` | - |
27
- | label | `string` | `-` | - |
28
- | optional | `boolean` | `false` | - |
29
- | disabled | `boolean` | `false` | - |
30
- | readOnly | `boolean` | `false` | - |
31
- | readonly | `boolean` | `false` | - |
21
+ | always | `boolean` | `false` | Whether to always show a hint.. **Deprecated**: Use `help-text` instead and only set it if you want to display the help text. |
22
+ | autoFocus | `boolean` | `false` | Whether the element should receive focus on render.. **Deprecated**: Use the native `autofocus` attribute instead. |
23
+ | autofocus | `boolean` | `false` | Whether the element should receive focus on render |
24
+ | disabled | `boolean` | `false` | Renders the field in a disabled state. |
25
+ | helpText | `string` | `-` | The content displayed as the help text. Paired with `invalid` to show the text as a validation error. |
26
+ | hint | `string` | `-` | The content displayed as the help text.. **Deprecated**: Use `help-text` instead. |
27
+ | invalid | `boolean` | `false` | Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error. |
28
+ | label | `string` | `-` | The content to disply as the label |
32
29
  | name | `string` | `-` | - |
30
+ | optional | `boolean` | `false` | Whether to show optional text |
31
+ | readOnly | `boolean` | `false` | Renders the field in a readonly state.. **Deprecated**: Use the native readonly attribute instead. |
32
+ | readonly | `boolean` | `false` | Renders the field in a readonly state. |
33
33
  | value | `string` | `-` | - |
34
- | _options | `unknown` | `-` | - |
35
34
 
36
35
  ### Property Details
37
36
 
37
+ #### always
38
+
39
+ **Deprecated**: Use `help-text` instead and only set it if you want to display the help text.
40
+
41
+ Whether to always show a hint.
42
+
43
+ - Type: `boolean`
44
+ - Default: `false`
45
+
38
46
  #### autoFocus
39
47
 
48
+ **Deprecated**: Use the native `autofocus` attribute instead.
40
49
 
50
+ Whether the element should receive focus on render.
41
51
 
42
52
  - Type: `boolean`
43
53
  - Default: `false`
44
54
 
45
55
  #### autofocus
46
56
 
57
+ Whether the element should receive focus on render
58
+
59
+ - Type: `boolean`
60
+ - Default: `false`
61
+
62
+ #### disabled
47
63
 
64
+ Renders the field in a disabled state.
48
65
 
49
66
  - Type: `boolean`
50
67
  - Default: `false`
51
68
 
52
69
  #### helpText
53
70
 
54
-
71
+ The content displayed as the help text. Paired with `invalid` to show the text as a validation error.
55
72
 
56
73
  - Type: `string`
57
74
  - Default: `-`
58
75
 
59
- #### invalid
60
-
76
+ #### hint
61
77
 
78
+ **Deprecated**: Use `help-text` instead.
62
79
 
63
- - Type: `boolean`
64
- - Default: `false`
80
+ The content displayed as the help text.
65
81
 
66
- #### always
82
+ - Type: `string`
83
+ - Default: `-`
67
84
 
85
+ #### invalid
68
86
 
87
+ Renders the field in an invalid state. Paired with `help-text` to provide feedback about the error.
69
88
 
70
89
  - Type: `boolean`
71
90
  - Default: `false`
72
91
 
73
- #### hint
74
-
92
+ #### label
75
93
 
94
+ The content to disply as the label
76
95
 
77
96
  - Type: `string`
78
97
  - Default: `-`
79
98
 
80
- #### label
99
+ #### name
81
100
 
82
101
 
83
102
 
@@ -86,39 +105,27 @@ A dropdown component for selecting a single value.
86
105
 
87
106
  #### optional
88
107
 
89
-
90
-
91
- - Type: `boolean`
92
- - Default: `false`
93
-
94
- #### disabled
95
-
96
-
108
+ Whether to show optional text
97
109
 
98
110
  - Type: `boolean`
99
111
  - Default: `false`
100
112
 
101
113
  #### readOnly
102
114
 
115
+ **Deprecated**: Use the native readonly attribute instead.
103
116
 
117
+ Renders the field in a readonly state.
104
118
 
105
119
  - Type: `boolean`
106
120
  - Default: `false`
107
121
 
108
122
  #### readonly
109
123
 
110
-
124
+ Renders the field in a readonly state.
111
125
 
112
126
  - Type: `boolean`
113
127
  - Default: `false`
114
128
 
115
- #### name
116
-
117
-
118
-
119
- - Type: `string`
120
- - Default: `-`
121
-
122
129
  #### value
123
130
 
124
131
 
@@ -126,13 +133,6 @@ A dropdown component for selecting a single value.
126
133
  - Type: `string`
127
134
  - Default: `-`
128
135
 
129
- #### _options
130
-
131
-
132
-
133
- - Type: `unknown`
134
- - Default: `-`
135
-
136
136
  ### Types
137
137
 
138
138
  No types documented.
@@ -4,120 +4,113 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
8
- | label | `string` | `-` | - |
7
+ | _hasInternalError | `boolean` | `false` | - |
8
+ | _invalidMessage | `string` | `''` | - |
9
+ | _showError | `boolean` | `false` | - |
10
+ | _tabbableElements | `Array<HTMLElement>` | `[]` | - |
11
+ | componentHasError | `boolean` | `-` | - |
9
12
  | disabled | `boolean` | `false` | - |
10
- | openEnded | `boolean` | `false` | - |
13
+ | edgeMax | `unknown` | `-` | - |
14
+ | edgeMin | `unknown` | `-` | - |
11
15
  | error | `string` | `-` | - |
16
+ | errorText | `string` | `-` | - |
17
+ | fieldset | `HTMLFieldSetElement` | `-` | - |
12
18
  | helpText | `string` | `-` | - |
19
+ | hiddenTextfield | `boolean` | `false` | - |
13
20
  | invalid | `boolean` | `false` | - |
14
- | required | `boolean` | `false` | - |
15
- | min | `string` | `-` | - |
21
+ | label | `string` | `-` | The slider fieldset label. Required for proper accessibility. |
22
+ | labelFormatter | `(slot: SliderSlot) => string` | `-` | Formatter for the min and max labels below the range. |
23
+ | markers | `number` | `-` | Pass a value similar to step to create visual markers at that interval |
16
24
  | max | `string` | `-` | - |
17
- | markers | `number` | `-` | - |
25
+ | min | `string` | `-` | - |
26
+ | openEnded | `boolean` | `false` | Whether or not to allow values outside the range such as "Before 1950" and "2025+". |
27
+ | required | `boolean` | `false` | Ensures a child slider thumb has a value before allowing the containing form to submit. |
28
+ | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
18
29
  | step | `number` | `-` | - |
19
- | suffix | `string` | `-` | - |
20
- | hiddenTextfield | `boolean` | `false` | - |
21
- | valueFormatter | `(value: string, slot: SliderSlot) => string` | `-` | - |
22
- | tooltipFormatter | `(value: string, slot: SliderSlot) => string` | `-` | - |
23
- | labelFormatter | `(slot: SliderSlot) => string` | `-` | - |
24
- | fieldset | `HTMLFieldSetElement` | `-` | - |
25
- | _invalidMessage | `string` | `''` | - |
26
- | _hasInternalError | `boolean` | `false` | - |
27
- | _showError | `boolean` | `false` | - |
28
- | _tabbableElements | `Array<HTMLElement>` | `[]` | - |
29
- | edgeMin | `unknown` | `-` | - |
30
- | edgeMax | `unknown` | `-` | - |
31
- | componentHasError | `boolean` | `-` | - |
32
- | errorText | `string` | `-` | - |
30
+ | suffix | `string` | `-` | Suffix used in text input fields and for the min and max values of the slider. |
31
+ | tooltipFormatter | `(value: string, slot: SliderSlot) => string` | `-` | Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip. |
32
+ | valueFormatter | `(value: string, slot: SliderSlot) => string` | `-` | Formatter for the tooltip and input mask values. |
33
33
 
34
34
  ### Property Details
35
35
 
36
- #### shadowRootOptions
36
+ #### _hasInternalError
37
37
 
38
38
 
39
39
 
40
- - Type: `object`
41
- - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
40
+ - Type: `boolean`
41
+ - Default: `false`
42
42
 
43
- #### label
43
+ #### _invalidMessage
44
44
 
45
45
 
46
46
 
47
47
  - Type: `string`
48
- - Default: `-`
49
-
50
- #### disabled
51
-
52
-
53
-
54
- - Type: `boolean`
55
- - Default: `false`
48
+ - Default: `''`
56
49
 
57
- #### openEnded
50
+ #### _showError
58
51
 
59
52
 
60
53
 
61
54
  - Type: `boolean`
62
55
  - Default: `false`
63
56
 
64
- #### error
57
+ #### _tabbableElements
65
58
 
66
59
 
67
60
 
68
- - Type: `string`
69
- - Default: `-`
61
+ - Type: `Array<HTMLElement>`
62
+ - Default: `[]`
70
63
 
71
- #### helpText
64
+ #### componentHasError
72
65
 
73
66
 
74
67
 
75
- - Type: `string`
68
+ - Type: `boolean`
76
69
  - Default: `-`
77
70
 
78
- #### invalid
71
+ #### disabled
79
72
 
80
73
 
81
74
 
82
75
  - Type: `boolean`
83
76
  - Default: `false`
84
77
 
85
- #### required
78
+ #### edgeMax
86
79
 
87
80
 
88
81
 
89
- - Type: `boolean`
90
- - Default: `false`
82
+ - Type: `unknown`
83
+ - Default: `-`
91
84
 
92
- #### min
85
+ #### edgeMin
93
86
 
94
87
 
95
88
 
96
- - Type: `string`
89
+ - Type: `unknown`
97
90
  - Default: `-`
98
91
 
99
- #### max
92
+ #### error
100
93
 
101
94
 
102
95
 
103
96
  - Type: `string`
104
97
  - Default: `-`
105
98
 
106
- #### markers
99
+ #### errorText
107
100
 
108
101
 
109
102
 
110
- - Type: `number`
103
+ - Type: `string`
111
104
  - Default: `-`
112
105
 
113
- #### step
106
+ #### fieldset
114
107
 
115
108
 
116
109
 
117
- - Type: `number`
110
+ - Type: `HTMLFieldSetElement`
118
111
  - Default: `-`
119
112
 
120
- #### suffix
113
+ #### helpText
121
114
 
122
115
 
123
116
 
@@ -131,88 +124,97 @@
131
124
  - Type: `boolean`
132
125
  - Default: `false`
133
126
 
134
- #### valueFormatter
127
+ #### invalid
135
128
 
136
129
 
137
130
 
138
- - Type: `(value: string, slot: SliderSlot) => string`
139
- - Default: `-`
131
+ - Type: `boolean`
132
+ - Default: `false`
140
133
 
141
- #### tooltipFormatter
134
+ #### label
142
135
 
136
+ The slider fieldset label. Required for proper accessibility.
143
137
 
138
+ If you need to display HTML, use the `label` slot instead (f. ex. `<legend class="sr-only" slot="label">Production year</legend>`)
144
139
 
145
- - Type: `(value: string, slot: SliderSlot) => string`
140
+ - Type: `string`
146
141
  - Default: `-`
147
142
 
148
143
  #### labelFormatter
149
144
 
150
-
145
+ Formatter for the min and max labels below the range.
151
146
 
152
147
  - Type: `(slot: SliderSlot) => string`
153
148
  - Default: `-`
154
149
 
155
- #### fieldset
156
-
150
+ #### markers
157
151
 
152
+ Pass a value similar to step to create visual markers at that interval
158
153
 
159
- - Type: `HTMLFieldSetElement`
154
+ - Type: `number`
160
155
  - Default: `-`
161
156
 
162
- #### _invalidMessage
157
+ #### max
163
158
 
164
159
 
165
160
 
166
161
  - Type: `string`
167
- - Default: `''`
162
+ - Default: `-`
163
+
164
+ #### min
168
165
 
169
- #### _hasInternalError
170
166
 
171
167
 
168
+ - Type: `string`
169
+ - Default: `-`
170
+
171
+ #### openEnded
172
+
173
+ Whether or not to allow values outside the range such as "Before 1950" and "2025+".
172
174
 
173
175
  - Type: `boolean`
174
176
  - Default: `false`
175
177
 
176
- #### _showError
177
-
178
+ #### required
178
179
 
180
+ Ensures a child slider thumb has a value before allowing the containing form to submit.
179
181
 
180
182
  - Type: `boolean`
181
183
  - Default: `false`
182
184
 
183
- #### _tabbableElements
185
+ #### shadowRootOptions
184
186
 
185
187
 
186
188
 
187
- - Type: `Array<HTMLElement>`
188
- - Default: `[]`
189
+ - Type: `object`
190
+ - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
189
191
 
190
- #### edgeMin
192
+ #### step
191
193
 
192
194
 
193
195
 
194
- - Type: `unknown`
196
+ - Type: `number`
195
197
  - Default: `-`
196
198
 
197
- #### edgeMax
198
-
199
+ #### suffix
199
200
 
201
+ Suffix used in text input fields and for the min and max values of the slider.
200
202
 
201
- - Type: `unknown`
203
+ - Type: `string`
202
204
  - Default: `-`
203
205
 
204
- #### componentHasError
205
-
206
+ #### tooltipFormatter
206
207
 
208
+ Replaces valueFormatter for the tooltip. Use in open-ended sliders to show for example "300+ hk" instead of "Max" in the tooltip.
207
209
 
208
- - Type: `boolean`
210
+ - Type: `(value: string, slot: SliderSlot) => string`
209
211
  - Default: `-`
210
212
 
211
- #### errorText
212
-
213
+ #### valueFormatter
213
214
 
215
+ Formatter for the tooltip and input mask values.
214
216
 
215
- - Type: `string`
217
+ - Type: `(value: string, slot: SliderSlot) => string`
216
218
  - Default: `-`
217
219
 
218
220
  ### Types