Skip to content

Commit 39cc22e

Browse files
feat: add validation selection for custom select (#4412)
* feat: add validation selection for custom select * auto update snapshots (#4413) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent bc8a7d5 commit 39cc22e

File tree

16 files changed

+332
-1
lines changed

16 files changed

+332
-1
lines changed
Loading

__snapshots__/custom-select/showcase/chromium-highContrast/should-have-same-aria-snapshot/DBCustomSelect-should-have-same-aria-snapshot.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,46 @@
169169
- text: Option 2 none" / "
170170
- status
171171
- text: chevron_down" / "
172+
- link "Validation arrow_up_right\" / \""
173+
- text: (Default) No Validation
174+
- group:
175+
- article:
176+
- radiogroup "id-102061-(Default) No Validation":
177+
- list:
178+
- listitem:
179+
- radio "Option 1 none\" / \""
180+
- text: Option 1 none" / "
181+
- listitem:
182+
- radio "Option 2 none\" / \""
183+
- text: Option 2 none" / "
184+
- status
185+
- text: chevron_down" / " Invalid
186+
- group:
187+
- article:
188+
- radiogroup "id-102062-Invalid":
189+
- list:
190+
- listitem:
191+
- radio "Option 1 none\" / \""
192+
- text: Option 1 none" / "
193+
- listitem:
194+
- radio "Option 2 none\" / \""
195+
- text: Option 2 none" / "
196+
- text: exclamation_mark_circle" / " Invalid Message
197+
- status
198+
- text: chevron_down" / " Valid
199+
- group:
200+
- article:
201+
- radiogroup "id-102063-Valid":
202+
- list:
203+
- listitem:
204+
- radio "Option 1 none\" / \""
205+
- text: Option 1 none" / "
206+
- listitem:
207+
- radio "Option 2 none\" / \""
208+
- text: Option 2 none" / "
209+
- text: "check_circle\" / \" TODO: Add a validMessage"
210+
- status
211+
- text: chevron_down" / "
172212
- link "Required arrow_up_right\" / \""
173213
- text: (Default) False
174214
- group:
Loading

__snapshots__/custom-select/showcase/chromium/should-have-same-aria-snapshot/DBCustomSelect-should-have-same-aria-snapshot.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,46 @@
169169
- text: Option 2 none" / "
170170
- status
171171
- text: chevron_down" / "
172+
- link "Validation arrow_up_right\" / \""
173+
- text: (Default) No Validation
174+
- group:
175+
- article:
176+
- radiogroup "id-102061-(Default) No Validation":
177+
- list:
178+
- listitem:
179+
- radio "Option 1 none\" / \""
180+
- text: Option 1 none" / "
181+
- listitem:
182+
- radio "Option 2 none\" / \""
183+
- text: Option 2 none" / "
184+
- status
185+
- text: chevron_down" / " Invalid
186+
- group:
187+
- article:
188+
- radiogroup "id-102062-Invalid":
189+
- list:
190+
- listitem:
191+
- radio "Option 1 none\" / \""
192+
- text: Option 1 none" / "
193+
- listitem:
194+
- radio "Option 2 none\" / \""
195+
- text: Option 2 none" / "
196+
- text: exclamation_mark_circle" / " Invalid Message
197+
- status
198+
- text: chevron_down" / " Valid
199+
- group:
200+
- article:
201+
- radiogroup "id-102063-Valid":
202+
- list:
203+
- listitem:
204+
- radio "Option 1 none\" / \""
205+
- text: Option 1 none" / "
206+
- listitem:
207+
- radio "Option 2 none\" / \""
208+
- text: Option 2 none" / "
209+
- text: "check_circle\" / \" TODO: Add a validMessage"
210+
- status
211+
- text: chevron_down" / "
172212
- link "Required arrow_up_right\" / \""
173213
- text: (Default) False
174214
- group:
Loading

__snapshots__/custom-select/showcase/firefox/should-have-same-aria-snapshot/DBCustomSelect-should-have-same-aria-snapshot.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,46 @@
169169
- text: Option 2 none" / "
170170
- status
171171
- text: chevron_down" / "
172+
- link "Validation arrow_up_right\" / \""
173+
- text: (Default) No Validation
174+
- group:
175+
- article:
176+
- radiogroup "id-102061-(Default) No Validation":
177+
- list:
178+
- listitem:
179+
- radio "Option 1 none\" / \""
180+
- text: Option 1 none" / "
181+
- listitem:
182+
- radio "Option 2 none\" / \""
183+
- text: Option 2 none" / "
184+
- status
185+
- text: chevron_down" / " Invalid
186+
- group:
187+
- article:
188+
- radiogroup "id-102062-Invalid":
189+
- list:
190+
- listitem:
191+
- radio "Option 1 none\" / \""
192+
- text: Option 1 none" / "
193+
- listitem:
194+
- radio "Option 2 none\" / \""
195+
- text: Option 2 none" / "
196+
- text: exclamation_mark_circle" / " Invalid Message
197+
- status
198+
- text: chevron_down" / " Valid
199+
- group:
200+
- article:
201+
- radiogroup "id-102063-Valid":
202+
- list:
203+
- listitem:
204+
- radio "Option 1 none\" / \""
205+
- text: Option 1 none" / "
206+
- listitem:
207+
- radio "Option 2 none\" / \""
208+
- text: Option 2 none" / "
209+
- text: "check_circle\" / \" TODO: Add a validMessage"
210+
- status
211+
- text: chevron_down" / "
172212
- link "Required arrow_up_right\" / \""
173213
- text: (Default) False
174214
- group:
Loading

__snapshots__/custom-select/showcase/mobile-chrome/should-have-same-aria-snapshot/DBCustomSelect-should-have-same-aria-snapshot.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,49 @@
182182
- button "cross\" / \" Close"
183183
- status
184184
- text: chevron_down" / "
185+
- link "Validation arrow_up_right\" / \""
186+
- text: (Default) No Validation
187+
- group:
188+
- article:
189+
- radiogroup "id-102061-(Default) No Validation":
190+
- list:
191+
- listitem:
192+
- radio "Option 1 none\" / \""
193+
- text: Option 1 none" / "
194+
- listitem:
195+
- radio "Option 2 none\" / \""
196+
- text: Option 2 none" / "
197+
- button "cross\" / \" Close"
198+
- status
199+
- text: chevron_down" / " Invalid
200+
- group:
201+
- article:
202+
- radiogroup "id-102062-Invalid":
203+
- list:
204+
- listitem:
205+
- radio "Option 1 none\" / \""
206+
- text: Option 1 none" / "
207+
- listitem:
208+
- radio "Option 2 none\" / \""
209+
- text: Option 2 none" / "
210+
- button "cross\" / \" Close"
211+
- text: exclamation_mark_circle" / " Invalid Message
212+
- status
213+
- text: chevron_down" / " Valid
214+
- group:
215+
- article:
216+
- radiogroup "id-102063-Valid":
217+
- list:
218+
- listitem:
219+
- radio "Option 1 none\" / \""
220+
- text: Option 1 none" / "
221+
- listitem:
222+
- radio "Option 2 none\" / \""
223+
- text: Option 2 none" / "
224+
- button "cross\" / \" Close"
225+
- text: "check_circle\" / \" TODO: Add a validMessage"
226+
- status
227+
- text: chevron_down" / "
185228
- link "Required arrow_up_right\" / \""
186229
- text: (Default) False
187230
- group:
Loading

__snapshots__/custom-select/showcase/mobile-safari/should-have-same-aria-snapshot/DBCustomSelect-should-have-same-aria-snapshot.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,49 @@
182182
- button "cross\" / \" Close"
183183
- status
184184
- text: chevron_down" / "
185+
- link "Validation arrow_up_right\" / \""
186+
- text: (Default) No Validation
187+
- group:
188+
- article:
189+
- radiogroup "id-102061-(Default) No Validation":
190+
- list:
191+
- listitem:
192+
- radio "Option 1 none\" / \""
193+
- text: Option 1 none" / "
194+
- listitem:
195+
- radio "Option 2 none\" / \""
196+
- text: Option 2 none" / "
197+
- button "cross\" / \" Close"
198+
- status
199+
- text: chevron_down" / " Invalid
200+
- group:
201+
- article:
202+
- radiogroup "id-102062-Invalid":
203+
- list:
204+
- listitem:
205+
- radio "Option 1 none\" / \""
206+
- text: Option 1 none" / "
207+
- listitem:
208+
- radio "Option 2 none\" / \""
209+
- text: Option 2 none" / "
210+
- button "cross\" / \" Close"
211+
- text: exclamation_mark_circle" / " Invalid Message
212+
- status
213+
- text: chevron_down" / " Valid
214+
- group:
215+
- article:
216+
- radiogroup "id-102063-Valid":
217+
- list:
218+
- listitem:
219+
- radio "Option 1 none\" / \""
220+
- text: Option 1 none" / "
221+
- listitem:
222+
- radio "Option 2 none\" / \""
223+
- text: Option 2 none" / "
224+
- button "cross\" / \" Close"
225+
- text: "check_circle\" / \" TODO: Add a validMessage"
226+
- status
227+
- text: chevron_down" / "
185228
- link "Required arrow_up_right\" / \""
186229
- text: (Default) False
187230
- group:

0 commit comments

Comments
 (0)