@bigbinary/neeto-atoms 1.1.8 → 1.1.9
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/{DatePicker-CMlA-hNW.js → DatePicker-DUx9Qggg.js} +4 -4
- package/dist/DatePicker-DUx9Qggg.js.map +1 -0
- package/dist/cjs/{DatePicker-CBxWLALJ.js → DatePicker-DRNGTBHW.js} +4 -4
- package/dist/cjs/DatePicker-DRNGTBHW.js.map +1 -0
- package/dist/cjs/components/DatePicker.js +1 -1
- package/dist/cjs/components/index.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/primitives/Calendar.js +5 -2
- package/dist/cjs/primitives/Calendar.js.map +1 -1
- package/dist/components/DatePicker/types.d.ts +1 -1
- package/dist/components/DatePicker.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/primitives/Calendar.d.ts +1 -1
- package/dist/primitives/Calendar.js +5 -2
- package/dist/primitives/Calendar.js.map +1 -1
- package/package.json +1 -1
- package/dist/DatePicker-CMlA-hNW.js.map +0 -1
- package/dist/cjs/DatePicker-CBxWLALJ.js.map +0 -1
|
@@ -105,7 +105,7 @@ export interface DatePickerProps {
|
|
|
105
105
|
align?: PopoverAlign;
|
|
106
106
|
/** Custom trigger element. When provided, replaces the built-in input UI and the popover anchors to this element. */
|
|
107
107
|
trigger?: React.ReactNode;
|
|
108
|
-
/** First day of the week. 0 = Sunday
|
|
108
|
+
/** First day of the week. 0 = Sunday, 1 = Monday (default), etc. */
|
|
109
109
|
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
110
110
|
/** Prefix for the field's testid family(input, error). Falls back to the hyphenized label. */
|
|
111
111
|
dataTestId?: string;
|
package/dist/components/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { C as Callout } from '../Callout-DJGi3MQR.js';
|
|
|
8
8
|
export { C as Checkbox } from '../Checkbox-BalUzegZ.js';
|
|
9
9
|
export { C as ColorPicker } from '../ColorPicker-g9siUaIe.js';
|
|
10
10
|
export { D as DataTable, u as useColumnOrdering, a as useColumnPinning, b as useColumnVisibility, c as useTablePagination, d as useTableSelection, e as useTableSort } from '../DataTable-C7OVgLaL.js';
|
|
11
|
-
export { D as DatePicker } from '../DatePicker-
|
|
11
|
+
export { D as DatePicker } from '../DatePicker-DUx9Qggg.js';
|
|
12
12
|
export { D as Dialog } from '../Dialog-ZTcfRPwU.js';
|
|
13
13
|
export { E as Empty } from '../Empty-B4iQJlmf.js';
|
|
14
14
|
export { I as Input } from '../Input-Dm5ILPH3.js';
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ export { C as Callout } from './Callout-DJGi3MQR.js';
|
|
|
13
13
|
export { C as Checkbox } from './Checkbox-BalUzegZ.js';
|
|
14
14
|
export { C as ColorPicker } from './ColorPicker-g9siUaIe.js';
|
|
15
15
|
export { D as DataTable, u as useColumnOrdering, a as useColumnPinning, b as useColumnVisibility, c as useTablePagination, d as useTableSelection, e as useTableSort } from './DataTable-C7OVgLaL.js';
|
|
16
|
-
export { D as DatePicker } from './DatePicker-
|
|
16
|
+
export { D as DatePicker } from './DatePicker-DUx9Qggg.js';
|
|
17
17
|
export { D as Dialog } from './Dialog-ZTcfRPwU.js';
|
|
18
18
|
export { D as DirectionProvider } from './DirectionProvider-weqLz_BJ.js';
|
|
19
19
|
export { E as Empty } from './Empty-B4iQJlmf.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import { Calendar as ShadcnCalendar, CalendarDayButton as ShadcnCalendarDayButton } from "src/shadcn/components/calendar";
|
|
3
|
-
declare const Calendar: (props: React.ComponentProps<typeof ShadcnCalendar>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const Calendar: ({ weekStartsOn, ...props }: React.ComponentProps<typeof ShadcnCalendar>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const CalendarDayButton: (props: React.ComponentProps<typeof ShadcnCalendarDayButton>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export { Calendar, CalendarDayButton };
|
|
@@ -8036,7 +8036,7 @@ function Calendar$1({
|
|
|
8036
8036
|
defaultClassNames.today
|
|
8037
8037
|
),
|
|
8038
8038
|
outside: cn(
|
|
8039
|
-
"text-muted-foreground aria-selected:text-muted-foreground",
|
|
8039
|
+
"text-muted-foreground/40 aria-selected:text-muted-foreground/40",
|
|
8040
8040
|
defaultClassNames.outside
|
|
8041
8041
|
),
|
|
8042
8042
|
disabled: cn(
|
|
@@ -8110,7 +8110,10 @@ function CalendarDayButton$1({
|
|
|
8110
8110
|
);
|
|
8111
8111
|
}
|
|
8112
8112
|
|
|
8113
|
-
const Calendar = (
|
|
8113
|
+
const Calendar = ({
|
|
8114
|
+
weekStartsOn = 1,
|
|
8115
|
+
...props
|
|
8116
|
+
}) => /* @__PURE__ */ jsx(Calendar$1, { weekStartsOn, ...props });
|
|
8114
8117
|
const CalendarDayButton = (props) => /* @__PURE__ */ jsx(CalendarDayButton$1, { ...props });
|
|
8115
8118
|
|
|
8116
8119
|
export { Calendar, CalendarDayButton };
|