@pismo/marola 2.1.28 → 2.1.29

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.
@@ -12,7 +12,7 @@ declare const meta: {
12
12
  minDate?: dayjs.Dayjs | undefined;
13
13
  maxDate?: dayjs.Dayjs | undefined;
14
14
  disableDates?: ((date: dayjs.Dayjs) => boolean) | undefined;
15
- onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null]) => void;
15
+ onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null] | null) => void;
16
16
  placement?: "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | undefined;
17
17
  navigatorInput?: boolean | undefined;
18
18
  className?: string | undefined;
@@ -27,7 +27,7 @@ declare const meta: {
27
27
  minDate?: dayjs.Dayjs | undefined;
28
28
  maxDate?: dayjs.Dayjs | undefined;
29
29
  disableDates?: ((date: dayjs.Dayjs) => boolean) | undefined;
30
- onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null]) => void;
30
+ onChange: (date: dayjs.Dayjs | [dayjs.Dayjs | null, dayjs.Dayjs | null] | null) => void;
31
31
  placement?: "bottom" | "top" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | undefined;
32
32
  navigatorInput?: boolean | undefined;
33
33
  className?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import { jsx as d, jsxs as x } from "react/jsx-runtime";
2
2
  import { d as E } from "../../dayjs.min-ClQKmc--.js";
3
- import { s as i } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as i } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  import { getWeekdayNames as I, getMonthGrid as W, isDateInRange as S, isRangeStart as c, isRangeEnd as y, isDisabled as k, isCurrentDay as h, formatDateForInput as A } from "./dateUtils.js";
5
5
  const H = (a, n, s) => {
6
6
  if (!n[0] || !s) return !1;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, jsx as a } from "react/jsx-runtime";
2
2
  import { Icon as o } from "../Icon/Icon.js";
3
- import { s as t } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as t } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  import { getPreviousMonth as d, getNextMonth as n } from "./dateUtils.js";
5
5
  const v = ({ currentMonth: e, locale: r, setCurrentMonth: i }) => /* @__PURE__ */ s("div", { className: t["month-header-row"], "data-testid": "dual-calendar-header", children: [
6
6
  /* @__PURE__ */ a(
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as e, Fragment as n } from "react/jsx-runtime";
2
2
  import { Icon as o } from "../Icon/Icon.js";
3
- import { s as t } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as t } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const k = ({
5
5
  currentViewMode: r,
6
6
  currentMonth: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as f, jsx as n } from "react/jsx-runtime";
2
2
  import { Icon as s } from "../Icon/Icon.js";
3
- import { s as i } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s as i } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const p = ({
5
5
  navigateToPrevious: b,
6
6
  navigateToNext: u,
@@ -1,6 +1,6 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { d as Y } from "../../dayjs.min-ClQKmc--.js";
3
- import { s } from "../../DatePicker.module-CnuDEiKF.js";
3
+ import { s } from "../../DatePicker.module-CFu_FsW6.js";
4
4
  const T = ({
5
5
  currentViewMode: d,
6
6
  currentMonth: i,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "2.1.28",
4
+ "version": "2.1.29",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -28,6 +28,7 @@
28
28
  "test:unit:watch": "vitest",
29
29
  "test:e2e": "echo \"no test implemented\"",
30
30
  "coverage": "vitest run --coverage",
31
+ "test:coverageAll": "vitest run --coverage",
31
32
  "export-files": "node scripts/export-files.cjs",
32
33
  "generate-icon-types": "node scripts/generate-icon-types.cjs",
33
34
  "prebuild": "yarn export-files & yarn generate-icon-types",
@@ -63,7 +64,7 @@
63
64
  "@typescript-eslint/eslint-plugin": "^7.6.0",
64
65
  "@typescript-eslint/parser": "^7.6.0",
65
66
  "@vitejs/plugin-react": "^4.2.1",
66
- "@vitest/coverage-v8": "^3.0.9",
67
+ "@vitest/coverage-v8": "^3.2.4",
67
68
  "clsx": "^2.1.0",
68
69
  "commitlint": "^19.2.1",
69
70
  "cypress": "^13.8.1",
@@ -92,7 +93,7 @@
92
93
  "vite-plugin-dts": "^4.5.3",
93
94
  "vite-plugin-lib-inject-css": "^2.2.1",
94
95
  "vite-plugin-svgr": "^4.3.0",
95
- "vitest": "^3.1.4"
96
+ "vitest": "^3.2.4"
96
97
  },
97
98
  "dependencies": {
98
99
  "@base-ui-components/react": "^1.0.0-alpha.6",
@@ -1,44 +0,0 @@
1
- import './assets/DatePicker.css';const e = "_header_ends1_146", n = "_calendar_ends1_169", d = "_weekdayNames_ends1_174", a = "_days_ends1_175", _ = "_weekdayName_ends1_174", t = "_day_ends1_175", s = "_disabled_ends1_197", r = "_selected_ends1_197", o = "_faded_ends1_206", c = "_months_ends1_244", y = "_years_ends1_245", h = "_month_ends1_112", l = "_year_ends1_245", i = "_rotate_ends1_325", m = {
2
- "datepicker-wrapper": "_datepicker-wrapper_ends1_79",
3
- "datepicker-input-container": "_datepicker-input-container_ends1_88",
4
- "datepicker-container": "_datepicker-container_ends1_96",
5
- "range-mode": "_range-mode_ends1_109",
6
- "month-header": "_month-header_ends1_112",
7
- "month-header-row": "_month-header-row_ends1_123",
8
- "nav-button": "_nav-button_ends1_135",
9
- header: e,
10
- calendar: n,
11
- weekdayNames: d,
12
- days: a,
13
- weekdayName: _,
14
- day: t,
15
- disabled: s,
16
- selected: r,
17
- "range-start": "_range-start_ends1_197",
18
- "range-end": "_range-end_ends1_197",
19
- "range-selected": "_range-selected_ends1_197",
20
- faded: o,
21
- months: c,
22
- years: y,
23
- month: h,
24
- year: l,
25
- "today-footer": "_today-footer_ends1_284",
26
- "today-button": "_today-button_ends1_290",
27
- rotate: i,
28
- "current-day": "_current-day_ends1_329",
29
- "hovered-range": "_hovered-range_ends1_334",
30
- "hovered-date": "_hovered-date_ends1_339",
31
- "would-be-end-date": "_would-be-end-date_ends1_345",
32
- "would-be-start-date": "_would-be-start-date_ends1_351",
33
- "dual-calendar-container": "_dual-calendar-container_ends1_358",
34
- "navigator-input": "_navigator-input_ends1_369",
35
- "nav-month-button": "_nav-month-button_ends1_398",
36
- "nav-year-button": "_nav-year-button_ends1_399",
37
- "auto-width": "_auto-width_ends1_408",
38
- "month-selector": "_month-selector_ends1_413",
39
- "year-selector": "_year-selector_ends1_414",
40
- "nav-calendar-static": "_nav-calendar-static_ends1_446"
41
- };
42
- export {
43
- m as s
44
- };