intelliwaketssveltekitv25 0.1.190 → 0.1.192
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/Calendar.svelte
CHANGED
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
{#snippet body()}
|
|
93
93
|
<div class="grid grid-cols-[auto_auto]"
|
|
94
94
|
role="button">
|
|
95
|
-
<ListGroupItems {listItems} />
|
|
95
|
+
<ListGroupItems {listItems} borders={false}/>
|
|
96
96
|
{#if !!customDateRange}
|
|
97
|
-
<div class="overflow-hidden ml-4">
|
|
97
|
+
<div class="overflow-hidden ml-4 mr-2">
|
|
98
98
|
<div class="grid grid-cols-[1fr_auto_1fr] gap-1 my-2 overflow-hidden">
|
|
99
99
|
<div class="mx-auto border-b-2 border-transparent"
|
|
100
100
|
class:border-b-secondary-light={!applyRangeToSecondDate}>{DateOnly(customDateRange.start, { formatLocale: true })}</div>
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
let {
|
|
12
12
|
listItems = [],
|
|
13
13
|
emptyListMessage = null,
|
|
14
|
+
borders = true,
|
|
14
15
|
subsExist = false,
|
|
15
16
|
topValue = null,
|
|
16
17
|
active = true,
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
}: {
|
|
28
29
|
listItems?: TListGroupItem[]
|
|
29
30
|
emptyListMessage?: string | null
|
|
31
|
+
borders?: boolean
|
|
30
32
|
subsExist?: boolean
|
|
31
33
|
topValue?: string | null
|
|
32
34
|
active?: TFindIsActive
|
|
@@ -160,9 +162,9 @@
|
|
|
160
162
|
<li class={`listGroupItem w-full select-none ${listItem.itemClass ?? ''}`}
|
|
161
163
|
class:overflow-x-hidden={wrapText || ellipses}
|
|
162
164
|
class:[&_*]:cursor-pointer={!listItem.disabled}
|
|
163
|
-
class:border-b={!useSubsExist}
|
|
164
|
-
class:border-gray-200={!useSubsExist}
|
|
165
|
-
class:dark:border-slate-500={!useSubsExist}
|
|
165
|
+
class:border-b={!useSubsExist && borders}
|
|
166
|
+
class:border-gray-200={!useSubsExist && borders}
|
|
167
|
+
class:dark:border-slate-500={!useSubsExist && borders}
|
|
166
168
|
class:block={!useSubsExist}
|
|
167
169
|
class:grid={useSubsExist}
|
|
168
170
|
class:grid-cols-[2rem_1fr]={useSubsExist}
|
|
@@ -185,7 +187,7 @@
|
|
|
185
187
|
|
|
186
188
|
class:roundedListGroupItem={rounded}
|
|
187
189
|
class:p-0={rounded}
|
|
188
|
-
class:border-none={rounded}
|
|
190
|
+
class:border-none={rounded || !borders}
|
|
189
191
|
class:rounded-lg={rounded}
|
|
190
192
|
|
|
191
193
|
title={listItem.hover_title}
|