@taqwim/solid 0.1.0-beta.2 → 0.1.0-beta.4

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/index.js CHANGED
@@ -1,49 +1,23 @@
1
- import { createComponent as e, insert as t, memo as n, mergeProps as r, spread as i, template as a, use as o } from "solid-js/web";
2
- import { createContext as s, createEffect as c, createRenderEffect as l, createSignal as u, onCleanup as d, onMount as f, splitProps as p, useContext as m } from "solid-js";
3
- import { createCalendar as h } from "@taqwim/calendar-core";
1
+ import { createComponent as e, insert as t, mergeProps as n, spread as r, template as i, use as a } from "solid-js/web";
2
+ import { createCalendar as o, getCellDisplayValues as s } from "@taqwim/calendar-core";
3
+ import { children as c, createContext as l, createEffect as u, createRenderEffect as d, createSignal as f, onCleanup as p, onMount as m, splitProps as h, useContext as g } from "solid-js";
4
4
  //#region src/context.ts
5
- var g = s();
6
- function _() {
7
- let e = m(g);
5
+ var _ = l();
6
+ function v() {
7
+ let e = g(_);
8
8
  if (!e) throw Error("Taqwim calendar parts must be rendered inside <HijriCalendarRoot>");
9
9
  return e;
10
10
  }
11
11
  //#endregion
12
12
  //#region src/types.ts
13
- var v = [
14
- "defaultValue",
15
- "value",
16
- "onValueChange",
17
- "defaultPlaceholder",
18
- "placeholder",
19
- "onPlaceholderChange",
20
- "weekStartsOn",
21
- "weekdayFormat",
22
- "calendarLabel",
23
- "fixedWeeks",
24
- "numberOfMonths",
25
- "pagedNavigation",
26
- "multiple",
27
- "preventDeselect",
28
- "disableDaysOutsideCurrentView",
29
- "disabled",
30
- "readonly",
31
- "minValue",
32
- "maxValue",
33
- "locale",
34
- "dir",
35
- "isDateDisabled",
36
- "isDateUnavailable",
37
- "nextPage",
38
- "prevPage"
39
- ];
13
+ var y = /* @__PURE__ */ "defaultValue.value.onValueChange.defaultPlaceholder.placeholder.onPlaceholderChange.weekStartsOn.weekdayFormat.calendarLabel.fixedWeeks.numberOfMonths.pagedNavigation.multiple.preventDeselect.disableDaysOutsideCurrentView.disabled.readonly.minValue.maxValue.locale.showGregorian.dateEmphasis.gregorianLocale.dir.isDateDisabled.isDateUnavailable.nextPage.prevPage".split(".");
40
14
  //#endregion
41
15
  //#region src/useCalendar.ts
42
- function y(e) {
43
- let t = h(e()), [n, r] = u(t.getSnapshot());
44
- return d(t.subscribe(() => {
16
+ function b(e) {
17
+ let t = o(e()), [n, r] = f(t.getSnapshot());
18
+ return p(t.subscribe(() => {
45
19
  r(t.getSnapshot());
46
- })), l(() => {
20
+ })), d(() => {
47
21
  t.setOptions(e());
48
22
  }), {
49
23
  store: t,
@@ -52,170 +26,174 @@ function y(e) {
52
26
  }
53
27
  //#endregion
54
28
  //#region src/HijriCalendar.tsx
55
- var b = /*#__PURE__*/ a("<div><div style=position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0><div role=heading aria-level=2>"), x = /*#__PURE__*/ a("<div role=group data-taqwim-calendar-header>"), S = /*#__PURE__*/ a("<div data-taqwim-calendar-heading>"), C = /*#__PURE__*/ a("<button>"), w = /*#__PURE__*/ a("<div tabindex=-1>"), T = /*#__PURE__*/ a("<div aria-hidden=true data-taqwim-calendar-grid-head>"), E = /*#__PURE__*/ a("<div data-taqwim-calendar-grid-body>"), D = /*#__PURE__*/ a("<div role=row data-taqwim-calendar-grid-row>"), O = /*#__PURE__*/ a("<div data-taqwim-calendar-head-cell>"), k = /*#__PURE__*/ a("<div role=gridcell data-taqwim-calendar-cell>");
56
- function A(e, t) {
57
- return typeof e == "function" ? e(t()) : e;
29
+ var x = /*#__PURE__*/ i("<div><div style=position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0><div role=heading aria-level=2>"), S = /*#__PURE__*/ i("<div role=group data-taqwim-calendar-header>"), C = /*#__PURE__*/ i("<div data-taqwim-calendar-heading>"), w = /*#__PURE__*/ i("<button>"), T = /*#__PURE__*/ i("<div tabindex=-1>"), E = /*#__PURE__*/ i("<div aria-hidden=true data-taqwim-calendar-grid-head>"), D = /*#__PURE__*/ i("<div data-taqwim-calendar-grid-body>"), O = /*#__PURE__*/ i("<div role=row data-taqwim-calendar-grid-row>"), k = /*#__PURE__*/ i("<div data-taqwim-calendar-head-cell>"), A = /*#__PURE__*/ i("<div role=gridcell data-taqwim-calendar-cell>");
30
+ function j(e, t) {
31
+ return typeof e == "function" ? c(() => e(t()))() : e;
58
32
  }
59
- function j(n) {
60
- let [a, s, l] = p(n, v, ["children", "initialFocus"]), u, d, { store: m, state: h } = y(() => ({
61
- ...a,
33
+ function M(i) {
34
+ let [o, s, c] = h(i, y, ["children", "initialFocus"]), l, d, { store: f, state: p } = b(() => ({
35
+ ...o,
62
36
  onFocusedDateChange: (e) => {
63
- d = e ? m.formatter.isoDate(e) : void 0;
37
+ d = e ? f.formatter.isoDate(e) : void 0;
64
38
  }
65
39
  }));
66
- c(() => {
67
- if (h(), !d) return;
40
+ u(() => {
41
+ if (p(), !d) return;
68
42
  let e = d;
69
- d = void 0, u?.querySelector(`[data-taqwim-calendar-cell-trigger][data-value="${e}"]`)?.focus();
70
- }), f(() => {
71
- s.initialFocus && m.focusInitial();
43
+ d = void 0, l?.querySelector(`[data-taqwim-calendar-cell-trigger][data-value="${e}"]`)?.focus();
44
+ }), m(() => {
45
+ s.initialFocus && f.focusInitial();
72
46
  });
73
- let _ = (e) => {
74
- m.handleKeydown(e) && e.preventDefault();
75
- }, x = () => (h(), m.getRootProps());
76
- return e(g.Provider, {
47
+ let g = (e) => {
48
+ f.handleKeydown(e) && e.preventDefault();
49
+ }, v = () => (p(), f.getRootProps());
50
+ return e(_.Provider, {
77
51
  value: {
78
- store: m,
79
- state: h
52
+ store: f,
53
+ state: p
80
54
  },
81
55
  get children() {
82
- var e = b(), n = e.firstChild, a = n.firstChild, c = u;
83
- return typeof c == "function" ? o(c, e) : u = e, i(e, r(x, l, { onKeyDown: _ }), !1, !0), t(e, () => A(s.children, () => ({
56
+ var e = x(), i = e.firstChild, o = i.firstChild, u = l;
57
+ return typeof u == "function" ? a(u, e) : l = e, r(e, n(v, c, { onKeyDown: g }), !1, !0), t(e, () => j(s.children, () => ({
84
58
  get months() {
85
- return h().months;
59
+ return p().months;
86
60
  },
87
61
  get weekDays() {
88
- return h().weekDays;
62
+ return p().weekDays;
63
+ },
64
+ get modelValue() {
65
+ return p().value;
66
+ },
67
+ get gregorianValue() {
68
+ return p().gregorianValue;
89
69
  },
90
70
  get state() {
91
- return h();
71
+ return p();
92
72
  },
93
- store: m
94
- })), n), t(a, () => h().fullCalendarLabel), e;
73
+ store: f
74
+ })), i), t(o, () => p().fullCalendarLabel), e;
95
75
  }
96
76
  });
97
77
  }
98
- function M(e) {
99
- let { state: n } = _(), [a, o] = p(e, ["children"]);
100
- return (() => {
101
- var e = x();
102
- return i(e, r({ get "aria-label"() {
103
- return n().fullCalendarLabel;
104
- } }, o), !1, !0), t(e, () => a.children), e;
105
- })();
106
- }
107
78
  function N(e) {
108
- let { state: a } = _(), [o, s] = p(e, ["children"]);
79
+ let { state: i } = v(), [a, o] = h(e, ["children"]);
109
80
  return (() => {
110
81
  var e = S();
111
- return i(e, r({ get "data-disabled"() {
112
- return a().disabled ? "" : void 0;
113
- } }, s), !1, !0), t(e, (() => {
114
- var e = n(() => o.children === void 0);
115
- return () => e() ? a().headingValue : A(o.children, () => a().headingValue);
116
- })()), e;
82
+ return r(e, n({ get "aria-label"() {
83
+ return i().fullCalendarLabel;
84
+ } }, o), !1, !0), t(e, () => a.children), e;
117
85
  })();
118
86
  }
119
87
  function P(e) {
120
- let { store: n, state: a } = _(), [o, s] = p(e, ["children"]), c = () => (a(), n.getPrevButtonProps());
88
+ let { state: i } = v(), a = "children" in e, [o, s] = h(e, ["children"]);
121
89
  return (() => {
122
90
  var e = C();
123
- return i(e, r(c, s, {
124
- get disabled() {
125
- return a().isPrevDisabled;
126
- },
127
- onClick: () => n.prevPage()
128
- }), !1, !0), t(e, () => A(o.children, () => a().isPrevDisabled)), e;
91
+ return r(e, n({ get "data-disabled"() {
92
+ return i().disabled ? "" : void 0;
93
+ } }, s), !1, !0), t(e, () => a ? j(o.children, () => i().headingValue) : i().headingValue), e;
129
94
  })();
130
95
  }
131
96
  function F(e) {
132
- let { store: n, state: a } = _(), [o, s] = p(e, ["children"]), c = () => (a(), n.getNextButtonProps());
97
+ let { store: i, state: a } = v(), [o, s] = h(e, ["children"]), c = () => (a(), i.getPrevButtonProps());
133
98
  return (() => {
134
- var e = C();
135
- return i(e, r(c, s, {
99
+ var e = w();
100
+ return r(e, n(c, s, {
136
101
  get disabled() {
137
- return a().isNextDisabled;
102
+ return a().isPrevDisabled;
138
103
  },
139
- onClick: () => n.nextPage()
140
- }), !1, !0), t(e, () => A(o.children, () => a().isNextDisabled)), e;
104
+ onClick: () => i.prevPage()
105
+ }), !1, !0), t(e, () => j(o.children, () => a().isPrevDisabled)), e;
141
106
  })();
142
107
  }
143
108
  function I(e) {
144
- let { store: n, state: a } = _(), [o, s] = p(e, ["month", "children"]), c = () => o.month ?? a().months[0], l = () => (a(), n.getGridProps(c()));
109
+ let { store: i, state: a } = v(), [o, s] = h(e, ["children"]), c = () => (a(), i.getNextButtonProps());
145
110
  return (() => {
146
111
  var e = w();
147
- return i(e, r(l, s), !1, !0), t(e, () => A(o.children, c)), e;
112
+ return r(e, n(c, s, {
113
+ get disabled() {
114
+ return a().isNextDisabled;
115
+ },
116
+ onClick: () => i.nextPage()
117
+ }), !1, !0), t(e, () => j(o.children, () => a().isNextDisabled)), e;
148
118
  })();
149
119
  }
150
120
  function L(e) {
151
- let { state: n } = _(), [r, a] = p(e, ["children"]);
121
+ let { store: i, state: a } = v(), [o, s] = h(e, ["month", "children"]), c = () => o.month ?? a().months[0], l = () => (a(), i.getGridProps(c()));
152
122
  return (() => {
153
123
  var e = T();
154
- return i(e, a, !1, !0), t(e, () => A(r.children, () => n().weekDays)), e;
124
+ return r(e, n(l, s), !1, !0), t(e, () => j(o.children, c)), e;
155
125
  })();
156
126
  }
157
127
  function R(e) {
158
- let [n, r] = p(e, ["children"]);
128
+ let { state: n } = v(), [i, a] = h(e, ["children"]);
159
129
  return (() => {
160
130
  var e = E();
161
- return i(e, r, !1, !0), t(e, () => n.children), e;
131
+ return r(e, a, !1, !0), t(e, () => j(i.children, () => n().weekDays)), e;
162
132
  })();
163
133
  }
164
134
  function z(e) {
165
- let [n, r] = p(e, ["children"]);
135
+ let [n, i] = h(e, ["children"]);
166
136
  return (() => {
167
137
  var e = D();
168
- return i(e, r, !1, !0), t(e, () => n.children), e;
138
+ return r(e, i, !1, !0), t(e, () => n.children), e;
169
139
  })();
170
140
  }
171
141
  function B(e) {
172
- let [n, r] = p(e, ["children"]);
142
+ let [n, i] = h(e, ["children"]);
173
143
  return (() => {
174
144
  var e = O();
175
- return i(e, r, !1, !0), t(e, () => n.children), e;
145
+ return r(e, i, !1, !0), t(e, () => n.children), e;
176
146
  })();
177
147
  }
178
148
  function V(e) {
179
- let [n, a] = p(e, ["day", "children"]);
149
+ let [n, i] = h(e, ["children"]);
180
150
  return (() => {
181
151
  var e = k();
182
- return i(e, r({
152
+ return r(e, i, !1, !0), t(e, () => n.children), e;
153
+ })();
154
+ }
155
+ function H(e) {
156
+ let [i, a] = h(e, ["day", "children"]);
157
+ return (() => {
158
+ var e = A();
159
+ return r(e, n({
183
160
  get "aria-selected"() {
184
- return n.day.isSelected || void 0;
161
+ return i.day.isSelected || void 0;
185
162
  },
186
163
  get "aria-disabled"() {
187
- return n.day.isDisabled || n.day.isUnavailable || void 0;
164
+ return i.day.isDisabled || i.day.isUnavailable || void 0;
188
165
  },
189
166
  get "data-disabled"() {
190
- return n.day.isDisabled ? "" : void 0;
167
+ return i.day.isDisabled ? "" : void 0;
191
168
  },
192
169
  get "data-outside-month"() {
193
- return n.day.isOutsideMonth ? "" : void 0;
170
+ return i.day.isOutsideMonth ? "" : void 0;
194
171
  }
195
- }, a), !1, !0), t(e, () => n.children), e;
172
+ }, a), !1, !0), t(e, () => i.children), e;
196
173
  })();
197
174
  }
198
- function H(e) {
199
- let { store: a, state: o } = _(), [s, c] = p(e, ["day", "children"]), l = () => a.formatter.dayOfMonth(s.day.date), u = () => (o(), a.getCellTriggerProps(s.day));
200
- function d() {
201
- s.day.isDisabled || s.day.isUnavailable || a.select(s.day.date);
202
- }
175
+ function U(e) {
176
+ let { store: i, state: a } = v(), o = "children" in e, [c, l] = h(e, ["day", "children"]), u = () => s(c.day, i.formatter, a().showGregorian, a().dateEmphasis), d = () => (a(), i.getCellTriggerProps(c.day));
203
177
  function f() {
204
- s.day.isDisabled || s.day.isFocused || a.focusDate(s.day.date);
178
+ c.day.isDisabled || c.day.isUnavailable || i.select(c.day.date);
179
+ }
180
+ function p() {
181
+ c.day.isDisabled || c.day.isFocused || i.focusDate(c.day.date);
205
182
  }
206
183
  return (() => {
207
- var e = C();
208
- return i(e, r(u, c, {
209
- onClick: d,
210
- onFocus: f
211
- }), !1, !0), t(e, (() => {
212
- var e = n(() => s.children === void 0);
213
- return () => e() ? l() : A(s.children, () => ({
214
- dayValue: l(),
215
- day: s.day
216
- }));
217
- })()), e;
184
+ var e = w();
185
+ return r(e, n(d, l, {
186
+ onClick: f,
187
+ onFocus: p
188
+ }), !1, !0), t(e, () => o ? j(c.children, () => ({
189
+ dayValue: u().dayValue,
190
+ hijriDayValue: u().hijriDayValue,
191
+ gregorianDayValue: u().gregorianDayValue,
192
+ primaryDayValue: u().primaryDayValue,
193
+ secondaryDayValue: u().secondaryDayValue,
194
+ day: c.day
195
+ })) : u().dayValue), e;
218
196
  })();
219
197
  }
220
198
  //#endregion
221
- export { V as HijriCalendarCell, H as HijriCalendarCellTrigger, I as HijriCalendarGrid, R as HijriCalendarGridBody, L as HijriCalendarGridHead, z as HijriCalendarGridRow, B as HijriCalendarHeadCell, M as HijriCalendarHeader, N as HijriCalendarHeading, F as HijriCalendarNext, P as HijriCalendarPrev, j as HijriCalendarRoot, y as createCalendarStore, _ as useHijriCalendarContext };
199
+ export { H as HijriCalendarCell, U as HijriCalendarCellTrigger, L as HijriCalendarGrid, z as HijriCalendarGridBody, R as HijriCalendarGridHead, B as HijriCalendarGridRow, V as HijriCalendarHeadCell, N as HijriCalendarHeader, P as HijriCalendarHeading, I as HijriCalendarNext, F as HijriCalendarPrev, M as HijriCalendarRoot, b as createCalendarStore, v as useHijriCalendarContext };
@@ -41,6 +41,10 @@ export declare function HijriCalendarCellTrigger(props: ButtonProps & {
41
41
  day: CalendarDay;
42
42
  children?: JSX.Element | ((props: {
43
43
  dayValue: string;
44
+ hijriDayValue: string;
45
+ gregorianDayValue: string;
46
+ primaryDayValue: string;
47
+ secondaryDayValue?: string;
44
48
  day: CalendarDay;
45
49
  }) => JSX.Element);
46
50
  }): JSX.Element;
@@ -1,4 +1,5 @@
1
- import { createEffect, onMount, splitProps } from 'solid-js';
1
+ import { getCellDisplayValues } from '@taqwim/calendar-core';
2
+ import { children, createEffect, onMount, splitProps } from 'solid-js';
2
3
  import { HijriCalendarContext, useHijriCalendarContext } from './context';
3
4
  import { OPTION_KEYS } from './types';
4
5
  import { createCalendarStore } from './useCalendar';
@@ -29,8 +30,11 @@ import { createCalendarStore } from './useCalendar';
29
30
  * function, and the JSX subtree is created once and then updated in place by
30
31
  * the fine-grained bindings inside it.
31
32
  */
32
- function renderChildren(children, props) {
33
- return typeof children === 'function' ? children(props()) : children;
33
+ function renderChildren(raw, props) {
34
+ if (typeof raw !== 'function')
35
+ return raw;
36
+ const resolved = children(() => raw(props()));
37
+ return resolved();
34
38
  }
35
39
  export function HijriCalendarRoot(props) {
36
40
  const [options, local, domProps] = splitProps(props, OPTION_KEYS, ['children', 'initialFocus']);
@@ -79,6 +83,12 @@ export function HijriCalendarRoot(props) {
79
83
  get weekDays() {
80
84
  return state().weekDays;
81
85
  },
86
+ get modelValue() {
87
+ return state().value;
88
+ },
89
+ get gregorianValue() {
90
+ return state().gregorianValue;
91
+ },
82
92
  get state() {
83
93
  return state();
84
94
  },
@@ -113,9 +123,10 @@ export function HijriCalendarHeader(props) {
113
123
  }
114
124
  export function HijriCalendarHeading(props) {
115
125
  const { state } = useHijriCalendarContext();
126
+ const hasChildren = 'children' in props;
116
127
  const [local, rest] = splitProps(props, ['children']);
117
128
  return (<div data-taqwim-calendar-heading="" data-disabled={state().disabled ? '' : undefined} {...rest}>
118
- {local.children === undefined ? state().headingValue : renderChildren(local.children, () => state().headingValue)}
129
+ {hasChildren ? renderChildren(local.children, () => state().headingValue) : state().headingValue}
119
130
  </div>);
120
131
  }
121
132
  export function HijriCalendarPrev(props) {
@@ -193,8 +204,9 @@ export function HijriCalendarCell(props) {
193
204
  }
194
205
  export function HijriCalendarCellTrigger(props) {
195
206
  const { store, state } = useHijriCalendarContext();
207
+ const hasChildren = 'children' in props;
196
208
  const [local, rest] = splitProps(props, ['day', 'children']);
197
- const dayValue = () => store.formatter.dayOfMonth(local.day.date);
209
+ const display = () => getCellDisplayValues(local.day, store.formatter, state().showGregorian, state().dateEmphasis);
198
210
  /*
199
211
  * The prop getters read the store's snapshot directly, which is not a signal.
200
212
  * Touching `state()` here is what makes this a tracked dependency — without
@@ -220,8 +232,15 @@ export function HijriCalendarCellTrigger(props) {
220
232
  store.focusDate(local.day.date);
221
233
  }
222
234
  return (<button {...triggerProps()} {...rest} onClick={onClick} onFocus={onFocus}>
223
- {local.children === undefined
224
- ? dayValue()
225
- : renderChildren(local.children, () => ({ dayValue: dayValue(), day: local.day }))}
235
+ {hasChildren
236
+ ? renderChildren(local.children, () => ({
237
+ dayValue: display().dayValue,
238
+ hijriDayValue: display().hijriDayValue,
239
+ gregorianDayValue: display().gregorianDayValue,
240
+ primaryDayValue: display().primaryDayValue,
241
+ secondaryDayValue: display().secondaryDayValue,
242
+ day: local.day,
243
+ }))
244
+ : display().dayValue}
226
245
  </button>);
227
246
  }
@@ -33,6 +33,9 @@ export interface HijriCalendarRootOptions {
33
33
  minValue?: HijriDateObject;
34
34
  maxValue?: HijriDateObject;
35
35
  locale?: string;
36
+ showGregorian?: boolean;
37
+ dateEmphasis?: import('@taqwim/calendar-core').DateEmphasis;
38
+ gregorianLocale?: string;
36
39
  dir?: 'ltr' | 'rtl';
37
40
  isDateDisabled?: Matcher;
38
41
  isDateUnavailable?: Matcher;
@@ -44,6 +47,8 @@ export interface HijriCalendarRootOptions {
44
47
  export interface HijriCalendarRenderProps {
45
48
  months: CalendarMonth[];
46
49
  weekDays: string[];
50
+ modelValue: HijriDateObject | HijriDateObject[] | undefined;
51
+ gregorianValue: Date | Date[] | undefined;
47
52
  state: CalendarState;
48
53
  store: CalendarStore;
49
54
  }
@@ -52,4 +57,4 @@ export type HijriCalendarRootProps = HijriCalendarRootOptions & Omit<JSX.HTMLAtt
52
57
  children?: JSX.Element | ((props: HijriCalendarRenderProps) => JSX.Element);
53
58
  };
54
59
  /** The option names, so the root can tell them from DOM attributes. */
55
- export declare const OPTION_KEYS: readonly ["defaultValue", "value", "onValueChange", "defaultPlaceholder", "placeholder", "onPlaceholderChange", "weekStartsOn", "weekdayFormat", "calendarLabel", "fixedWeeks", "numberOfMonths", "pagedNavigation", "multiple", "preventDeselect", "disableDaysOutsideCurrentView", "disabled", "readonly", "minValue", "maxValue", "locale", "dir", "isDateDisabled", "isDateUnavailable", "nextPage", "prevPage"];
60
+ export declare const OPTION_KEYS: readonly ["defaultValue", "value", "onValueChange", "defaultPlaceholder", "placeholder", "onPlaceholderChange", "weekStartsOn", "weekdayFormat", "calendarLabel", "fixedWeeks", "numberOfMonths", "pagedNavigation", "multiple", "preventDeselect", "disableDaysOutsideCurrentView", "disabled", "readonly", "minValue", "maxValue", "locale", "showGregorian", "dateEmphasis", "gregorianLocale", "dir", "isDateDisabled", "isDateUnavailable", "nextPage", "prevPage"];
@@ -20,6 +20,9 @@ export const OPTION_KEYS = [
20
20
  'minValue',
21
21
  'maxValue',
22
22
  'locale',
23
+ 'showGregorian',
24
+ 'dateEmphasis',
25
+ 'gregorianLocale',
23
26
  'dir',
24
27
  'isDateDisabled',
25
28
  'isDateUnavailable',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taqwim/solid",
3
- "version": "0.1.0-beta.2",
3
+ "version": "0.1.0-beta.4",
4
4
  "private": false,
5
5
  "description": "Headless Solid components for Hijri calendars, built on @taqwim/calendar-core",
6
6
  "keywords": [
@@ -46,8 +46,8 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@taqwim/core": "0.1.0-beta.2",
50
- "@taqwim/calendar-core": "0.1.0-beta.2"
49
+ "@taqwim/calendar-core": "0.1.0-beta.4",
50
+ "@taqwim/core": "0.1.0-beta.4"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@arethetypeswrong/cli": "^0.18.2",