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