@alfadocs/ui-kit 0.21.0 → 0.24.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 (70) hide show
  1. package/dist/_chunks/{autocomplete-BxfabhZ8.js → autocomplete-C7xq06bP.js} +40 -40
  2. package/dist/_chunks/editable-currency-cell-renderer-DJB5MxAI.js +2349 -0
  3. package/dist/_chunks/locale-picker-CYBhgSHR.js +575 -0
  4. package/dist/_chunks/{patient-shell-DavGODt9.js → patient-shell-B164drIa.js} +40 -55
  5. package/dist/_chunks/settings-ca2Yi9R8.js +21 -0
  6. package/dist/_chunks/sun-Eweh5fvi.js +50 -0
  7. package/dist/_chunks/{theme-toggle-BswYl0Yp.js → theme-toggle-FrotC2VI.js} +85 -127
  8. package/dist/_chunks/use-locale-BkCIHujH.js +20 -0
  9. package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +55 -0
  10. package/dist/_chunks/{whatsapp-button-CtlLwM3M.js → whatsapp-button-DUjlWGKf.js} +26 -25
  11. package/dist/agent-catalog.json +59 -1
  12. package/dist/components/autocomplete/index.js +1 -1
  13. package/dist/components/data-table/filters/number-filter.d.ts +56 -0
  14. package/dist/components/data-table/filters/text-filter.d.ts +49 -0
  15. package/dist/components/data-table/index.d.ts +4 -0
  16. package/dist/components/data-table/index.js +25 -21
  17. package/dist/components/header-settings/index.js +205 -0
  18. package/dist/components/locale-picker/index.js +7 -0
  19. package/dist/components/theme-toggle/index.js +1 -1
  20. package/dist/components/whatsapp-button/index.js +1 -1
  21. package/dist/components/whatsapp-button/whatsapp-button.d.ts +14 -1
  22. package/dist/fonts/Lexend-VF-latin-ext.woff2 +0 -0
  23. package/dist/fonts/Lexend-VF-latin.woff2 +0 -0
  24. package/dist/fonts/Lexend-VF-vietnamese.woff2 +0 -0
  25. package/dist/fonts/NotoSansArabic-VF-arabic.woff2 +0 -0
  26. package/dist/fonts/NotoSansDevanagari-VF-devanagari.woff2 +0 -0
  27. package/dist/hooks/index.js +29 -28
  28. package/dist/i18n/config.d.ts +1 -1
  29. package/dist/i18n/config.js +20944 -2110
  30. package/dist/i18n/locales/ar.d.ts +1225 -0
  31. package/dist/i18n/locales/de.d.ts +1225 -0
  32. package/dist/i18n/locales/el.d.ts +1222 -0
  33. package/dist/i18n/locales/es.d.ts +1222 -0
  34. package/dist/i18n/locales/fr.d.ts +1222 -0
  35. package/dist/i18n/locales/hi.d.ts +1222 -0
  36. package/dist/i18n/locales/ja.d.ts +1222 -0
  37. package/dist/i18n/locales/nl.d.ts +1222 -0
  38. package/dist/i18n/locales/pl.d.ts +1222 -0
  39. package/dist/i18n/locales/pt.d.ts +1223 -0
  40. package/dist/i18n/locales/ro.d.ts +1222 -0
  41. package/dist/i18n/locales/ru.d.ts +1222 -0
  42. package/dist/i18n/locales/sq.d.ts +1222 -0
  43. package/dist/i18n/locales/sv.d.ts +1222 -0
  44. package/dist/i18n/locales/tr.d.ts +1222 -0
  45. package/dist/i18n/locales/zh.d.ts +1222 -0
  46. package/dist/i18n/resources.d.ts +342 -1040
  47. package/dist/index.js +512 -507
  48. package/dist/locales/ar.json +1217 -1
  49. package/dist/locales/de.json +207 -13
  50. package/dist/locales/el.json +1217 -0
  51. package/dist/locales/en.json +147 -3
  52. package/dist/locales/es.json +1217 -0
  53. package/dist/locales/fr.json +1217 -0
  54. package/dist/locales/hi.json +1217 -0
  55. package/dist/locales/it.json +178 -3
  56. package/dist/locales/ja.json +1217 -0
  57. package/dist/locales/nl.json +1217 -0
  58. package/dist/locales/pl.json +1217 -0
  59. package/dist/locales/pt.json +1217 -0
  60. package/dist/locales/ro.json +1217 -0
  61. package/dist/locales/ru.json +1217 -0
  62. package/dist/locales/sq.json +1217 -0
  63. package/dist/locales/sv.json +1217 -0
  64. package/dist/locales/tr.json +1217 -0
  65. package/dist/locales/zh.json +1217 -0
  66. package/dist/patterns/patient-shell/index.js +1 -1
  67. package/dist/tokens.css +2 -2
  68. package/package.json +13 -1
  69. package/dist/_chunks/editable-currency-cell-renderer-1t42gENX.js +0 -1972
  70. package/dist/_chunks/use-locale-C5rS3Xon.js +0 -71
@@ -90,6 +90,10 @@
90
90
  },
91
91
  "requirements": {
92
92
  "length_one": "At least {{count}} character",
93
+ "length_zero": "At least {{count}} characters",
94
+ "length_two": "At least {{count}} characters",
95
+ "length_few": "At least {{count}} characters",
96
+ "length_many": "At least {{count}} characters",
93
97
  "length_other": "At least {{count}} characters",
94
98
  "uppercase": "One uppercase letter",
95
99
  "lowercase": "One lowercase letter",
@@ -102,6 +106,8 @@
102
106
  },
103
107
  "textarea": {
104
108
  "charactersRemaining_one": "{{count}} character remaining",
109
+ "charactersRemaining_zero": "{{count}} characters remaining",
110
+ "charactersRemaining_two": "{{count}} characters remaining",
105
111
  "charactersRemaining_few": "{{count}} characters remaining",
106
112
  "charactersRemaining_many": "{{count}} characters remaining",
107
113
  "charactersRemaining_other": "{{count}} characters remaining"
@@ -133,8 +139,10 @@
133
139
  "minReached": "Minimum of {{min}} selections reached",
134
140
  "maxReached": "Maximum of {{max}} selections reached",
135
141
  "counter_one": "{{count}} of {{total}} selected",
136
- "counter_other": "{{count}} of {{total}} selected",
142
+ "counter_zero": "{{count}} of {{total}} selected",
143
+ "counter_two": "{{count}} of {{total}} selected",
137
144
  "counter_few": "{{count}} of {{total}} selected",
145
+ "counter_other": "{{count}} of {{total}} selected",
138
146
  "counter_many": "{{count}} of {{total}} selected"
139
147
  },
140
148
  "multiSelect": {
@@ -147,14 +155,20 @@
147
155
  "overflow": "+{{count}} more",
148
156
  "selected_zero": "{{count}} selected",
149
157
  "selected_one": "{{count}} selected",
158
+ "selected_two": "{{count}} selected",
159
+ "selected_few": "{{count}} selected",
160
+ "selected_many": "{{count}} selected",
150
161
  "selected_other": "{{count}} selected"
151
162
  },
152
163
  "autocomplete": {
164
+ "ariaLabel": "Search",
153
165
  "recent": "Recent",
154
166
  "noResults": "No results",
155
167
  "results_one": "{{count}} result",
156
- "results_other": "{{count}} results",
168
+ "results_zero": "{{count}} results",
169
+ "results_two": "{{count}} results",
157
170
  "results_few": "{{count}} results",
171
+ "results_other": "{{count}} results",
158
172
  "results_many": "{{count}} results"
159
173
  },
160
174
  "phone": {
@@ -206,8 +220,10 @@
206
220
  "placeholder": "Select date range",
207
221
  "rangeSummary": "{{from}} to {{to}}, {{count}} day(s)",
208
222
  "days_one": "{{count}} day",
209
- "days_other": "{{count}} days",
223
+ "days_zero": "{{count}} days",
224
+ "days_two": "{{count}} days",
210
225
  "days_few": "{{count}} days",
226
+ "days_other": "{{count}} days",
211
227
  "days_many": "{{count}} days",
212
228
  "presets": {
213
229
  "today": "Today",
@@ -296,6 +312,10 @@
296
312
  },
297
313
  "badge": {
298
314
  "notifications_one": "{{count}} notification",
315
+ "notifications_zero": "{{count}} notifications",
316
+ "notifications_two": "{{count}} notifications",
317
+ "notifications_few": "{{count}} notifications",
318
+ "notifications_many": "{{count}} notifications",
299
319
  "notifications_other": "{{count}} notifications",
300
320
  "variant": {
301
321
  "neutral": "Neutral",
@@ -331,6 +351,10 @@
331
351
  },
332
352
  "dataTable": {
333
353
  "selected_one": "{{count}} row selected",
354
+ "selected_zero": "{{count}} rows selected",
355
+ "selected_two": "{{count}} rows selected",
356
+ "selected_few": "{{count}} rows selected",
357
+ "selected_many": "{{count}} rows selected",
334
358
  "selected_other": "{{count}} rows selected",
335
359
  "exportCsv": "Export CSV",
336
360
  "exportPdf": "Export PDF",
@@ -402,6 +426,36 @@
402
426
  "typeaheadFilter": {
403
427
  "placeholder": "Search…",
404
428
  "clear": "Clear"
429
+ },
430
+ "textFilter": {
431
+ "placeholder": "Search…",
432
+ "clear": "Clear",
433
+ "apply": "Apply",
434
+ "operators": {
435
+ "contains": "Contains",
436
+ "notContains": "Does not contain",
437
+ "equals": "Equals",
438
+ "startsWith": "Starts with",
439
+ "endsWith": "Ends with"
440
+ }
441
+ },
442
+ "numberFilter": {
443
+ "placeholder": "Filter…",
444
+ "from": "From",
445
+ "to": "To",
446
+ "clear": "Clear",
447
+ "apply": "Apply",
448
+ "operators": {
449
+ "equals": "Equals",
450
+ "notEqual": "Not equal",
451
+ "greaterThan": "Greater than",
452
+ "greaterThanOrEqual": "Greater than or equal",
453
+ "lessThan": "Less than",
454
+ "lessThanOrEqual": "Less than or equal",
455
+ "inRange": "In range",
456
+ "blank": "Blank",
457
+ "notBlank": "Not blank"
458
+ }
405
459
  }
406
460
  },
407
461
  "emptyState": {
@@ -426,6 +480,10 @@
426
480
  "rating": {
427
481
  "label": "{{value}} out of {{max}} stars",
428
482
  "reviews_one": "{{value}} stars · 1 review",
483
+ "reviews_zero": "{{value}} stars · {{count}} reviews",
484
+ "reviews_two": "{{value}} stars · {{count}} reviews",
485
+ "reviews_few": "{{value}} stars · {{count}} reviews",
486
+ "reviews_many": "{{value}} stars · {{count}} reviews",
429
487
  "reviews_other": "{{value}} stars · {{count}} reviews"
430
488
  },
431
489
  "sparkline": {
@@ -454,6 +512,10 @@
454
512
  "notificationTray": {
455
513
  "ariaLabel": "Notifications",
456
514
  "triggerLabel_one": "Notifications, {{count}} unread",
515
+ "triggerLabel_zero": "Notifications, {{count}} unread",
516
+ "triggerLabel_two": "Notifications, {{count}} unread",
517
+ "triggerLabel_few": "Notifications, {{count}} unread",
518
+ "triggerLabel_many": "Notifications, {{count}} unread",
457
519
  "triggerLabel_other": "Notifications, {{count}} unread",
458
520
  "triggerLabelNone": "Notifications, none unread",
459
521
  "panelTitle": "Notifications",
@@ -474,6 +536,10 @@
474
536
  "messageTray": {
475
537
  "ariaLabel": "Messages",
476
538
  "triggerLabel_one": "Messages, {{count}} unread",
539
+ "triggerLabel_zero": "Messages, {{count}} unread",
540
+ "triggerLabel_two": "Messages, {{count}} unread",
541
+ "triggerLabel_few": "Messages, {{count}} unread",
542
+ "triggerLabel_many": "Messages, {{count}} unread",
477
543
  "triggerLabel_other": "Messages, {{count}} unread",
478
544
  "triggerLabelNone": "Messages, none unread",
479
545
  "panelTitle": "Messages",
@@ -492,6 +558,10 @@
492
558
  "subjectFragment": " — {{subject}}",
493
559
  "unreadSuffix": ", unread",
494
560
  "threadCount_one": "{{count}} new message in thread",
561
+ "threadCount_zero": "{{count}} new messages in thread",
562
+ "threadCount_two": "{{count}} new messages in thread",
563
+ "threadCount_few": "{{count}} new messages in thread",
564
+ "threadCount_many": "{{count}} new messages in thread",
495
565
  "threadCount_other": "{{count}} new messages in thread"
496
566
  },
497
567
  "taskCard": {
@@ -525,8 +595,16 @@
525
595
  "regionLabel": "Warnings",
526
596
  "listLabel": "Warning list",
527
597
  "countChanged_one": "{{count}} warning to review",
598
+ "countChanged_zero": "{{count}} warnings to review",
599
+ "countChanged_two": "{{count}} warnings to review",
600
+ "countChanged_few": "{{count}} warnings to review",
601
+ "countChanged_many": "{{count}} warnings to review",
528
602
  "countChanged_other": "{{count}} warnings to review",
529
603
  "showMore_one": "Show {{count}} more warning",
604
+ "showMore_zero": "Show {{count}} more warnings",
605
+ "showMore_two": "Show {{count}} more warnings",
606
+ "showMore_few": "Show {{count}} more warnings",
607
+ "showMore_many": "Show {{count}} more warnings",
530
608
  "showMore_other": "Show {{count}} more warnings",
531
609
  "showLess": "Show less"
532
610
  },
@@ -626,6 +704,28 @@
626
704
  "on": "On",
627
705
  "off": "Off"
628
706
  }
707
+ },
708
+ "localePicker": {
709
+ "trigger": "Language settings (current: {{locale}})",
710
+ "popupLabel": "Select language",
711
+ "commandLabel": "Language list",
712
+ "searchPlaceholder": "Search languages…",
713
+ "searchLabel": "Search languages",
714
+ "empty": "No languages found",
715
+ "currentSelection": "Current selection"
716
+ },
717
+ "headerSettings": {
718
+ "trigger": "Settings",
719
+ "language": {
720
+ "label": "Language"
721
+ },
722
+ "appearance": {
723
+ "label": "Appearance",
724
+ "light": "Light",
725
+ "dark": "Dark",
726
+ "system": "System",
727
+ "accessible": "Accessible mode"
728
+ }
629
729
  }
630
730
  },
631
731
  "alia": {
@@ -636,6 +736,10 @@
636
736
  "close": "Close assistant",
637
737
  "open": "Open assistant",
638
738
  "unseenCount_one": "{{count}} new message",
739
+ "unseenCount_zero": "{{count}} new messages",
740
+ "unseenCount_two": "{{count}} new messages",
741
+ "unseenCount_few": "{{count}} new messages",
742
+ "unseenCount_many": "{{count}} new messages",
639
743
  "unseenCount_other": "{{count}} new messages",
640
744
  "usageLabel": "{{current}} of {{limit}} messages used",
641
745
  "usageLimitReached": "You have reached your message limit",
@@ -676,6 +780,10 @@
676
780
  "placeholder": "Type a message",
677
781
  "attach": "Attach file",
678
782
  "remaining_one": "{{count}} character remaining",
783
+ "remaining_zero": "{{count}} characters remaining",
784
+ "remaining_two": "{{count}} characters remaining",
785
+ "remaining_few": "{{count}} characters remaining",
786
+ "remaining_many": "{{count}} characters remaining",
679
787
  "remaining_other": "{{count}} characters remaining",
680
788
  "sendHint": "Press Ctrl + Enter to send"
681
789
  },
@@ -703,6 +811,10 @@
703
811
  "seekTo": "Jump to {{time}}",
704
812
  "speaker": "Speaker {{name}}",
705
813
  "matchCount_one": "{{count}} match",
814
+ "matchCount_zero": "{{count}} matches",
815
+ "matchCount_two": "{{count}} matches",
816
+ "matchCount_few": "{{count}} matches",
817
+ "matchCount_many": "{{count}} matches",
706
818
  "matchCount_other": "{{count}} matches",
707
819
  "noMatches": "No matches",
708
820
  "lowConfidence": "low confidence"
@@ -763,6 +875,10 @@
763
875
  "previousDays": "Previous days",
764
876
  "nextDays": "Next days",
765
877
  "showMore_one": "Show 1 more",
878
+ "showMore_zero": "Show {{count}} more",
879
+ "showMore_two": "Show {{count}} more",
880
+ "showMore_few": "Show {{count}} more",
881
+ "showMore_many": "Show {{count}} more",
766
882
  "showMore_other": "Show {{count}} more",
767
883
  "noSlots": "No slots available",
768
884
  "nextAvailable": "Next available",
@@ -948,12 +1064,28 @@
948
1064
  },
949
1065
  "delay": {
950
1066
  "summary_one": "Wait {{count}} day",
1067
+ "summary_zero": "Wait {{count}} days",
1068
+ "summary_two": "Wait {{count}} days",
1069
+ "summary_few": "Wait {{count}} days",
1070
+ "summary_many": "Wait {{count}} days",
951
1071
  "summary_other": "Wait {{count}} days",
952
1072
  "days_one": "{{count}} day",
1073
+ "days_zero": "{{count}} days",
1074
+ "days_two": "{{count}} days",
1075
+ "days_few": "{{count}} days",
1076
+ "days_many": "{{count}} days",
953
1077
  "days_other": "{{count}} days",
954
1078
  "hours_one": "{{count}} hour",
1079
+ "hours_zero": "{{count}} hours",
1080
+ "hours_two": "{{count}} hours",
1081
+ "hours_few": "{{count}} hours",
1082
+ "hours_many": "{{count}} hours",
955
1083
  "hours_other": "{{count}} hours",
956
1084
  "minutes_one": "{{count}} minute",
1085
+ "minutes_zero": "{{count}} minutes",
1086
+ "minutes_two": "{{count}} minutes",
1087
+ "minutes_few": "{{count}} minutes",
1088
+ "minutes_many": "{{count}} minutes",
957
1089
  "minutes_other": "{{count}} minutes"
958
1090
  },
959
1091
  "editor": {
@@ -969,6 +1101,10 @@
969
1101
  "empty": "Add your first action to start building the pipeline.",
970
1102
  "enrollmentCriteria": "Enrollment criteria",
971
1103
  "criteriaCount_one": "Based on {{count}} criterion",
1104
+ "criteriaCount_zero": "Based on {{count}} criteria",
1105
+ "criteriaCount_two": "Based on {{count}} criteria",
1106
+ "criteriaCount_few": "Based on {{count}} criteria",
1107
+ "criteriaCount_many": "Based on {{count}} criteria",
972
1108
  "criteriaCount_other": "Based on {{count}} criteria",
973
1109
  "noCriteria": "No enrollment criteria set",
974
1110
  "editCriteria": "Edit criteria",
@@ -979,6 +1115,10 @@
979
1115
  },
980
1116
  "map": {
981
1117
  "label_one": "Workflow pipeline with {{count}} step",
1118
+ "label_zero": "Workflow pipeline with {{count}} steps",
1119
+ "label_two": "Workflow pipeline with {{count}} steps",
1120
+ "label_few": "Workflow pipeline with {{count}} steps",
1121
+ "label_many": "Workflow pipeline with {{count}} steps",
982
1122
  "label_other": "Workflow pipeline with {{count}} steps",
983
1123
  "completed": "Completed",
984
1124
  "current": "Current step",
@@ -990,6 +1130,10 @@
990
1130
  "activeEnrollments": "Active enrollments",
991
1131
  "totalEnrollments": "Total enrollments",
992
1132
  "actions_one": "{{count}} action",
1133
+ "actions_zero": "{{count}} actions",
1134
+ "actions_two": "{{count}} actions",
1135
+ "actions_few": "{{count}} actions",
1136
+ "actions_many": "{{count}} actions",
993
1137
  "actions_other": "{{count}} actions",
994
1138
  "view": "View workflow",
995
1139
  "edit": "Edit workflow",