@newlogic-digital/ui 4.0.0 → 4.3.0-next.1
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/package.json +25 -25
- package/src/+.css +1 -0
- package/src/data/main.json +19 -9
- package/src/data/socials.json +24 -0
- package/src/icons/simpleicons/apple.svg +3 -0
- package/src/icons/simpleicons/facebook.svg +3 -0
- package/src/icons/simpleicons/google.svg +3 -0
- package/src/icons/simpleicons/instagram.svg +3 -0
- package/src/icons/simpleicons/linkedin.svg +1 -0
- package/src/icons/simpleicons/messenger.svg +3 -0
- package/src/icons/simpleicons/threads.svg +3 -0
- package/src/icons/simpleicons/whatsapp.svg +3 -0
- package/src/icons/simpleicons/x.svg +3 -0
- package/src/icons/simpleicons/youtube.svg +3 -0
- package/src/icons/solid/newlogic-logomark.svg +3 -0
- package/src/icons/solid/newlogic-logotype.svg +11 -0
- package/src/pages/example/control-select.json +8 -0
- package/src/pages/example/popover-autocomplete.json +8 -0
- package/src/scripts/components/(ui)/+.js +2 -0
- package/src/scripts/components/(ui)/Carousel.js +4 -0
- package/src/scripts/components/(ui)/Control.js +4 -4
- package/src/scripts/components/(ui)/Dialog.js +9 -9
- package/src/scripts/components/(ui)/Form.js +7 -7
- package/src/scripts/components/(ui)/Image.js +4 -0
- package/src/scripts/components/(ui)/Popover.js +1 -1
- package/src/scripts/components/App.js +1 -1
- package/src/scripts/composables/naja.js +7 -7
- package/src/scripts/composables/stimulus.js +12 -12
- package/src/scripts/composables/swup.js +9 -9
- package/src/scripts/main.js +1 -0
- package/src/scripts/utils/initAfter.js +4 -4
- package/src/styles/base/+.css +1 -0
- package/src/styles/base/defaults.css +10 -6
- package/src/styles/base/transitions.css +1 -1
- package/src/styles/base/variants.css +11 -0
- package/src/styles/components/(layout)/Header.css +8 -6
- package/src/styles/components/(layout)/Main.css +18 -14
- package/src/styles/components/(ui)/+.css +3 -0
- package/src/styles/components/(ui)/Badge.css +8 -8
- package/src/styles/components/(ui)/Button.css +24 -12
- package/src/styles/components/(ui)/Carousel.css +2 -0
- package/src/styles/components/(ui)/Check.css +11 -1
- package/src/styles/components/(ui)/Compare.css +1 -1
- package/src/styles/components/(ui)/Control.css +27 -23
- package/src/styles/components/(ui)/ControlSelect.css +8 -1
- package/src/styles/components/(ui)/Drawer.css +13 -11
- package/src/styles/components/(ui)/Field.css +1 -1
- package/src/styles/components/(ui)/Group.css +2 -1
- package/src/styles/components/(ui)/Heading.css +35 -4
- package/src/styles/components/(ui)/Image.css +2 -1
- package/src/styles/components/(ui)/Info.css +2 -1
- package/src/styles/components/(ui)/Label.css +11 -1
- package/src/styles/components/(ui)/Link.css +2 -2
- package/src/styles/components/(ui)/Marquee.css +2 -0
- package/src/styles/components/(ui)/Notice.css +2 -1
- package/src/styles/components/(ui)/Popover.css +13 -1
- package/src/styles/components/(ui)/Progress.css +6 -1
- package/src/styles/components/(ui)/Range.css +4 -1
- package/src/styles/components/(ui)/Switch.css +4 -1
- package/src/styles/components/(ui)/Text.css +51 -1
- package/src/styles/components/(ui)/Title.css +14 -4
- package/src/styles/components/(ui)/Toast.css +4 -0
- package/src/styles/components/(ui)/Toaster.css +2 -2
- package/src/styles/components/(ui)/dialog/Dialog.css +2 -2
- package/src/styles/components/(ui)/dialog/DialogContent.css +2 -2
- package/src/styles/components/+.css +0 -1
- package/src/styles/emails/base/defaults.css +2 -1
- package/src/styles/emails/components/Button.css +2 -1
- package/src/styles/emails/components/Heading.css +1 -1
- package/src/styles/emails/components/Main.css +1 -1
- package/src/styles/emails/components/Text.css +2 -1
- package/src/styles/emails/main.css +3 -4
- package/src/styles/emails/theme/config.css +15 -2
- package/src/styles/emails/theme/default.css +1 -1
- package/src/styles/emails/utils/common.css +7 -7
- package/src/styles/main.css +17 -10
- package/src/styles/theme/dark.css +2 -1
- package/src/styles/theme/main.css +15 -20
- package/src/styles/tinymce.css +1 -0
- package/src/styles/utils/+.css +0 -1
- package/src/styles/utils/index.css +27 -8
- package/src/styles/utils/reveal.css +9 -10
- package/src/styles/utils/scrollbar.css +2 -2
- package/src/templates/components/(example)/ControlSelect.latte +26 -0
- package/src/templates/components/(example)/PopoverAutocomplete.latte +27 -0
- package/src/templates/components/(ui)/Pagination.latte +19 -0
- package/src/templates/components/Example.latte +4 -5
- package/src/templates/components/cookieconsent/CookieConsentDialog.latte +7 -16
- package/src/templates/components/dialog/DialogBasic.latte +1 -1
- package/src/templates/emails/layouts/default.latte +13 -4
- package/src/templates/layouts/default.latte +9 -9
- package/vite.config.js +7 -3
- package/src/icons.svg +0 -8
- package/src/styles/components/cookieconsent/+.css +0 -1
- package/src/styles/components/cookieconsent/CookieConsentDialog.css +0 -17
- package/src/styles/emails/+.css +0 -5
- package/src/styles/utils/container.css +0 -5
- /package/src/templates/components/{(layout) → footer}/Footer.latte +0 -0
- /package/src/templates/components/{(layout) → header}/Header.latte +0 -0
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
@import "winduum/src/theme/config/font.css";
|
|
2
|
-
@import "winduum/src/theme/config/mask.css";
|
|
3
|
-
@import "winduum/src/theme/config/radius.css";
|
|
4
|
-
@import "winduum/src/theme/config/spacing.css";
|
|
5
|
-
@import "winduum/src/theme/config/transition.css";
|
|
6
|
-
@import "winduum/src/theme/config/z.css";
|
|
7
1
|
@import "./dark.css";
|
|
8
2
|
|
|
9
|
-
|
|
10
|
-
--default-font-family: "
|
|
3
|
+
@theme {
|
|
4
|
+
--default-font-family: "Inter", sans-serif;
|
|
11
5
|
--default-color-space: srgb;
|
|
12
6
|
--default-color-scheme: inherit;
|
|
13
7
|
--color-accent: var(--color-primary);
|
|
14
8
|
--color-accent-foreground: var(--color-primary-foreground);
|
|
15
|
-
--color-primary: #
|
|
16
|
-
--color-primary-foreground: var(--color-
|
|
17
|
-
--color-main: #
|
|
9
|
+
--color-primary: #076cff;
|
|
10
|
+
--color-primary-foreground: var(--color-light);
|
|
11
|
+
--color-main: #181818;
|
|
18
12
|
--color-main-foreground: var(--color-body);
|
|
19
13
|
--color-main-primary: var(--color-main);
|
|
20
|
-
--color-main-secondary: color-mix(in var(--default-color-space), var(--color-main)
|
|
21
|
-
--color-main-tertiary: color-mix(in var(--default-color-space), var(--color-main)
|
|
14
|
+
--color-main-secondary: color-mix(in var(--default-color-space), var(--color-main) 80%, var(--color-main-foreground));
|
|
15
|
+
--color-main-tertiary: color-mix(in var(--default-color-space), var(--color-main) 49%, var(--color-main-foreground));
|
|
22
16
|
--color-body: #fff;
|
|
23
17
|
--color-body-foreground: var(--color-main);
|
|
24
18
|
--color-body-primary: var(--color-body);
|
|
25
|
-
--color-body-secondary: color-mix(in var(--default-color-space), var(--color-body)
|
|
26
|
-
--color-body-tertiary: color-mix(in var(--default-color-space), var(--color-body)
|
|
19
|
+
--color-body-secondary: color-mix(in var(--default-color-space), var(--color-body) 82%, var(--color-body-foreground));
|
|
20
|
+
--color-body-tertiary: color-mix(in var(--default-color-space), var(--color-body) 93%, var(--color-body-foreground));
|
|
27
21
|
--color-light: #fff;
|
|
28
22
|
--color-light-foreground: var(--color-dark);
|
|
29
|
-
--color-dark: #
|
|
23
|
+
--color-dark: #181818;
|
|
30
24
|
--color-dark-foreground: var(--color-light);
|
|
31
|
-
--color-success: #
|
|
32
|
-
--color-error: #
|
|
33
|
-
--color-warning: #
|
|
34
|
-
--color-info: #
|
|
25
|
+
--color-success: #00c951;
|
|
26
|
+
--color-error: #e7000b;
|
|
27
|
+
--color-warning: #fcc800;
|
|
28
|
+
--color-info: #00bcff;
|
|
29
|
+
--container-width: 80rem;
|
|
35
30
|
}
|
package/src/styles/tinymce.css
CHANGED
package/src/styles/utils/+.css
CHANGED
|
@@ -1,8 +1,27 @@
|
|
|
1
|
-
@import "winduum/src/utilities/
|
|
2
|
-
@import "winduum/src/utilities/ripple/
|
|
3
|
-
@import "winduum/src/utilities/skeleton/
|
|
4
|
-
@import "winduum/src/utilities/
|
|
5
|
-
@import "winduum/
|
|
6
|
-
|
|
7
|
-
@
|
|
8
|
-
|
|
1
|
+
@import "winduum/src/utilities/container/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/utilities/ripple/keyframes/default.css";
|
|
3
|
+
@import "winduum/src/utilities/skeleton/props/default.css" layer(theme);
|
|
4
|
+
@import "winduum/src/utilities/spinner/keyframes/ring.css";
|
|
5
|
+
@import "winduum/tailwindcss/utilities/index.css";
|
|
6
|
+
|
|
7
|
+
@layer theme {
|
|
8
|
+
:root,
|
|
9
|
+
:host {
|
|
10
|
+
--container-width: 82rem;
|
|
11
|
+
--container-padding: 1.25rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media (--media-md) {
|
|
15
|
+
:root,
|
|
16
|
+
:host {
|
|
17
|
+
--container-padding: 2rem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (--media-lg) {
|
|
22
|
+
:root,
|
|
23
|
+
:host {
|
|
24
|
+
--container-padding: 4rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
@utility reveal {
|
|
2
2
|
opacity: 0;
|
|
3
3
|
transition-property: var(--default-transition-property);
|
|
4
4
|
transition-timing-function: var(--ease-in-out);
|
|
5
5
|
transition-duration: 0.75s;
|
|
6
6
|
will-change: transform;
|
|
7
7
|
|
|
8
|
-
@media (prefers-reduced-motion) {
|
|
8
|
+
@media (prefers-reduced-motion), (scripting: none), print {
|
|
9
9
|
opacity: 1;
|
|
10
|
-
|
|
10
|
+
scale: none;
|
|
11
|
+
translate: none;
|
|
12
|
+
rotate: none;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
&:is([data-in]) {
|
|
14
16
|
opacity: 1;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
&:is([data-in]), .no-js & {
|
|
19
|
-
opacity: 1;
|
|
20
|
-
transform: none;
|
|
17
|
+
scale: none;
|
|
18
|
+
translate: none;
|
|
19
|
+
rotate: none;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@utility no-scrollbar {
|
|
2
2
|
scrollbar-width: none;
|
|
3
3
|
|
|
4
4
|
&::-webkit-scrollbar {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
@utility scrollbar {
|
|
10
10
|
scrollbar-width: thin;
|
|
11
11
|
scrollbar-color: var(--color-primary) var(--color-body-primary);
|
|
12
12
|
overscroll-behavior: contain;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<div class="x-control w-full max-w-80 mx-auto" tabindex="-1" data-controller="x-control-select">
|
|
2
|
+
<select>
|
|
3
|
+
<option value="0">Doporučujeme</option>
|
|
4
|
+
<option value="1">Nejprodávanější</option>
|
|
5
|
+
<option value="2">Od nejlevnějšího</option>
|
|
6
|
+
<option value="3">Od nejdražšího</option>
|
|
7
|
+
<option value="4">Nejnovější</option>
|
|
8
|
+
</select>
|
|
9
|
+
<div aria-hidden="true" class="max-h-80">
|
|
10
|
+
<div data-option="0" tabindex="0" data-active>Doporučujeme</div>
|
|
11
|
+
<div data-option="1" tabindex="0">Nejprodávanější</div>
|
|
12
|
+
<div data-option="2" tabindex="0">Od nejlevnějšího</div>
|
|
13
|
+
<div data-option="3" tabindex="0">Od nejdražšího</div>
|
|
14
|
+
<div data-option="4" tabindex="0">Nejnovější</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div><br></div>
|
|
18
|
+
<div class="x-control w-full max-w-80 mx-auto">
|
|
19
|
+
<select>
|
|
20
|
+
<option value="0">Doporučujeme</option>
|
|
21
|
+
<option value="1">Nejprodávanější</option>
|
|
22
|
+
<option value="2">Od nejlevnějšího</option>
|
|
23
|
+
<option value="3">Od nejdražšího</option>
|
|
24
|
+
<option value="4">Nejnovější</option>
|
|
25
|
+
</select>
|
|
26
|
+
</div>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<div class="x-popover trigger-focus group mx-auto w-80" data-controller="x-popover">
|
|
2
|
+
<div class="x-control w-full">
|
|
3
|
+
<input
|
|
4
|
+
data-action="input->x-popover#autocomplete"
|
|
5
|
+
data-x-popover-target="autocomplete"
|
|
6
|
+
type="search"
|
|
7
|
+
placeholder="Vyhledávání ..."
|
|
8
|
+
autocomplete="off"
|
|
9
|
+
role="combobox"
|
|
10
|
+
aria-autocomplete="list"
|
|
11
|
+
aria-controls="popoverContent"
|
|
12
|
+
aria-haspopup="listbox"
|
|
13
|
+
aria-expanded="true"
|
|
14
|
+
value="Volba"
|
|
15
|
+
>
|
|
16
|
+
</div>
|
|
17
|
+
<div
|
|
18
|
+
class="x-popover-content center flex flex-col shadow dark:bg-body-secondary mt-2 p-2 gap-2 w-full empty:closed group-not-has-aria-expanded:closed"
|
|
19
|
+
data-x-popover-target="content"
|
|
20
|
+
role="listbox"
|
|
21
|
+
id="popoverContent"
|
|
22
|
+
>
|
|
23
|
+
<button id="option-1" class="x-button ghosted justify-start" role="option" data-action="click->x-popover#selectDescendant">Volba 1</button>
|
|
24
|
+
<button id="option-2" class="x-button ghosted justify-start" role="option" data-action="click->x-popover#selectDescendant">Volba 2</button>
|
|
25
|
+
<button id="option-3" class="x-button ghosted justify-start" role="option" data-action="click->x-popover#selectDescendant">Volba 3</button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<nav n:class="'x-pagination flex gap-2', $classAttribute ?? ''" aria-label="{_'Stránkování'}">
|
|
2
|
+
<a
|
|
3
|
+
n:attr="href: $iterator->counter !== 4 ? '#'"
|
|
4
|
+
n:class="
|
|
5
|
+
'x-button square sm',
|
|
6
|
+
$iterator->first ? 'pointer-events-none' : 'muted'
|
|
7
|
+
"
|
|
8
|
+
n:foreach="range(1,5) as $item"
|
|
9
|
+
aria-current={$iterator->first ? 'page' : null}
|
|
10
|
+
>
|
|
11
|
+
{if $iterator->last}
|
|
12
|
+
8
|
|
13
|
+
{elseif $iterator->counter === 4}
|
|
14
|
+
...
|
|
15
|
+
{else}
|
|
16
|
+
{$iterator->counter}
|
|
17
|
+
{/if}
|
|
18
|
+
</a>
|
|
19
|
+
</nav>
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
<div class="grid grid-cols-container">
|
|
2
2
|
<div class="p-4 bg-body-secondary rounded w-full max-w-xl mx-auto">
|
|
3
|
-
<h1 class="x-heading mb-4">Hello world!</h1>
|
|
3
|
+
<h1 class="x-heading lg mb-4">Hello world!</h1>
|
|
4
4
|
<div class="x-text mb-4">Want to dig deeper into Newlogic UI?</div>
|
|
5
|
-
|
|
6
5
|
<a href="https://ui.newlogic.cz/" class="x-link underline">Read the docs →</a>
|
|
7
6
|
</div>
|
|
8
7
|
<div class="flex justify-center mt-4">
|
|
9
8
|
<button
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
class="x-button"
|
|
10
|
+
data-invoke-action="x-dialog#show"
|
|
11
|
+
data-invoke-url="/dialog/basic.json"
|
|
13
12
|
>
|
|
14
13
|
Dialog Fetch Example
|
|
15
14
|
</button>
|
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
<div class="mt-2 mb-4 md:mb-6">
|
|
6
|
-
{if true}
|
|
7
|
-
<div class="x-image w-40 my-4">
|
|
8
|
-
<img src="{placeholder(160, 46)}" alt="">
|
|
9
|
-
</div>
|
|
10
|
-
{/if}
|
|
11
|
-
<div class="x-heading text-3xl md:my-8">Nastavení soukromí a cookies 🍪</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="x-text">
|
|
1
|
+
<dialog class="x-cookieconsent-dialog x-dialog" data-controller="x-cookieconsent-dialog">
|
|
2
|
+
<div class="x-dialog-content max-w-md text-center p-6 lg:p-8">
|
|
3
|
+
<div class="x-heading max-md:text-2xl text-3xl mt-2 mb-6 md:mb-8">Nastavení soukromí a cookies 🍪</div>
|
|
4
|
+
<div class="x-text max-md:text-sm">
|
|
14
5
|
<p>Webové stránky používají k poskytování služeb, personalizaci reklam a analýze návštěvnosti soubory cookies.</p>
|
|
15
6
|
<p>Následující volbou souhlasíte s našimi <a href="/gdpr">zásady ochrany osobních údajů a cookies</a>. Svá nastavení můžete kdykoli změnit.</p>
|
|
16
7
|
</div>
|
|
17
|
-
<div class="flex items-center mt-
|
|
8
|
+
<div class="flex items-center mt-8 md:mt-10 gap-4 flex-col">
|
|
18
9
|
<div class="flex flex-col w-full">
|
|
19
10
|
<button class="x-button lg w-full" data-action="click->x-cookieconsent-dialog#approve">Ano, souhlasím</button>
|
|
20
11
|
</div>
|
|
21
12
|
<div class="flex w-full gap-4">
|
|
22
|
-
<a class="x-button
|
|
23
|
-
<button class="x-button
|
|
13
|
+
<a class="x-button bordered lg accent-main flex-1 px-4" href="/gdpr"><span>Přizpůsobit</span></a>
|
|
14
|
+
<button class="x-button bordered lg accent-main flex-1 px-4" data-action="click->x-cookieconsent-dialog#decline"><span>Nesouhlasím</span></button>
|
|
24
15
|
</div>
|
|
25
16
|
</div>
|
|
26
17
|
</div>
|
|
@@ -16,14 +16,23 @@
|
|
|
16
16
|
<meta name="supported-color-schemes" content="light dark">
|
|
17
17
|
{/if}
|
|
18
18
|
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
<link rel="stylesheet" href="/src/styles/emails/main.css">
|
|
20
|
+
|
|
21
|
+
<script type="module" n:if="\VITE_SERVER">
|
|
22
|
+
if (import.meta.hot && window.location.search === '?send') {
|
|
23
|
+
import.meta.hot.send('my:send', {
|
|
24
|
+
filename: window.location.href,
|
|
25
|
+
content:
|
|
26
|
+
new XMLSerializer().serializeToString(document.doctype) +
|
|
27
|
+
document.documentElement.outerHTML.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi, "")
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
</script>
|
|
22
31
|
</head>
|
|
23
32
|
<body>
|
|
24
33
|
<table class="x-main w-full" align="center">
|
|
25
34
|
<tr>
|
|
26
|
-
<td class="p-
|
|
35
|
+
<td class="p-container" align="center">
|
|
27
36
|
<table class="x-main-body container">
|
|
28
37
|
{include '../../utils/sections.latte', sections => $body}
|
|
29
38
|
</table>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
-
<html
|
|
2
|
+
<html lang="{$lang}">
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<title>{$title}</title>
|
|
@@ -38,23 +38,27 @@
|
|
|
38
38
|
<link n:foreach="$modulepreload as $url" href="{$url|asset}" rel="modulepreload">
|
|
39
39
|
{/if}
|
|
40
40
|
|
|
41
|
-
<script>
|
|
41
|
+
<script n:if="false">
|
|
42
42
|
(localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) && document.documentElement.classList.add('dark')
|
|
43
|
-
document.documentElement.classList.remove('no-js')
|
|
44
43
|
</script>
|
|
45
44
|
|
|
46
45
|
<script src="{$assets->js->main|asset}" type="module"></script>
|
|
47
46
|
|
|
48
47
|
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg">
|
|
48
|
+
<link rel="icon" type="image/webp" href="/favicons/favicon-512.webp">
|
|
49
49
|
<link rel="apple-touch-icon" type="image/webp" href="/favicons/favicon-512.webp">
|
|
50
50
|
<link rel="manifest" href="/favicons/manifest.webmanifest">
|
|
51
51
|
</head>
|
|
52
52
|
<body data-controller="x-app invoke" data-naja-snippet-append>
|
|
53
|
-
{
|
|
53
|
+
{if isset($head)}
|
|
54
|
+
{include '../utils/sections.latte', sections => $head}
|
|
55
|
+
{/if}
|
|
54
56
|
<main class="x-main view-transition-main">
|
|
55
57
|
{include '../utils/sections.latte', sections => $body}
|
|
56
58
|
</main>
|
|
57
|
-
{
|
|
59
|
+
{if isset($foot)}
|
|
60
|
+
{include '../utils/sections.latte', sections => $foot}
|
|
61
|
+
{/if}
|
|
58
62
|
|
|
59
63
|
{if $cookieConsent}
|
|
60
64
|
{include '../components/cookieconsent/CookieConsentDialog.latte'}
|
|
@@ -63,9 +67,5 @@
|
|
|
63
67
|
<ol class="x-toaster items-end">
|
|
64
68
|
{*include TEMPLATES_DIR . 'Components/(ui)/Toast.latte'*}
|
|
65
69
|
</ol>
|
|
66
|
-
|
|
67
|
-
{if true} {* load only on first load in production *}
|
|
68
|
-
{fetch('/src/icons.svg')|noescape}
|
|
69
|
-
{/if}
|
|
70
70
|
</body>
|
|
71
71
|
</html>
|
package/vite.config.js
CHANGED
package/src/icons.svg
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg class="hidden">
|
|
2
|
-
<symbol id="icon-exclamation-circle" viewBox="0 0 24 24">
|
|
3
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
|
|
4
|
-
</symbol>
|
|
5
|
-
<symbol id="icon-x-mark" viewBox="0 0 24 24">
|
|
6
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
|
7
|
-
</symbol>
|
|
8
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "./CookieConsentDialog.css";
|
package/src/styles/emails/+.css
DELETED
|
File without changes
|
|
File without changes
|