@alfadocs/ui-kit 0.10.0 → 0.12.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.
- package/dist/_chunks/_commonjsHelpers-C6fGbg64.js +7 -0
- package/dist/_chunks/{ai-prompt-input-bAJwYu84.js → ai-prompt-input-noh-N3cf.js} +2 -2
- package/dist/_chunks/{contact-card-VJIUqKB2.js → contact-card-DTQUMetD.js} +22 -38
- package/dist/_chunks/external-link-C6F25E6k.js +16 -0
- package/dist/_chunks/{file-upload-DIecAfC-.js → file-upload-nMh-1jDD.js} +2 -2
- package/dist/_chunks/{index-CeY1nNvd.js → index-CFoBa86t.js} +61 -63
- package/dist/_chunks/{link-BGpwaFik.js → link-DmM5IevO.js} +16 -26
- package/dist/_chunks/map-pin-B8STOPMJ.js +21 -0
- package/dist/_chunks/map-view-Dd48BxVB.js +1941 -0
- package/dist/_chunks/{pdf-viewer-CNETPubN.js → pdf-viewer-CnEJvmXC.js} +407 -382
- package/dist/_chunks/whatsapp-button-Bj5FIhpC.js +175 -0
- package/dist/agent-catalog.json +53 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/link/index.js +1 -1
- package/dist/components/map-view/index.d.ts +3 -0
- package/dist/components/map-view/index.js +5 -0
- package/dist/components/map-view/map-view.agent.d.ts +4 -0
- package/dist/components/map-view/map-view.d.ts +78 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +62 -0
- package/dist/components/whatsapp-button/index.d.ts +3 -0
- package/dist/components/whatsapp-button/index.js +5 -0
- package/dist/components/whatsapp-button/whatsapp-button.d.ts +32 -0
- package/dist/i18n/config.js +47 -5
- package/dist/i18n/resources.d.ts +42 -0
- package/dist/index.js +348 -344
- package/dist/locales/de.json +15 -1
- package/dist/locales/en.json +15 -1
- package/dist/locales/it.json +15 -1
- package/dist/tokens/google-maps-theme.d.ts +15 -0
- package/dist/tokens.css +1 -1
- package/package.json +15 -1
package/dist/locales/de.json
CHANGED
|
@@ -807,7 +807,21 @@
|
|
|
807
807
|
"print": "Drucken",
|
|
808
808
|
"download": "Herunterladen",
|
|
809
809
|
"loading": "PDF wird geladen …",
|
|
810
|
-
"error": "PDF konnte nicht geladen werden"
|
|
810
|
+
"error": "PDF konnte nicht geladen werden",
|
|
811
|
+
"pageOverlay": "Seitenoverlay {{page}}"
|
|
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"
|
|
811
825
|
},
|
|
812
826
|
"paywall": {
|
|
813
827
|
"title": "Upgraden, um fortzufahren",
|
package/dist/locales/en.json
CHANGED
|
@@ -838,7 +838,21 @@
|
|
|
838
838
|
"print": "Print",
|
|
839
839
|
"download": "Download",
|
|
840
840
|
"loading": "Loading PDF…",
|
|
841
|
-
"error": "Failed to load PDF"
|
|
841
|
+
"error": "Failed to load PDF",
|
|
842
|
+
"pageOverlay": "Page {{page}} overlay"
|
|
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"
|
|
842
856
|
},
|
|
843
857
|
"paywall": {
|
|
844
858
|
"title": "Upgrade to keep going",
|
package/dist/locales/it.json
CHANGED
|
@@ -807,7 +807,21 @@
|
|
|
807
807
|
"print": "Stampa",
|
|
808
808
|
"download": "Scarica",
|
|
809
809
|
"loading": "Caricamento PDF…",
|
|
810
|
-
"error": "Impossibile caricare il PDF"
|
|
810
|
+
"error": "Impossibile caricare il PDF",
|
|
811
|
+
"pageOverlay": "Overlay pagina {{page}}"
|
|
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"
|
|
811
825
|
},
|
|
812
826
|
"paywall": {
|
|
813
827
|
"title": "Esegui l'upgrade per continuare",
|
|
@@ -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
|