accomadesc 0.0.6 → 0.0.8
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/AccoCard.svelte +1 -1
- package/dist/Section.svelte +2 -2
- package/dist/Section.svelte.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/AccoCard.svelte
CHANGED
package/dist/Section.svelte
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import AccoDescription from './AccoDescription.svelte';
|
|
14
14
|
|
|
15
15
|
import {
|
|
16
|
-
type Section,
|
|
16
|
+
type Section as SectionI,
|
|
17
17
|
type I18nFacade,
|
|
18
18
|
isAmenitiesCore,
|
|
19
19
|
isLeafletMap,
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
formatFunc,
|
|
41
41
|
currentLang,
|
|
42
42
|
calendarTranslation,
|
|
43
|
-
}:
|
|
43
|
+
}: SectionI & I18nFacade = $props();
|
|
44
44
|
|
|
45
45
|
let translatedHeader = $derived(header && translateFunc ? translateFunc(header) : '');
|
|
46
46
|
|
package/dist/Section.svelte.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Section } from './types.ts';
|
|
2
|
-
declare const Section:
|
|
1
|
+
import { type Section as SectionI, type I18nFacade } from './types.ts';
|
|
2
|
+
declare const Section: import("svelte").Component<SectionI & I18nFacade, {}, "padding">;
|
|
3
3
|
type Section = ReturnType<typeof Section>;
|
|
4
4
|
export default Section;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ import PricingShort from './PricingShort.svelte';
|
|
|
17
17
|
import Section from './Section.svelte';
|
|
18
18
|
import Text from './Text.svelte';
|
|
19
19
|
import Weather from './Weather.svelte';
|
|
20
|
-
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, 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, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, } from './types.ts';
|
|
20
|
+
export type { GridPhoto, LeafletMap as LeafletMapI, LeafletMapContent, Calendar as CalendarI, CalendarContent, CalendarAvailable as CalendarAvailableI, CalendarAvailableContent, 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, StaticRangeDate, StaticPricingRange, AmenitiesCore as AmenitiesCoreI, AmenitiesCoreContent, AccoCard as AccoCardI, AccoCardContent, CardContent, AccoDescription as AccoDescriptionI, AccoDescriptionContent, Section as SectionI, I18nFacade, Acco as AccoI, } from './types.ts';
|
|
21
21
|
export { PRICING_COLUMNS } from './types.ts';
|
|
22
22
|
export { randomID, randomName, Avatar, Button, Icon, Spinner, TextInput, AccoCard, AccoDescription, AmenitiesCore, Calendar, CalendarAvailable, LeafletMap, Photo, PhotoGallery, Pricing, PricingShort, Section, Text, Weather, };
|
package/dist/types.d.ts
CHANGED
|
@@ -164,6 +164,12 @@ export interface AmenitiesCoreContent {
|
|
|
164
164
|
parking: boolean;
|
|
165
165
|
showParking?: boolean;
|
|
166
166
|
}
|
|
167
|
+
export interface Acco {
|
|
168
|
+
path: string;
|
|
169
|
+
displayName: string;
|
|
170
|
+
cardContent?: AccoCardContent;
|
|
171
|
+
siteContent?: Section[];
|
|
172
|
+
}
|
|
167
173
|
export interface AccoCard {
|
|
168
174
|
id: string;
|
|
169
175
|
kind: 'acco-card';
|