intelliwaketssveltekitv25 0.1.186 → 0.1.187

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.
@@ -8,11 +8,17 @@
8
8
  let {
9
9
  dateRange = $bindable(),
10
10
  dateRanges = DefaultRangeStringsReport(),
11
+ controlClass,
12
+ toggleClass,
13
+ bodyClass,
11
14
  allowCustom = true,
12
15
  show = $bindable(false)
13
16
  }: {
14
17
  dateRange: TDateRangeString
15
18
  dateRanges?: TDateRangeString[]
19
+ controlClass?: string
20
+ toggleClass?: string
21
+ bodyClass?: string
16
22
  allowCustom?: boolean
17
23
  show?: boolean
18
24
  } = $props()
@@ -54,10 +60,13 @@
54
60
  </script>
55
61
 
56
62
  <DropDownControl
63
+ {controlClass}
64
+ {toggleClass}
65
+ {bodyClass}
57
66
  bind:show>
58
67
  {#snippet toggle()}
59
68
  <div class="inputControl whitespace-nowrap relative pr-6 cursor-pointer [&_*]:cursor-pointer">
60
- {dateRange.name !== CustomRangeName ? dateRange.name : `${DateOnly(dateRange.start, {formatLocale: true})} to ${DateOnly(dateRange.end, {formatLocale: true})}`}
69
+ {dateRange.name !== CustomRangeName ? dateRange.name : `${DateOnly(dateRange.start, { formatLocale: true })} to ${DateOnly(dateRange.end, { formatLocale: true })}`}
61
70
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"
62
71
  class="inline-block h-4 absolute top-1/2 right-1 -translate-y-1/2 ">
63
72
  <path
@@ -2,6 +2,9 @@ import { type TDateRangeString } from './DateRangeFunctions';
2
2
  type $$ComponentProps = {
3
3
  dateRange: TDateRangeString;
4
4
  dateRanges?: TDateRangeString[];
5
+ controlClass?: string;
6
+ toggleClass?: string;
7
+ bodyClass?: string;
5
8
  allowCustom?: boolean;
6
9
  show?: boolean;
7
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.186",
3
+ "version": "0.1.187",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",