@alfadocs/ui-kit 0.11.0 → 0.13.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 (74) hide show
  1. package/dist/_chunks/_commonjsHelpers-C6fGbg64.js +7 -0
  2. package/dist/_chunks/{ai-prompt-input-bAJwYu84.js → ai-prompt-input-DEiQwIMn.js} +22 -21
  3. package/dist/_chunks/{audio-recorder-BHBonrFf.js → audio-recorder-CRh4uyFL.js} +2 -2
  4. package/dist/_chunks/{autocomplete-C34hbfKh.js → autocomplete-mOg7WLOh.js} +2 -2
  5. package/dist/_chunks/{chat-input-Bov-gkwP.js → chat-input-UK-bXU7u.js} +9 -8
  6. package/dist/_chunks/{combobox-BHhnR3qm.js → combobox-D5tWe0t_.js} +2 -2
  7. package/dist/_chunks/{contact-card-VJIUqKB2.js → contact-card-DTQUMetD.js} +22 -38
  8. package/dist/_chunks/{date-picker-BD5FYW08.js → date-picker-BlhtBhPo.js} +2 -2
  9. package/dist/_chunks/{date-range-picker-BZLVgcXE.js → date-range-picker-C2hRu_Ke.js} +2 -2
  10. package/dist/_chunks/{date-time-picker-CCoRWX7R.js → date-time-picker-B67mPZmP.js} +2 -2
  11. package/dist/_chunks/external-link-C6F25E6k.js +16 -0
  12. package/dist/_chunks/{file-upload-DIecAfC-.js → file-upload-nMh-1jDD.js} +2 -2
  13. package/dist/_chunks/{index-CeY1nNvd.js → index-CFoBa86t.js} +61 -63
  14. package/dist/_chunks/{input-surface-u4QB0lxe.js → input-surface-xyERuLU_.js} +9 -3
  15. package/dist/_chunks/{leo-sidebar-B054wsZm.js → leo-sidebar-D3TuyH5_.js} +2 -2
  16. package/dist/_chunks/{link-BGpwaFik.js → link-DmM5IevO.js} +16 -26
  17. package/dist/_chunks/map-pin-B8STOPMJ.js +21 -0
  18. package/dist/_chunks/map-view-Dd48BxVB.js +1941 -0
  19. package/dist/_chunks/{multi-select-Bh-xR8kP.js → multi-select-DooDzQIp.js} +2 -2
  20. package/dist/_chunks/{number-input-mpSLk-ld.js → number-input-DH00o0DN.js} +28 -27
  21. package/dist/_chunks/{otp-input-CI-Zv5q6.js → otp-input-BBXYvLx5.js} +49 -48
  22. package/dist/_chunks/{phone-input-DtBVs5fz.js → phone-input-DKSHX7NQ.js} +23 -22
  23. package/dist/_chunks/{react-day-picker-C04L_28V.js → react-day-picker-C5F3-TTX.js} +6 -3
  24. package/dist/_chunks/{search-bar-DmZZ9UvV.js → search-bar-DORSAzNt.js} +2 -2
  25. package/dist/_chunks/{search-input-BBtSRH-Q.js → search-input-BtEJAJHa.js} +2 -2
  26. package/dist/_chunks/{select-i9MwQeQy.js → select-Ca6ibiDL.js} +13 -12
  27. package/dist/_chunks/{tabs-Cg794H0Q.js → tabs-CRCyPpJo.js} +2 -2
  28. package/dist/_chunks/{text-area-DHtcpcLv.js → text-area-D5GAe8pV.js} +26 -25
  29. package/dist/_chunks/{text-input-1oqFRbVI.js → text-input-CakysYnD.js} +26 -25
  30. package/dist/_chunks/{transcript-panel-BpJqPr7I.js → transcript-panel-DUrjx5sa.js} +2 -2
  31. package/dist/_chunks/{use-password-requirements-DbPZMfV9.js → use-password-requirements-BOgFsoIe.js} +2 -2
  32. package/dist/_chunks/whatsapp-button-Bj5FIhpC.js +175 -0
  33. package/dist/agent-catalog.json +53 -1
  34. package/dist/components/ai-prompt-input/index.js +1 -1
  35. package/dist/components/audio-recorder/index.js +1 -1
  36. package/dist/components/autocomplete/index.js +1 -1
  37. package/dist/components/chat-input/index.js +1 -1
  38. package/dist/components/combobox/index.js +1 -1
  39. package/dist/components/contact-card/index.js +1 -1
  40. package/dist/components/date-picker/index.js +1 -1
  41. package/dist/components/date-range-picker/index.js +1 -1
  42. package/dist/components/date-time-picker/index.js +1 -1
  43. package/dist/components/file-upload/index.js +1 -1
  44. package/dist/components/index.d.ts +2 -0
  45. package/dist/components/link/index.js +1 -1
  46. package/dist/components/map-view/index.d.ts +3 -0
  47. package/dist/components/map-view/index.js +5 -0
  48. package/dist/components/map-view/map-view.agent.d.ts +4 -0
  49. package/dist/components/map-view/map-view.d.ts +78 -0
  50. package/dist/components/multi-select/index.js +1 -1
  51. package/dist/components/number-input/index.js +1 -1
  52. package/dist/components/otp-input/index.js +1 -1
  53. package/dist/components/password-input/index.js +1 -1
  54. package/dist/components/phone-input/index.js +1 -1
  55. package/dist/components/search-bar/index.js +1 -1
  56. package/dist/components/search-input/index.js +1 -1
  57. package/dist/components/select/index.js +1 -1
  58. package/dist/components/tabs/index.js +1 -1
  59. package/dist/components/text-area/index.js +1 -1
  60. package/dist/components/text-input/index.js +1 -1
  61. package/dist/components/transcript-panel/index.js +1 -1
  62. package/dist/components/whatsapp-button/index.d.ts +3 -0
  63. package/dist/components/whatsapp-button/index.js +5 -0
  64. package/dist/components/whatsapp-button/whatsapp-button.d.ts +32 -0
  65. package/dist/i18n/config.js +45 -6
  66. package/dist/i18n/resources.d.ts +39 -0
  67. package/dist/index.js +361 -357
  68. package/dist/locales/de.json +13 -0
  69. package/dist/locales/en.json +13 -0
  70. package/dist/locales/it.json +13 -0
  71. package/dist/patterns/leo-assistant/index.js +1 -1
  72. package/dist/tokens/google-maps-theme.d.ts +15 -0
  73. package/dist/tokens.css +1 -1
  74. package/package.json +15 -1
@@ -810,6 +810,19 @@
810
810
  "error": "PDF konnte nicht geladen werden",
811
811
  "pageOverlay": "Seitenoverlay {{page}}"
812
812
  },
813
+ "mapView": {
814
+ "label": "Karte",
815
+ "markerLabel": "Markierung für {{label}}",
816
+ "consentTitle": "Interaktive Karte anzeigen",
817
+ "consentDescription": "Beim Laden der Karte wird Ihre IP-Adresse an Google übermittelt, um die Kartenkacheln zu laden. Fortfahren?",
818
+ "consentCta": "Karte laden",
819
+ "openInGoogleMaps": "In Google Maps öffnen"
820
+ },
821
+ "whatsApp": {
822
+ "label": "Auf WhatsApp schreiben",
823
+ "fabLabel": "WhatsApp-Chat öffnen",
824
+ "questionPrompt": "Fragen? Auf WhatsApp schreiben"
825
+ },
813
826
  "paywall": {
814
827
  "title": "Upgraden, um fortzufahren",
815
828
  "description": "Sie haben das Limit des kostenlosen Tarifs erreicht. Wählen Sie einen Tarif, um fortzufahren.",
@@ -841,6 +841,19 @@
841
841
  "error": "Failed to load PDF",
842
842
  "pageOverlay": "Page {{page}} overlay"
843
843
  },
844
+ "mapView": {
845
+ "label": "Map",
846
+ "markerLabel": "Marker for {{label}}",
847
+ "consentTitle": "Show interactive map",
848
+ "consentDescription": "Loading the map shares your IP address with Google so it can serve map tiles. Continue?",
849
+ "consentCta": "Load map",
850
+ "openInGoogleMaps": "Open in Google Maps"
851
+ },
852
+ "whatsApp": {
853
+ "label": "Chat on WhatsApp",
854
+ "fabLabel": "Open WhatsApp chat",
855
+ "questionPrompt": "Have questions? Chat on WhatsApp"
856
+ },
844
857
  "paywall": {
845
858
  "title": "Upgrade to keep going",
846
859
  "description": "You've reached your free-tier limit. Choose a plan to continue.",
@@ -810,6 +810,19 @@
810
810
  "error": "Impossibile caricare il PDF",
811
811
  "pageOverlay": "Overlay pagina {{page}}"
812
812
  },
813
+ "mapView": {
814
+ "label": "Mappa",
815
+ "markerLabel": "Indicatore per {{label}}",
816
+ "consentTitle": "Mostra mappa interattiva",
817
+ "consentDescription": "Caricando la mappa il tuo indirizzo IP verrà condiviso con Google per ricevere le tile della mappa. Vuoi continuare?",
818
+ "consentCta": "Carica mappa",
819
+ "openInGoogleMaps": "Apri in Google Maps"
820
+ },
821
+ "whatsApp": {
822
+ "label": "Scrivici su WhatsApp",
823
+ "fabLabel": "Apri chat WhatsApp",
824
+ "questionPrompt": "Hai domande? Scrivici su WhatsApp"
825
+ },
813
826
  "paywall": {
814
827
  "title": "Esegui l'upgrade per continuare",
815
828
  "description": "Hai raggiunto il limite del piano gratuito. Scegli un piano per continuare.",
@@ -1,4 +1,4 @@
1
- import { L as o, a as L, b as d, c as r } from "../../_chunks/leo-sidebar-B054wsZm.js";
1
+ import { L as o, a as L, b as d, c as r } from "../../_chunks/leo-sidebar-D3TuyH5_.js";
2
2
  export {
3
3
  o as LeoChatSurface,
4
4
  L as LeoEmbedded,
@@ -0,0 +1,15 @@
1
+ export interface GoogleMapsStyle {
2
+ featureType?: string;
3
+ elementType?: string;
4
+ stylers: Array<Record<string, string | number | boolean>>;
5
+ }
6
+ /**
7
+ * Build the MapTypeStyle array for the active theme.
8
+ *
9
+ * Re-call this whenever `documentElement.class` mutates (theme change)
10
+ * — the rendered map will update on the next `Map` re-render. The
11
+ * `MapView` component wires the MutationObserver and passes the
12
+ * refreshed array down via the `styles` prop.
13
+ */
14
+ export declare function getGoogleMapsTheme(): GoogleMapsStyle[];
15
+ //# sourceMappingURL=google-maps-theme.d.ts.map