@alfadocs/ui-kit 1.107.0 → 1.109.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 (67) hide show
  1. package/dist/_chunks/{map-view-V7etHnyF.js → map-view-Dn7aXZJw.js} +187 -182
  2. package/dist/_chunks/{practice-results-BXz01sti.js → practice-results-BOpaPaav.js} +2 -2
  3. package/dist/_chunks/{signature-request-DtLph5Z4.js → signature-request-opW0fQ5P.js} +1032 -1016
  4. package/dist/agent-catalog.json +2 -2
  5. package/dist/agent-i18n/en.json +1 -1
  6. package/dist/components/map-view/index.js +1 -1
  7. package/dist/components/map-view/map-view.d.ts +8 -0
  8. package/dist/components/practice-results/index.js +1 -1
  9. package/dist/i18n/locales/ar.d.ts +2 -0
  10. package/dist/i18n/locales/ar.js +2 -0
  11. package/dist/i18n/locales/de.d.ts +2 -0
  12. package/dist/i18n/locales/de.js +2 -0
  13. package/dist/i18n/locales/el.d.ts +2 -0
  14. package/dist/i18n/locales/el.js +2 -0
  15. package/dist/i18n/locales/en.d.ts +2 -0
  16. package/dist/i18n/locales/en.js +2 -0
  17. package/dist/i18n/locales/es.d.ts +2 -0
  18. package/dist/i18n/locales/es.js +2 -0
  19. package/dist/i18n/locales/fr.d.ts +2 -0
  20. package/dist/i18n/locales/fr.js +2 -0
  21. package/dist/i18n/locales/hi.d.ts +2 -0
  22. package/dist/i18n/locales/hi.js +2 -0
  23. package/dist/i18n/locales/it.d.ts +2 -0
  24. package/dist/i18n/locales/it.js +2 -0
  25. package/dist/i18n/locales/ja.d.ts +2 -0
  26. package/dist/i18n/locales/ja.js +2 -0
  27. package/dist/i18n/locales/nl.d.ts +2 -0
  28. package/dist/i18n/locales/nl.js +2 -0
  29. package/dist/i18n/locales/pl.d.ts +2 -0
  30. package/dist/i18n/locales/pl.js +2 -0
  31. package/dist/i18n/locales/pt.d.ts +2 -0
  32. package/dist/i18n/locales/pt.js +2 -0
  33. package/dist/i18n/locales/ro.d.ts +2 -0
  34. package/dist/i18n/locales/ro.js +2 -0
  35. package/dist/i18n/locales/ru.d.ts +2 -0
  36. package/dist/i18n/locales/ru.js +2 -0
  37. package/dist/i18n/locales/sq.d.ts +2 -0
  38. package/dist/i18n/locales/sq.js +2 -0
  39. package/dist/i18n/locales/sv.d.ts +2 -0
  40. package/dist/i18n/locales/sv.js +2 -0
  41. package/dist/i18n/locales/tr.d.ts +2 -0
  42. package/dist/i18n/locales/tr.js +2 -0
  43. package/dist/i18n/locales/zh.d.ts +2 -0
  44. package/dist/i18n/locales/zh.js +2 -0
  45. package/dist/index.js +3 -3
  46. package/dist/locales/ar.json +2 -0
  47. package/dist/locales/de.json +2 -0
  48. package/dist/locales/el.json +2 -0
  49. package/dist/locales/en.json +2 -0
  50. package/dist/locales/es.json +2 -0
  51. package/dist/locales/fr.json +2 -0
  52. package/dist/locales/hi.json +2 -0
  53. package/dist/locales/it.json +2 -0
  54. package/dist/locales/ja.json +2 -0
  55. package/dist/locales/nl.json +2 -0
  56. package/dist/locales/pl.json +2 -0
  57. package/dist/locales/pt.json +2 -0
  58. package/dist/locales/ro.json +2 -0
  59. package/dist/locales/ru.json +2 -0
  60. package/dist/locales/sq.json +2 -0
  61. package/dist/locales/sv.json +2 -0
  62. package/dist/locales/tr.json +2 -0
  63. package/dist/locales/zh.json +2 -0
  64. package/dist/patterns/signature-request/index.js +1 -1
  65. package/dist/patterns/signature-request/required-documents.d.ts +7 -3
  66. package/dist/patterns/signature-request/signature-request.d.ts +27 -21
  67. package/package.json +1 -1
@@ -339,7 +339,8 @@ export interface SignatureRequestModalProps {
339
339
  /**
340
340
  * Cap on roster size. Default `2`. In required documents mode the roster
341
341
  * is the main signer plus at most one second signee, offered only when
342
- * the second signee rules allow it.
342
+ * the second signee rules allow it; `1` means none is on offer, so nothing
343
+ * about a second signee shows.
343
344
  */
344
345
  maxSigners?: number;
345
346
  /**
@@ -490,7 +491,9 @@ export interface SignatureRequestModalProps {
490
491
  requiredItems?: readonly RequiredSignatureItem[];
491
492
  /**
492
493
  * Shows required documents mode loading (skeleton rows). Also enters the
493
- * mode while `requiredItems` is still undefined.
494
+ * mode while `requiredItems` is still undefined. The form seeds from the
495
+ * `initial*` props when it ends, as with `loading`, so keep it on until
496
+ * `signerOptions` is in too. Not a request-in-flight state: use `busy`.
494
497
  */
495
498
  requiredItemsLoading?: boolean;
496
499
  /**
@@ -529,8 +532,9 @@ export interface SignatureRequestModalProps {
529
532
  * parent or guardian (see `isMinor`), in either form. Required documents
530
533
  * mode also shows it under the Patient signers heading while the patient
531
534
  * has no registered signee (no `signerOptions` entry without
532
- * `isPatient`), unless the warning already carries it. Hidden when
533
- * omitted.
535
+ * `isPatient`), unless the warning already carries it or
536
+ * `secondSigneeSlot` is on: the signer dropdowns then end with "New
537
+ * signatory". Hidden when omitted.
534
538
  */
535
539
  onAddSignee?: () => void;
536
540
  /**
@@ -560,26 +564,28 @@ export interface SignatureRequestModalProps {
560
564
  * (default): "Add signer" adds a roster row, up to `maxSigners`.
561
565
  * `'createSignee'`: "Add signatory" calls `onAddSignee`, so the host opens
562
566
  * its own create-signee page, as platform's button does. It shows while
563
- * `onAddSignee` is passed (and `secondSigneeSlot` is not in effect: in
564
- * request-form mode the slot overrides this prop for the heading
565
- * button), and the minor patient warning then has no
566
- * button of its own. Every signer dropdown also ends with "New
567
- * signatory", which calls `onAddSignee`.
567
+ * `onAddSignee` is passed (and `secondSigneeSlot` is not in effect: the
568
+ * slot overrides this prop for the heading button), and the minor patient
569
+ * warning then has no button of its own. Every signer dropdown also ends
570
+ * with "New signatory", which calls `onAddSignee`.
568
571
  */
569
572
  signerAddAction?: 'addRow' | 'createSignee';
570
573
  /**
571
- * Request form only, with `maxSigners` of 2 or more: platform's
572
- * secondary signee. While one can be seated (a registered signee is
573
- * the main signer and another is registered), "Add signer" beside the
574
- * heading opens a Second signee line offering registered signees only,
575
- * never the patient; its X takes the line away again. Every signer
576
- * dropdown ends with "New signatory", which calls `onAddSignee` (the
577
- * host's create-signee page). While the patient is the main signer a
578
- * visible line says why there is no second signee. A new main signer clears the second
579
- * signee, as on platform. A second signee who cannot receive the channel
580
- * shows a message under the row and blocks the request. Replaces "Add
581
- * signer". Pass `maxSigners: 1` when the document has no second
582
- * signature field. Default `false`.
574
+ * With `maxSigners` of 2 or more: platform's secondary signee. While one
575
+ * can be seated (a registered signee is the main signer and another is
576
+ * registered), "Add signer" beside the heading opens a Second signee line
577
+ * offering registered signees only, never the patient; its X takes the
578
+ * line away again. While none can be seated there is no button. Every
579
+ * signer dropdown ends with "New signatory", which calls `onAddSignee`
580
+ * (the host's create-signee page). While the patient is the main signer a
581
+ * visible line says why there is no second signee. A new main signer
582
+ * clears the second signee, as on platform. A second signee who cannot
583
+ * receive the channel shows a message under the row and blocks the
584
+ * request. Replaces "Add signer". Pass `maxSigners: 1` when the document
585
+ * has no second signature field, or the practice has no second signee:
586
+ * then nothing about one shows. Required documents mode adds its second
587
+ * signee rules: every item must carry one and the main signer must sign
588
+ * on this device, and a line says why while either fails. Default `false`.
583
589
  */
584
590
  secondSigneeSlot?: boolean;
585
591
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfadocs/ui-kit",
3
- "version": "1.107.0",
3
+ "version": "1.109.0",
4
4
  "type": "module",
5
5
  "description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
6
6
  "license": "BUSL-1.1",