@os-design/date-picker-utils
Advanced tools
Comparing version 1.0.26 to 1.0.27
@@ -1,7 +0,7 @@ | ||
export { default as defaultLocale } from './utils/defaultLocale'; | ||
export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel'; | ||
export { default as useDatePickerCalendar } from './utils/useDatePickerCalendar'; | ||
export { default as useFormattedValue } from './utils/useFormattedValue'; | ||
export * from './utils/defaultLocale'; | ||
export * from './utils/useDatePickerCalendar'; | ||
export { default as defaultLocale } from './utils/defaultLocale.js'; | ||
export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel.js'; | ||
export { default as useDatePickerCalendar } from './utils/useDatePickerCalendar.js'; | ||
export { default as useFormattedValue } from './utils/useFormattedValue.js'; | ||
export * from './utils/defaultLocale.js'; | ||
export * from './utils/useDatePickerCalendar.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,6 +0,6 @@ | ||
export { default as defaultLocale } from "./utils/defaultLocale.js"; | ||
export { default as getAccessibilityDateLabel } from "./utils/getAccessibilityDateLabel.js"; | ||
export { default as useDatePickerCalendar } from "./utils/useDatePickerCalendar.js"; | ||
export { default as useFormattedValue } from "./utils/useFormattedValue.js"; | ||
export * from "./utils/defaultLocale.js"; | ||
export * from "./utils/useDatePickerCalendar.js"; | ||
export { default as defaultLocale } from './utils/defaultLocale.js'; | ||
export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel.js'; | ||
export { default as useDatePickerCalendar } from './utils/useDatePickerCalendar.js'; | ||
export { default as useFormattedValue } from './utils/useFormattedValue.js'; | ||
export * from './utils/defaultLocale.js'; | ||
export * from './utils/useDatePickerCalendar.js'; |
@@ -1,4 +0,4 @@ | ||
import type { DatePickerLocale } from './defaultLocale'; | ||
import type { DatePickerLocale } from './defaultLocale.js'; | ||
declare const getAccessibilityDateLabel: (value: Date | [Date, Date], locale: DatePickerLocale) => string; | ||
export default getAccessibilityDateLabel; | ||
//# sourceMappingURL=getAccessibilityDateLabel.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import type { SelectedMonth } from './changeMonth'; | ||
import type { SelectedMonth } from './changeMonth.js'; | ||
declare const getNumberOfWeeks: ({ month, year }: SelectedMonth, firstDayOfWeek: "monday" | "saturday" | "sunday") => number; | ||
export default getNumberOfWeeks; | ||
//# sourceMappingURL=getNumberOfWeeks.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import getDiffDayOfWeek from "./getDiffDayOfWeek.js"; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek.js'; | ||
const getNumberOfWeeks = ({ | ||
@@ -3,0 +3,0 @@ month, |
@@ -1,2 +0,2 @@ | ||
import type { SelectedMonth } from './changeMonth'; | ||
import type { SelectedMonth } from './changeMonth.js'; | ||
export interface UseDatePickerCalendarProps { | ||
@@ -3,0 +3,0 @@ value?: Date | [Date, Date] | null; |
import { useCallback, useMemo, useState } from 'react'; | ||
import changeMonth from "./changeMonth.js"; | ||
import getDiffDayOfWeek from "./getDiffDayOfWeek.js"; | ||
import getNumberOfWeeks from "./getNumberOfWeeks.js"; | ||
import isSameDay from "./isSameDay.js"; | ||
import changeMonth from './changeMonth.js'; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek.js'; | ||
import getNumberOfWeeks from './getNumberOfWeeks.js'; | ||
import isSameDay from './isSameDay.js'; | ||
const useDatePickerCalendar = ({ | ||
@@ -7,0 +7,0 @@ value, |
{ | ||
"name": "@os-design/date-picker-utils", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"license": "UNLICENSED", | ||
@@ -35,3 +35,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "53c233a23d50ce2f7d9bc3ae9c96d9142e14b7ac" | ||
"gitHead": "73037c89a49a62e8efd6fc87b80052988b0aa199" | ||
} |
@@ -1,7 +0,7 @@ | ||
export { default as defaultLocale } from './utils/defaultLocale'; | ||
export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel'; | ||
export { default as useDatePickerCalendar } from './utils/useDatePickerCalendar'; | ||
export { default as useFormattedValue } from './utils/useFormattedValue'; | ||
export { default as defaultLocale } from './utils/defaultLocale.js'; | ||
export { default as getAccessibilityDateLabel } from './utils/getAccessibilityDateLabel.js'; | ||
export { default as useDatePickerCalendar } from './utils/useDatePickerCalendar.js'; | ||
export { default as useFormattedValue } from './utils/useFormattedValue.js'; | ||
export * from './utils/defaultLocale'; | ||
export * from './utils/useDatePickerCalendar'; | ||
export * from './utils/defaultLocale.js'; | ||
export * from './utils/useDatePickerCalendar.js'; |
@@ -1,2 +0,2 @@ | ||
import type { DatePickerLocale } from './defaultLocale'; | ||
import type { DatePickerLocale } from './defaultLocale.js'; | ||
@@ -3,0 +3,0 @@ const getAccessibilityDateLabel = ( |
@@ -1,3 +0,3 @@ | ||
import type { SelectedMonth } from './changeMonth'; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek'; | ||
import type { SelectedMonth } from './changeMonth.js'; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek.js'; | ||
@@ -4,0 +4,0 @@ const getNumberOfWeeks = ( |
import { useCallback, useMemo, useState } from 'react'; | ||
import changeMonth from './changeMonth'; | ||
import type { SelectedMonth } from './changeMonth'; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek'; | ||
import getNumberOfWeeks from './getNumberOfWeeks'; | ||
import isSameDay from './isSameDay'; | ||
import changeMonth from './changeMonth.js'; | ||
import type { SelectedMonth } from './changeMonth.js'; | ||
import getDiffDayOfWeek from './getDiffDayOfWeek.js'; | ||
import getNumberOfWeeks from './getNumberOfWeeks.js'; | ||
import isSameDay from './isSameDay.js'; | ||
@@ -8,0 +8,0 @@ export interface UseDatePickerCalendarProps { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21467