accomadesc 0.1.18 → 0.1.20
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/index.d.ts +1 -1
- package/dist/types.d.ts +9 -8
- package/package.json +2 -2
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, SiteTranslation, FontSpec, } 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, SiteFonts, SiteTranslation, FontSpec, } 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
|
@@ -295,7 +295,14 @@ export declare const FORMAT_TEMPLATE_NAMES: string[];
|
|
|
295
295
|
export type FormatTemplateName = (typeof FORMAT_TEMPLATE_NAMES)[number];
|
|
296
296
|
export interface FormatSpec {
|
|
297
297
|
locale: string;
|
|
298
|
-
[tmpl:
|
|
298
|
+
[tmpl: FormatTemplateName]: string;
|
|
299
|
+
}
|
|
300
|
+
export interface SiteFonts {
|
|
301
|
+
main: FontSpec;
|
|
302
|
+
nav: FontSpec;
|
|
303
|
+
pageTitle: FontSpec;
|
|
304
|
+
landingTitle: FontSpec;
|
|
305
|
+
header: FontSpec;
|
|
299
306
|
}
|
|
300
307
|
export interface SiteConfig {
|
|
301
308
|
settings: {
|
|
@@ -306,13 +313,7 @@ export interface SiteConfig {
|
|
|
306
313
|
types: CookieType[];
|
|
307
314
|
showIcon: boolean;
|
|
308
315
|
};
|
|
309
|
-
fonts:
|
|
310
|
-
main: FontSpec;
|
|
311
|
-
nav: FontSpec;
|
|
312
|
-
pageTitle: FontSpec;
|
|
313
|
-
landingTitle: FontSpec;
|
|
314
|
-
header: FontSpec;
|
|
315
|
-
};
|
|
316
|
+
fonts: SiteFonts;
|
|
316
317
|
nav: Nav;
|
|
317
318
|
pages: {
|
|
318
319
|
'/': PageProps;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "accomadesc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run package",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
41
|
-
"@sveltejs/kit": "^2.
|
|
41
|
+
"@sveltejs/kit": "^2.16.0",
|
|
42
42
|
"@sveltejs/package": "^2.3.7",
|
|
43
43
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
44
44
|
"@types/luxon": "^3.4.2",
|