accomadesc 0.1.29 → 0.1.32
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/PageComponent.svelte +2 -1
- package/dist/PageFooter.svelte +4 -2
- package/dist/PageFooter.svelte.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +6 -5
- package/package.json +6 -6
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
content,
|
|
25
25
|
nav,
|
|
26
26
|
showFooter = true,
|
|
27
|
+
footerRef = 'footer_html',
|
|
27
28
|
fixedHamburger = true,
|
|
28
29
|
navbarOverHamburger = true,
|
|
29
30
|
translateFunc,
|
|
@@ -146,7 +147,7 @@
|
|
|
146
147
|
|
|
147
148
|
{#if nav && showFooter}
|
|
148
149
|
<div class="footer-wrapper">
|
|
149
|
-
<PageFooter {nav} {translateFunc} {currentLang} />
|
|
150
|
+
<PageFooter {nav} ref={footerRef} {translateFunc} {currentLang} />
|
|
150
151
|
</div>
|
|
151
152
|
{/if}
|
|
152
153
|
|
package/dist/PageFooter.svelte
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import type { Nav, I18nFacade } from './types.js';
|
|
3
3
|
import NavItem from './NavItem.svelte';
|
|
4
4
|
|
|
5
|
-
let { nav, translateFunc, currentLang }: { nav: Nav } & I18nFacade = $props();
|
|
5
|
+
let { nav, ref, translateFunc, currentLang }: { nav: Nav; ref?: string } & I18nFacade = $props();
|
|
6
|
+
|
|
7
|
+
const contentRef = ref ?? 'footer_html';
|
|
6
8
|
</script>
|
|
7
9
|
|
|
8
10
|
<footer>
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
{/each}
|
|
15
17
|
</div>
|
|
16
18
|
<div class="content">
|
|
17
|
-
{@html translateFunc ? translateFunc(
|
|
19
|
+
{@html translateFunc ? translateFunc(contentRef) : ''}
|
|
18
20
|
</div>
|
|
19
21
|
</footer>
|
|
20
22
|
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ import Text from './Text.svelte';
|
|
|
24
24
|
import Weather from './Weather.svelte';
|
|
25
25
|
import PageComponent from './PageComponent.svelte';
|
|
26
26
|
export type { OccuplanTranslations } from './occuplan/state.svelte.ts';
|
|
27
|
-
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, CalendarGrid as CalendarGridI, CalendarGridContent, CalendarRows as CalendarRowsI, CalendarRowsContent, Text as TextI, TextContent, Weather as WeatherI, WeatherContent, Photo as PhotoI, PhotoContent, PhotoGallery as PhotoGalleryI, PhotoGalleryContent, Pricing as PricingI, PricingContent, PricingShort as PricingShortI, PricingShortContent, PricingEntry, PricingRange, PricingColumn, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, ContactForm as ContactFormI, ContactFormContent, BookingRequest as BookingRequestI, BookingRequestContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, Block, PageProps, Nav as NavI, FormatSpec, FormatTemplateName, SiteConfig, LangConfig, SiteFonts, SiteTranslation, FontSpec, Hero, } from './types.js';
|
|
27
|
+
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, CalendarGrid as CalendarGridI, CalendarGridContent, CalendarRows as CalendarRowsI, CalendarRowsContent, Text as TextI, TextContent, Weather as WeatherI, WeatherContent, Photo as PhotoI, PhotoContent, PhotoGallery as PhotoGalleryI, PhotoGalleryContent, Pricing as PricingI, PricingContent, PricingShort as PricingShortI, PricingShortContent, PricingEntry, PricingRange, PricingColumn, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, ContactForm as ContactFormI, ContactFormContent, BookingRequest as BookingRequestI, BookingRequestContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, Block, PageProps, Nav as NavI, FormatSpec, FormatTemplateName, SiteConfig, LangConfig, CookieConfig, SiteFonts, SiteTranslation, FontSpec, Hero, } from './types.js';
|
|
28
28
|
export { PRICING_COLUMNS, isAccoCard, isText, isPhoto, isGallery, isLeafletMap, isWeather, isAmenitiesCore, isCalendarAvailable, isCalendar, isCalendarGrid, isCalendarRows, isPricing, isPricingShort, isAccoDescription, isBookingRequest, isContactForm, } from './types.js';
|
|
29
29
|
export { randomID, randomName, Avatar, Button, Icon, Spinner, TextInput, AccoCard, AccoDescription, AmenitiesCore, Calendar, CalendarAvailable, LeafletMap, Photo, PhotoGallery, Pricing, PricingShort, Section, Text, Weather, BookingRequest, ContactForm, CalendarRows, CalendarGrid, Notes, PageComponent, };
|
package/dist/types.d.ts
CHANGED
|
@@ -310,15 +310,16 @@ export interface SiteFonts {
|
|
|
310
310
|
landingTitle: FontSpec;
|
|
311
311
|
header: FontSpec;
|
|
312
312
|
}
|
|
313
|
+
export interface CookieConfig {
|
|
314
|
+
types: CookieType[];
|
|
315
|
+
showIcon: boolean;
|
|
316
|
+
}
|
|
313
317
|
export interface SiteConfig {
|
|
314
318
|
settings: {
|
|
315
319
|
ACCOMADE_USER_ID: string;
|
|
316
320
|
PUBLIC_SUPABASE_URL: string;
|
|
317
321
|
};
|
|
318
|
-
cookies:
|
|
319
|
-
types: CookieType[];
|
|
320
|
-
showIcon: boolean;
|
|
321
|
-
};
|
|
322
|
+
cookies: CookieConfig;
|
|
322
323
|
fonts: SiteFonts;
|
|
323
324
|
nav: Nav;
|
|
324
325
|
pages: {
|
|
@@ -340,6 +341,7 @@ export interface PageProps {
|
|
|
340
341
|
logoLink?: string;
|
|
341
342
|
header?: string;
|
|
342
343
|
showFooter?: boolean;
|
|
344
|
+
footerRef?: string;
|
|
343
345
|
fixedHamburger?: boolean;
|
|
344
346
|
navbarOverHamburger?: boolean;
|
|
345
347
|
content?: Section[];
|
|
@@ -362,7 +364,6 @@ export interface Hero {
|
|
|
362
364
|
export interface Section {
|
|
363
365
|
id: string;
|
|
364
366
|
header?: string;
|
|
365
|
-
translatedHeader?: string;
|
|
366
367
|
columnCount?: number;
|
|
367
368
|
padding?: string;
|
|
368
369
|
maxWidth?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accomadesc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run package",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
41
|
-
"@sveltejs/kit": "^2.17.
|
|
41
|
+
"@sveltejs/kit": "^2.17.2",
|
|
42
42
|
"@sveltejs/package": "^2.3.10",
|
|
43
43
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
44
44
|
"@types/luxon": "^3.4.2",
|
|
45
45
|
"gdpr-cooco-banner": "^0.0.11",
|
|
46
|
-
"prettier": "^3.
|
|
46
|
+
"prettier": "^3.5.1",
|
|
47
47
|
"prettier-plugin-svelte": "^3.3.3",
|
|
48
|
-
"publint": "^0.3.
|
|
49
|
-
"svelte": "^5.
|
|
48
|
+
"publint": "^0.3.5",
|
|
49
|
+
"svelte": "^5.20.1",
|
|
50
50
|
"svelte-check": "^4.1.4",
|
|
51
51
|
"typescript": "^5.7.3",
|
|
52
52
|
"vite": "^6.1.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@dinero.js/currencies": "2.0.0-alpha.14",
|
|
57
57
|
"@fontsource/raleway": "^5.1.1",
|
|
58
|
-
"@twicpics/components": "^0.31.
|
|
58
|
+
"@twicpics/components": "^0.31.4",
|
|
59
59
|
"@types/leaflet": "^1.9.16",
|
|
60
60
|
"dinero.js": "2.0.0-alpha.14",
|
|
61
61
|
"leaflet": "^1.9.4",
|