accomadesc 0.1.19 → 0.1.21
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/basic/Button.svelte
CHANGED
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
|
|
82
82
|
let shadowColor = $derived.by(() => {
|
|
83
83
|
if (focussed) {
|
|
84
|
-
return 'var(--focussed-border-color
|
|
84
|
+
return 'var(--focussed-border-color)';
|
|
85
85
|
} else if (!enabled) {
|
|
86
|
-
return 'var(--disabled-border-color
|
|
86
|
+
return 'var(--disabled-border-color)';
|
|
87
87
|
} else {
|
|
88
|
-
return 'var(--border-color
|
|
88
|
+
return 'var(--border-color)';
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
|
|
@@ -178,8 +178,8 @@
|
|
|
178
178
|
border: {borderWidth}rem solid {borderColor};
|
|
179
179
|
box-shadow:
|
|
180
180
|
{inset}
|
|
181
|
-
0 0 {outerShadowWidth}rem rgba({shadowColor}
|
|
182
|
-
0 0 {innerShadowWidth}rem rgba({shadowColor}
|
|
181
|
+
0 0 {outerShadowWidth}rem rgba(from {shadowColor} r g b / 0.5),
|
|
182
|
+
0 0 {innerShadowWidth}rem rgba(from {shadowColor} r g b / 0.4)
|
|
183
183
|
;
|
|
184
184
|
font-size: {fontSize};
|
|
185
185
|
"
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
border: 0 solid rgba(0,0,0,0);
|
|
231
231
|
box-shadow:
|
|
232
232
|
{inset}
|
|
233
|
-
0 0 {outerShadowWidth}rem rgba({shadowColor}
|
|
234
|
-
0 0 {innerShadowWidth}rem rgba({shadowColor}
|
|
233
|
+
0 0 {outerShadowWidth}rem rgba(from {shadowColor} r g b / 0.5),
|
|
234
|
+
0 0 {innerShadowWidth}rem rgba(from {shadowColor} r g b / 0.4)
|
|
235
235
|
;
|
|
236
236
|
"
|
|
237
237
|
class="button"
|
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, };
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
<span>{typeLabels['three']}</span>
|
|
356
356
|
<div
|
|
357
357
|
class="legend-entry-marker"
|
|
358
|
-
style="background-color:
|
|
358
|
+
style="background-color: rgba(from var(--occupation-type-3-bg-color) r g b / 0.2);"
|
|
359
359
|
>
|
|
360
360
|
|
|
361
361
|
</div>
|
|
@@ -536,9 +536,9 @@
|
|
|
536
536
|
right: 0;
|
|
537
537
|
bottom: 0;
|
|
538
538
|
|
|
539
|
-
background-color:
|
|
539
|
+
background-color: rgba(from var(--occupation-type-3-bg-color) r g b / 0.1);
|
|
540
540
|
color: var(--occupation-type-3-bg-color);
|
|
541
|
-
border: 1px solid
|
|
541
|
+
border: 1px solid rgba(from var(--occupation-type-3-font-color) r g b / 0.1);
|
|
542
542
|
}
|
|
543
543
|
.request-button:hover {
|
|
544
544
|
background-color: var(--occupation-type-3-font-color);
|
package/dist/types.d.ts
CHANGED
|
@@ -297,6 +297,13 @@ export interface FormatSpec {
|
|
|
297
297
|
locale: string;
|
|
298
298
|
[tmpl: FormatTemplateName]: string;
|
|
299
299
|
}
|
|
300
|
+
export interface SiteFonts {
|
|
301
|
+
main: FontSpec;
|
|
302
|
+
nav: FontSpec;
|
|
303
|
+
pageTitle: FontSpec;
|
|
304
|
+
landingTitle: FontSpec;
|
|
305
|
+
header: FontSpec;
|
|
306
|
+
}
|
|
300
307
|
export interface SiteConfig {
|
|
301
308
|
settings: {
|
|
302
309
|
ACCOMADE_USER_ID: string;
|
|
@@ -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;
|