euv-example 0.35.1

An example application demonstrating the euv UI framework with reactive signals, custom components, and WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
/// The title text for the header on the form demo page.
pub(crate) const FORM_HEADER_TITLE: &str = "Form Components";

/// The subtitle text for the header on the form demo page.
pub(crate) const FORM_HEADER_SUBTITLE: &str = "Selects, checkbox groups, segmented controls, number inputs, auto-complete, date pickers and the form wrapper — the input half of the component library.";

/// The section heading for the choice card.
pub(crate) const FORM_CHOICE_CARD_TITLE: &str = "Choices";

/// The label above the select.
pub(crate) const FORM_SELECT_LABEL: &str = "Fruit";

/// The placeholder shown when no fruit is chosen.
pub(crate) const FORM_SELECT_PLACEHOLDER: &str = "Pick a fruit";

/// The id connecting the fruit Select label to its trigger.
pub(crate) const FORM_CONTROL_SELECT_ID: &str = "fruit-select";

/// The form name submitted for the fruit Select.
pub(crate) const FORM_CONTROL_SELECT_NAME: &str = "fruit";

/// The title of the invalid-control demo card.
pub(crate) const FORM_INVALID_CARD_TITLE: &str = "Validation";

/// The id and name of the invalid Select demo field.
pub(crate) const FORM_INVALID_SELECT_ID: &str = "invalid-fruit";

/// The message shown beneath the invalid Select demo.
pub(crate) const FORM_INVALID_SELECT_ERROR: &str = "Please select a fruit.";

/// The title of the long-list Select demo.
pub(crate) const FORM_SCROLLABLE_SELECT_CARD_TITLE: &str = "Scrollable";

/// The label above the long timezone list.
pub(crate) const FORM_SELECT_TIMEZONE_LABEL: &str = "Timezone";

/// The placeholder shown before a timezone is selected.
pub(crate) const FORM_SELECT_TIMEZONE_PLACEHOLDER: &str = "Select a timezone";

/// Group, value and label rows for the long Select scroll demo.
pub(crate) const FORM_SELECT_TIMEZONE_ROWS: [(&str, &str, &str); 24] = [
    ("North America", "America/New_York", "Eastern Standard Time"),
    ("North America", "America/Chicago", "Central Standard Time"),
    ("North America", "America/Denver", "Mountain Standard Time"),
    (
        "North America",
        "America/Los_Angeles",
        "Pacific Standard Time",
    ),
    ("North America", "America/Anchorage", "Alaska Standard Time"),
    ("North America", "Pacific/Honolulu", "Hawaii Standard Time"),
    ("Europe & Africa", "Europe/London", "Greenwich Mean Time"),
    ("Europe & Africa", "Europe/Paris", "Central European Time"),
    ("Europe & Africa", "Europe/Athens", "Eastern European Time"),
    (
        "Europe & Africa",
        "Africa/Abidjan",
        "Greenwich Mean Time — Abidjan",
    ),
    ("Europe & Africa", "Africa/Lagos", "West Africa Time"),
    (
        "Europe & Africa",
        "Africa/Johannesburg",
        "South Africa Standard Time",
    ),
    ("Asia", "Asia/Dubai", "Arabian Standard Time"),
    ("Asia", "Asia/Kolkata", "India Standard Time"),
    ("Asia", "Asia/Bangkok", "Indochina Time"),
    ("Asia", "Asia/Singapore", "Singapore Standard Time"),
    ("Asia", "Asia/Shanghai", "China Standard Time"),
    ("Asia", "Asia/Tokyo", "Japan Standard Time"),
    (
        "Australia & Pacific",
        "Australia/Perth",
        "Australian Western Standard Time",
    ),
    (
        "Australia & Pacific",
        "Australia/Adelaide",
        "Australian Central Standard Time",
    ),
    (
        "Australia & Pacific",
        "Australia/Sydney",
        "Australian Eastern Standard Time",
    ),
    (
        "Australia & Pacific",
        "Australia/Melbourne",
        "Australian Eastern Daylight Time",
    ),
    (
        "Australia & Pacific",
        "Pacific/Auckland",
        "New Zealand Standard Time",
    ),
    ("Australia & Pacific", "Pacific/Fiji", "Fiji Time"),
];

/// The value the select starts on.
pub(crate) const FORM_DEFAULT_FRUIT: &str = "apple";

/// The value of the first fruit option.
pub(crate) const FORM_FRUIT_FIRST_VALUE: &str = "apple";

/// The label of the first fruit option.
pub(crate) const FORM_FRUIT_FIRST_LABEL: &str = "Apple";

/// The value of the second fruit option.
pub(crate) const FORM_FRUIT_SECOND_VALUE: &str = "banana";

/// The label of the second fruit option.
pub(crate) const FORM_FRUIT_SECOND_LABEL: &str = "Banana";

/// The value of the third fruit option.
pub(crate) const FORM_FRUIT_THIRD_VALUE: &str = "cherry";

/// The label of the third fruit option.
pub(crate) const FORM_FRUIT_THIRD_LABEL: &str = "Cherry";

/// The label above the checkbox group.
pub(crate) const FORM_TOPPING_LABEL: &str = "Toppings";

/// The value of the first topping option.
pub(crate) const FORM_TOPPING_FIRST_VALUE: &str = "cheese";

/// The label of the first topping option.
pub(crate) const FORM_TOPPING_FIRST_LABEL: &str = "Cheese";

/// The value of the second topping option.
pub(crate) const FORM_TOPPING_SECOND_VALUE: &str = "olives";

/// The label of the second topping option.
pub(crate) const FORM_TOPPING_SECOND_LABEL: &str = "Olives";

/// The value of the third topping option.
pub(crate) const FORM_TOPPING_THIRD_VALUE: &str = "basil";

/// The label of the third topping option.
pub(crate) const FORM_TOPPING_THIRD_LABEL: &str = "Basil";

/// The topping the checkbox group starts with checked.
pub(crate) const FORM_DEFAULT_TOPPING: &str = "cheese";

/// The value of the first segment.
pub(crate) const FORM_VIEW_FIRST_VALUE: &str = "grid";

/// The label of the first segment.
pub(crate) const FORM_VIEW_FIRST_LABEL: &str = "Grid";

/// The value of the second segment.
pub(crate) const FORM_VIEW_SECOND_VALUE: &str = "list";

/// The label of the second segment.
pub(crate) const FORM_VIEW_SECOND_LABEL: &str = "List";

/// The value of the third segment.
pub(crate) const FORM_VIEW_THIRD_VALUE: &str = "detail";

/// The label of the third segment.
pub(crate) const FORM_VIEW_THIRD_LABEL: &str = "Detail";

/// The segment the segmented control starts on.
pub(crate) const FORM_DEFAULT_VIEW: &str = "grid";

/// The section heading for the input card.
pub(crate) const FORM_INPUT_CARD_TITLE: &str = "Inputs";

/// The label above the number input.
pub(crate) const FORM_QUANTITY_LABEL: &str = "Quantity";

/// The quantity the number input starts on.
pub(crate) const FORM_DEFAULT_QUANTITY: i64 = 2;

/// The smallest quantity the number input allows.
pub(crate) const FORM_QUANTITY_MIN: i64 = 0;

/// The largest quantity the number input allows.
pub(crate) const FORM_QUANTITY_MAX: i64 = 10;

/// The step the number input moves by.
pub(crate) const FORM_QUANTITY_STEP: i64 = 1;

/// The label above the auto-complete.
pub(crate) const FORM_SEARCH_LABEL: &str = "Search";

/// The placeholder shown in the auto-complete.
pub(crate) const FORM_SEARCH_PLACEHOLDER: &str = "Type to filter";

/// The value of the first search option.
pub(crate) const FORM_SEARCH_FIRST_VALUE: &str = "signal";

/// The label of the first search option.
pub(crate) const FORM_SEARCH_FIRST_LABEL: &str = "Signal";

/// The value of the second search option.
pub(crate) const FORM_SEARCH_SECOND_VALUE: &str = "signal_state";

/// The label of the second search option.
pub(crate) const FORM_SEARCH_SECOND_LABEL: &str = "SignalState";

/// The value of the third search option.
pub(crate) const FORM_SEARCH_THIRD_VALUE: &str = "hook_context";

/// The label of the third search option.
pub(crate) const FORM_SEARCH_THIRD_LABEL: &str = "HookContext";

/// The label above the date picker.
pub(crate) const FORM_DATE_LABEL: &str = "Delivery date";

/// The placeholder shown when no date is chosen.
pub(crate) const FORM_DATE_PLACEHOLDER: &str = "Pick a date";

/// The label of the form's submit button.
pub(crate) const FORM_SUBMIT_LABEL: &str = "Submit";

/// The message logged when the form is submitted.
pub(crate) const FORM_SUBMIT_LOG: &str = "form submitted";

/// The label of the fruit row in the summary.
pub(crate) const FORM_SUMMARY_FRUIT: &str = "fruit";

/// The label of the topping row in the summary.
pub(crate) const FORM_SUMMARY_TOPPING: &str = "toppings";

/// The label of the view row in the summary.
pub(crate) const FORM_SUMMARY_VIEW: &str = "view";

/// The label of the quantity row in the summary.
pub(crate) const FORM_SUMMARY_QUANTITY: &str = "quantity";

// The lines the demo writes into the console panel when a callback runs.
pub(crate) const FORM_SELECT_LOG: &str = "select changed to {value}";
pub(crate) const FORM_SEGMENTED_LOG: &str = "view changed to {value}";

/// The section heading for the toggle card.
pub(crate) const FORM_TOGGLE_CARD_TITLE: &str = "Toggles";

/// The hint above the toggle group.
pub(crate) const FORM_TOGGLE_GROUP_LABEL: &str = "Alignment";

/// The label of the first alignment option.
pub(crate) const FORM_TOGGLE_FIRST_LABEL: &str = "Left";

/// The value of the first alignment option.
pub(crate) const FORM_TOGGLE_FIRST_VALUE: &str = "left";

/// The label of the second alignment option.
pub(crate) const FORM_TOGGLE_SECOND_LABEL: &str = "Center";

/// The value of the second alignment option.
pub(crate) const FORM_TOGGLE_SECOND_VALUE: &str = "center";

/// The label of the third alignment option.
pub(crate) const FORM_TOGGLE_THIRD_LABEL: &str = "Right";

/// The value of the third alignment option.
pub(crate) const FORM_TOGGLE_THIRD_VALUE: &str = "right";

/// The label of the standalone toggle.
pub(crate) const FORM_TOGGLE_BOLD_LABEL: &str = "Bold";

/// The key the keyboard key element stands for.
pub(crate) const FORM_KBD_KEY: &str = "⌘K";

/// The hint above the keyboard key element.
pub(crate) const FORM_KBD_HINT: &str = "Press the shortcut";

/// The section heading for the accordion card.
pub(crate) const FORM_ACCORDION_CARD_TITLE: &str = "Accordion";

/// The trigger of the first accordion section.
pub(crate) const FORM_ACCORDION_FIRST_TRIGGER: &str = "What is an accordion?";

/// The body of the first accordion section.
pub(crate) const FORM_ACCORDION_FIRST_CONTENT: &str =
    "A stack of sections where one header at a time opens the body below it.";

/// The value of the first accordion section.
pub(crate) const FORM_ACCORDION_FIRST_VALUE: &str = "first";

/// The trigger of the second accordion section.
pub(crate) const FORM_ACCORDION_SECOND_TRIGGER: &str = "Can two sections stay open?";

/// The body of the second accordion section.
pub(crate) const FORM_ACCORDION_SECOND_CONTENT: &str =
    "Not in the single mode. The multiple mode lets every section stay open.";

/// The value of the second accordion section.
pub(crate) const FORM_ACCORDION_SECOND_VALUE: &str = "second";

/// The trigger of the third accordion section.
pub(crate) const FORM_ACCORDION_THIRD_TRIGGER: &str = "Disabled section";

/// The body of the third accordion section.
pub(crate) const FORM_ACCORDION_THIRD_CONTENT: &str = "This section cannot be opened.";

/// The value of the third accordion section.
pub(crate) const FORM_ACCORDION_THIRD_VALUE: &str = "third";

/// The message logged when an accordion section is opened.
pub(crate) const FORM_ACCORDION_LOG: &str = "accordion opened {value}";

/// The section heading for the field card.
pub(crate) const FORM_FIELD_CARD_TITLE: &str = "Fields";

/// The label above the textarea.
pub(crate) const FORM_NOTES_LABEL: &str = "Delivery notes";

/// The id of the textarea the label names.
pub(crate) const FORM_NOTES_FIELD_ID: &str = "delivery-notes";

/// The placeholder shown in the textarea.
pub(crate) const FORM_NOTES_PLACEHOLDER: &str = "Leave the parcel with the neighbour";

/// The label above the input group field.
pub(crate) const FORM_QUERY_LABEL: &str = "Search";

/// The id of the input group field.
pub(crate) const FORM_QUERY_FIELD_ID: &str = "group-query";

/// The placeholder shown in the input group field.
pub(crate) const FORM_QUERY_PLACEHOLDER: &str = "Type to filter";

/// The text shown in the leading addon of the input group.
pub(crate) const FORM_QUERY_ADDON: &str = "@";

/// The label of the button inside the input group.
pub(crate) const FORM_QUERY_BUTTON_LABEL: &str = "Go";

/// The section heading for the button group card.
pub(crate) const FORM_BUTTON_GROUP_CARD_TITLE: &str = "Button Groups";

/// The caption shown inside the button group.
pub(crate) const FORM_BUTTON_GROUP_TEXT: &str = "Zoom";

/// The label of the first button of the button group.
pub(crate) const FORM_BUTTON_GROUP_FIRST_LABEL: &str = "100%";

/// The label of the second button of the button group.
pub(crate) const FORM_BUTTON_GROUP_SECOND_LABEL: &str = "50%";

/// The label of the third button of the button group.
pub(crate) const FORM_BUTTON_GROUP_THIRD_LABEL: &str = "Fit";

/// The title of the card that shows the menu, radio group and toast parts.
pub(crate) const FORM_MENU_CARD_TITLE: &str = "Menus, radios and toasts";

/// The label of the radio group on the page.
pub(crate) const FORM_RADIO_GROUP_LABEL: &str = "Delivery";

/// The label of the first radio row.
pub(crate) const FORM_RADIO_FIRST_LABEL: &str = "Standard";

/// The value of the first radio row.
pub(crate) const FORM_RADIO_FIRST_VALUE: &str = "standard";

/// The label of the second radio row.
pub(crate) const FORM_RADIO_SECOND_LABEL: &str = "Express";

/// The value of the second radio row.
pub(crate) const FORM_RADIO_SECOND_VALUE: &str = "express";

/// The heading of the standalone menu.
pub(crate) const FORM_MENU_LABEL: &str = "Actions";

/// The label of the first menu row.
pub(crate) const FORM_MENU_FIRST_LABEL: &str = "Duplicate";

/// The shortcut of the first menu row.
pub(crate) const FORM_MENU_FIRST_SHORTCUT: &str = "Ctrl+D";

/// The label of the second menu row.
pub(crate) const FORM_MENU_SECOND_LABEL: &str = "Archive";

/// The shortcut of the second menu row.
pub(crate) const FORM_MENU_SECOND_SHORTCUT: &str = "Ctrl+A";

/// The accessible name of the form demo menubar.
pub(crate) const FORM_MENUBAR_LABEL: &str = "Application";

/// The label of the menubar trigger.
pub(crate) const FORM_MENUBAR_TRIGGER_LABEL: &str = "File";
/// Stable ID linking the menubar trigger to its content.
pub(crate) const FORM_MENUBAR_TRIGGER_ID: &str = "forms-menubar-file";

/// The label of the menubar row.
pub(crate) const FORM_MENUBAR_ITEM_LABEL: &str = "New document";

/// The value of the menubar row.
pub(crate) const FORM_MENUBAR_ITEM_VALUE: &str = "new";

/// The second menu trigger label.
pub(crate) const FORM_MENUBAR_EDIT_TRIGGER_LABEL: &str = "Edit";
/// Stable ID linking the second trigger to its content.
pub(crate) const FORM_MENUBAR_EDIT_TRIGGER_ID: &str = "forms-menubar-edit";
/// The label of the edit menu's first command.
pub(crate) const FORM_MENUBAR_EDIT_ITEM_LABEL: &str = "Copy";
/// The value of the edit menu's first command.
pub(crate) const FORM_MENUBAR_EDIT_ITEM_VALUE: &str = "copy";

/// The headline of the demo toast.
pub(crate) const FORM_TOAST_TITLE: &str = "Deployment finished";

/// The body of the demo toast.
pub(crate) const FORM_TOAST_DESCRIPTION: &str = "The build is live on the preview host.";

/// The label of the demo toast action.
pub(crate) const FORM_TOAST_ACTION_LABEL: &str = "View";

/// The title of the card that shows the overlay components.
pub(crate) const FORM_OVERLAY_CARD_TITLE: &str = "Overlays";

/// The accessible name of the command palette.
pub(crate) const FORM_COMMAND_LABEL: &str = "Command palette";

/// The text shown in the command field while it is empty.
pub(crate) const FORM_COMMAND_PLACEHOLDER: &str = "Type a command";

/// The accessible name of the command rows.
pub(crate) const FORM_COMMAND_LIST_LABEL: &str = "Commands";

/// The heading of the command group.
pub(crate) const FORM_COMMAND_GROUP_HEADING: &str = "Suggestions";

/// The label of the first command row.
pub(crate) const FORM_COMMAND_FIRST_LABEL: &str = "New file";

/// The value of the first command row.
pub(crate) const FORM_COMMAND_FIRST_VALUE: &str = "new";

/// The key hint of the first command row.
pub(crate) const FORM_COMMAND_FIRST_SHORTCUT: &str = "Ctrl+N";

/// The message shown when the command matches nothing.
pub(crate) const FORM_COMMAND_EMPTY_TEXT: &str = "No matching command.";

/// The accessible name of the combobox.
pub(crate) const FORM_COMBOBOX_LABEL: &str = "Framework";

/// The label of the combobox trigger.
pub(crate) const FORM_COMBOBOX_TRIGGER_LABEL: &str = "Pick a framework";

/// The text shown in the combobox field while it is empty.
pub(crate) const FORM_COMBOBOX_PLACEHOLDER: &str = "Search";

/// The accessible name of the combobox rows.
pub(crate) const FORM_COMBOBOX_LIST_LABEL: &str = "Frameworks";

/// The label of the first combobox row.
pub(crate) const FORM_COMBOBOX_FIRST_LABEL: &str = "euv";

/// The value of the first combobox row.
pub(crate) const FORM_COMBOBOX_FIRST_VALUE: &str = "euv";

/// The label of the second combobox row.
pub(crate) const FORM_COMBOBOX_SECOND_LABEL: &str = "Leptos";

/// The value of the second combobox row.
pub(crate) const FORM_COMBOBOX_SECOND_VALUE: &str = "leptos";

/// The label of the sheet trigger.
pub(crate) const FORM_SHEET_TRIGGER_LABEL: &str = "Open sheet";

/// The title of the sheet.
pub(crate) const FORM_SHEET_TITLE: &str = "Sheet";

/// The description of the sheet.
pub(crate) const FORM_SHEET_DESCRIPTION: &str = "A panel that slides in from the edge.";

/// The label of the alert dialog trigger.
pub(crate) const FORM_ALERT_TRIGGER_LABEL: &str = "Delete";

/// The title of the alert dialog.
pub(crate) const FORM_ALERT_TITLE: &str = "Delete this file?";

/// The description of the alert dialog.
pub(crate) const FORM_ALERT_DESCRIPTION: &str = "This action cannot be undone.";

/// The title id used by the alert dialog example.
pub(crate) const FORM_ALERT_TITLE_ID: &str = "forms-alert-title";
/// The content id controlled by the alert dialog example trigger.
pub(crate) const FORM_ALERT_CONTENT_ID: &str = "forms-alert-content";
/// The description id used by the alert dialog example.
pub(crate) const FORM_ALERT_DESCRIPTION_ID: &str = "forms-alert-description";

/// The action label of the alert dialog example.
pub(crate) const FORM_ALERT_ACTION_LABEL: &str = "Delete";

/// The label of the alert dialog cancel button.
pub(crate) const FORM_ALERT_CANCEL_LABEL: &str = "Cancel";

/// The label of the hover card trigger.
pub(crate) const FORM_HOVER_CARD_LABEL: &str = "hover me";

/// The title of the hover card.
pub(crate) const FORM_HOVER_CARD_TITLE: &str = "A hover card";

/// The body of the hover card.
pub(crate) const FORM_HOVER_CARD_BODY: &str = "It opens when the pointer rests on the trigger.";

/// The label of the context menu trigger.
pub(crate) const FORM_CONTEXT_MENU_LABEL: &str = "Right click";

/// The label of the first context menu row.
pub(crate) const FORM_CONTEXT_FIRST_LABEL: &str = "Copy";

/// The value of the first context menu row.
pub(crate) const FORM_CONTEXT_FIRST_VALUE: &str = "copy";

/// The label of the one time code field.
pub(crate) const FORM_OTP_LABEL: &str = "One time code";

/// The title of the content and attachment card.
pub(crate) const FORM_CONTENT_CARD_TITLE: &str = "Content and attachments";

/// The text of the plain marker.
pub(crate) const FORM_MARKER_LABEL: &str = "Deployment";

/// The text of the separator marker.
pub(crate) const FORM_MARKER_SEPARATOR_LABEL: &str = "or";

/// The text of the border marker.
pub(crate) const FORM_MARKER_BORDER_LABEL: &str = "Release notes";

/// The name the native select submits under.
pub(crate) const FORM_SELECT_NAME: &str = "environment";

/// The label of the first native select option.
pub(crate) const FORM_SELECT_FIRST_LABEL: &str = "Production";

/// The value of the first native select option.
pub(crate) const FORM_SELECT_FIRST_VALUE: &str = "production";

/// The label of the second native select option.
pub(crate) const FORM_SELECT_SECOND_LABEL: &str = "Staging";

/// The value of the second native select option.
pub(crate) const FORM_SELECT_SECOND_VALUE: &str = "staging";

/// The label of the third native select option.
pub(crate) const FORM_SELECT_THIRD_LABEL: &str = "Preview";

/// The value of the third native select option.
pub(crate) const FORM_SELECT_THIRD_VALUE: &str = "preview";

/// The label of the disabled native select option.
pub(crate) const FORM_SELECT_DISABLED_OPTION_LABEL: &str = "Maintenance window";

/// The value of the disabled native select option.
pub(crate) const FORM_SELECT_DISABLED_OPTION_VALUE: &str = "maintenance";

/// The label of the disabled native select group.
pub(crate) const FORM_SELECT_DISABLED_GROUP_LABEL: &str = "Provisioned";

/// The label of the option inside the disabled native select group.
pub(crate) const FORM_SELECT_DISABLED_GROUP_OPTION_LABEL: &str = "Managed cluster";

/// The value of the option inside the disabled native select group.
pub(crate) const FORM_SELECT_DISABLED_GROUP_OPTION_VALUE: &str = "managed";

/// The name of the finished attachment.
pub(crate) const FORM_ATTACHMENT_DONE_TITLE: &str = "report.pdf";

/// The description of the finished attachment.
pub(crate) const FORM_ATTACHMENT_DONE_DESCRIPTION: &str = "1.2 MB";

/// The name of the uploading attachment.
pub(crate) const FORM_ATTACHMENT_UPLOADING_TITLE: &str = "draft.pdf";

/// The description of the uploading attachment.
pub(crate) const FORM_ATTACHMENT_UPLOADING_DESCRIPTION: &str = "Uploading";

/// The name of the failed attachment.
pub(crate) const FORM_ATTACHMENT_ERROR_TITLE: &str = "broken.png";

/// The description of the failed attachment.
pub(crate) const FORM_ATTACHMENT_ERROR_DESCRIPTION: &str = "Upload failed";

/// The name of the first chart series.
pub(crate) const FORM_CHART_FIRST_SERIES: &str = "Desktop";

/// The value of the first chart series.
pub(crate) const FORM_CHART_FIRST_VALUE: &str = "1,204";

/// The name of the second chart series.
pub(crate) const FORM_CHART_SECOND_SERIES: &str = "Mobile";

/// The value of the second chart series.
pub(crate) const FORM_CHART_SECOND_VALUE: &str = "640";

/// The label of the chart tooltip.
pub(crate) const FORM_CHART_TOOLTIP_LABEL: &str = "March";

/// The colour of the first chart series.
pub(crate) const FORM_CHART_FIRST_COLOR: &str = "var(--primary)";

/// The colour of the second chart series.
pub(crate) const FORM_CHART_SECOND_COLOR: &str = "var(--muted-foreground)";

/// The title of the conversation and trace card.
pub(crate) const FORM_CHAT_CARD_TITLE: &str = "Conversations, traces and forms";

/// The text of the collapsible trigger.
pub(crate) const FORM_COLLAPSIBLE_LABEL: &str = "What is a trace?";

/// The body of the collapsible section.
pub(crate) const FORM_COLLAPSIBLE_BODY: &str = "A trace is the list of steps a run went through.";

/// The label of the collapsible trigger.
pub(crate) const FORM_COLLAPSIBLE_TRIGGER: &str = "Show the details";

/// The text of the first bubble.
pub(crate) const FORM_BUBBLE_FIRST: &str = "The build finished in 42 seconds.";

/// The text of the second bubble.
pub(crate) const FORM_BUBBLE_SECOND: &str = "The deploy is waiting for a review.";

/// The label of the reaction under the first bubble.
pub(crate) const FORM_BUBBLE_REACTION: &str = "Ship it";

/// The title of the trace section.
pub(crate) const FORM_TRACE_TITLE: &str = "build";

/// The detail of the first trace line.
pub(crate) const FORM_TRACE_FIRST_DETAIL: &str = "128 ms";

/// The detail of the second trace line.
pub(crate) const FORM_TRACE_SECOND_DETAIL: &str = "412 ms";

/// The detail of the third trace line.
pub(crate) const FORM_TRACE_THIRD_DETAIL: &str = "9 ms";

/// The question of the questionnaire.
pub(crate) const FORM_QUESTIONNAIRE_TITLE: &str = "Which environments do you deploy to?";

/// The line under the question.
pub(crate) const FORM_QUESTIONNAIRE_DESCRIPTION: &str = "Pick every one that applies.";

/// The first answer of the questionnaire.
pub(crate) const FORM_QUESTIONNAIRE_FIRST: &str = "Production";

/// The second answer of the questionnaire.
pub(crate) const FORM_QUESTIONNAIRE_SECOND: &str = "Staging";

/// The label of the questionnaire next button.
pub(crate) const FORM_QUESTIONNAIRE_NEXT: &str = "Next";

/// The label of the questionnaire skip button.
pub(crate) const FORM_QUESTIONNAIRE_SKIP: &str = "Skip";

/// The language label of the code block.
pub(crate) const FORM_CODE_BLOCK_TITLE: &str = "config.toml";

/// The first line of the code block.
pub(crate) const FORM_CODE_BLOCK_FIRST_LINE: &str = "[server]";

/// The second line of the code block.
pub(crate) const FORM_CODE_BLOCK_SECOND_LINE: &str = "port = 8080";

/// The label of the navigation menu trigger.
pub(crate) const FORM_NAVIGATION_LABEL: &str = "Platform";

/// The first link of the navigation menu.
pub(crate) const FORM_NAVIGATION_FIRST_LINK: &str = "Overview";

/// The second link of the navigation menu.
pub(crate) const FORM_NAVIGATION_SECOND_LINK: &str = "Runs";

/// The title of the resizable panel.
pub(crate) const FORM_RESIZABLE_FIRST: &str = "Panel one";

/// The title of the second resizable panel.
pub(crate) const FORM_RESIZABLE_SECOND: &str = "Panel two";

/// The title of the card that shows the composable parts.
pub(crate) const FORM_PARTS_CARD_TITLE: &str = "Composable parts";

/// The legend of the field set.
pub(crate) const FORM_PARTS_FIELD_LEGEND: &str = "Delivery address";

/// The title of the field.
pub(crate) const FORM_PARTS_FIELD_TITLE: &str = "Street";

/// The description of the field.
pub(crate) const FORM_PARTS_FIELD_DESCRIPTION: &str = "The street the parcel is taken to.";

/// The error of the field.
pub(crate) const FORM_PARTS_FIELD_ERROR: &str = "The street is required.";

/// The text on the separator inside the field group.
pub(crate) const FORM_PARTS_FIELD_SEPARATOR: &str = "Or";

/// The title of the empty state.
pub(crate) const FORM_PARTS_EMPTY_TITLE: &str = "No parcels yet";

/// The description of the empty state.
pub(crate) const FORM_PARTS_EMPTY_DESCRIPTION: &str = "Nothing is on its way to the door.";

/// The action of the empty state.
pub(crate) const FORM_PARTS_EMPTY_ACTION: &str = "Add a parcel";

/// The body of the message.
pub(crate) const FORM_PARTS_MESSAGE_BODY: &str = "The parcel left the depot.";

/// The keys shown inside the key group.
pub(crate) const FORM_PARTS_KBD: &str = "Ctrl K";

/// The label of the menubar entry.
pub(crate) const FORM_PARTS_MENUBAR_LABEL: &str = "File";
/// Stable ID linking the menu-parts trigger to its content.
pub(crate) const FORM_PARTS_MENUBAR_TRIGGER_ID: &str = "forms-parts-menubar-file";

/// The label of the group inside the menubar.
pub(crate) const FORM_PARTS_MENUBAR_GROUP: &str = "Recent";

/// The text of the item inside the menubar.
pub(crate) const FORM_PARTS_MENUBAR_ITEM: &str = "Open";

/// The keys shown beside the menubar item.
pub(crate) const FORM_PARTS_MENUBAR_SHORTCUT: &str = "Ctrl O";

/// The text of the slide inside the carousel.
pub(crate) const FORM_PARTS_CAROUSEL_ITEM: &str = "One parcel, two stops";

/// The description of the first delivery slide.
pub(crate) const FORM_PARTS_CAROUSEL_FIRST_DESC: &str =
    "Tracking continues through each delivery stop.";

/// The title of the second delivery slide.
pub(crate) const FORM_PARTS_CAROUSEL_SECOND_TITLE: &str = "Signed at the door";

/// The description of the second delivery slide.
pub(crate) const FORM_PARTS_CAROUSEL_SECOND_DESC: &str = "The recipient confirms arrival.";

/// The title of the third delivery slide.
pub(crate) const FORM_PARTS_CAROUSEL_THIRD_TITLE: &str = "Return route";

/// The description of the third delivery slide.
pub(crate) const FORM_PARTS_CAROUSEL_THIRD_DESC: &str = "A parcel can return to its sender.";

/// The id of the field that shows the composable parts.
pub(crate) const FORM_PARTS_FIELD_ID: &str = "form-parts-field";

/// The label of the chip inside the combobox chip row.
pub(crate) const FORM_PARTS_CHIP_LABEL: &str = "Parcel";

/// The placeholder of the input inside the combobox chip row.
pub(crate) const FORM_PARTS_CHIP_INPUT: &str = "Add a parcel";

pub(crate) const FORM_PARTS_FIELD_LABEL: &str = "Address";

pub(crate) const FORM_PARTS_SIDEBAR_HEADER: &str = "Shipments";

pub(crate) const FORM_PARTS_SIDEBAR_GROUP: &str = "Recent";

pub(crate) const FORM_PARTS_SIDEBAR_ITEM: &str = "Dashboard";

pub(crate) const FORM_PARTS_TOAST_TITLE: &str = "Parcel delivered";

pub(crate) const FORM_PARTS_TOAST_DESCRIPTION: &str = "The parcel reached the door.";

pub(crate) const FORM_PARTS_TOAST_CLOSE: &str = "Close";

pub(crate) const FORM_PARTS_CHART_ID: &str = "chart-parcel";

pub(crate) const FORM_PARTS_DIRECTION: &str = "Left to right";

pub(crate) const FORM_PARTS_SIDEBAR_SECOND_ITEM: &str = "Shipments";

pub(crate) const FORM_PARTS_SIDEBAR_THIRD_ITEM: &str = "Parcels";